@php $s = $sale ?? null; $isEdit = (bool) ($isEdit ?? false); $input = 'w-full h-11 px-3 rounded-xl border border-slate-300 dark:border-slate-700 bg-slate-50 dark:bg-slate-800 text-sm outline-none focus:ring-2 ring-brand-500 focus:bg-white dark:focus:bg-slate-900'; $label = 'block text-sm font-semibold mb-2'; // Customer na thakle (walk-in) er likha info $walk = $isEdit && ! $s->customer_id; $vName = old('customer_name', $walk && $s->customer_name !== 'Walk-in Customer' ? $s->customer_name : null); $vPhone = old('customer_phone', $walk ? $s->customer_phone : null); @endphp {{-- Breadcrumb --}}
{{-- Errors --}} @if ($errors->any())Save korle product Products e save hobe ar ei sale e boshe jabe.
Shelf e ja ache seta likho. Ei sale er quantity er cheye kom hole becha jabe na.