ثبت فروش جدید

@if (session('status'))
{{ session('status') }}
@endif @if ($errors->any())
@endif
@csrf
@error('customer_name') {{ $message }} @enderror
@error('amount') {{ $message }} @enderror
@error('invoice_file') {{ $message }} @enderror
@error('payment_receipt_file') {{ $message }} @enderror

اختصاص مبلغ به خریدها

@if(old('allocations')) @foreach(old('allocations') as $index => $allocation)
@error("allocations.$index.purchase_id") {{ $message }} @enderror
@error("allocations.$index.allocated_amount") {{ $message }} @enderror
@endforeach @else
@endif