@extends('layouts.app') @section('title', 'دفعة جديدة - '.config('app.name')) @section('breadcrumb') الرئيسية المبيعات المدفوعات دفعة جديدة @endsection @section('content') @php $salesPaymentCustomerOptions = $customers->map(fn ($c) => [ 'value' => $c->id, 'label' => trim((string) ($c->name ?? '').' ('.(string) ($c->code ?? $c->id).')'), ])->all(); @endphp
@if(session('error'))
{{ session('error') }}
@endif

دفعة جديدة

الرجوع للمدفوعات
@csrf

بيانات الدفعة

@error('customer_id')

{{ $message }}

@enderror
@error('date')

{{ $message }}

@enderror
@error('payment_method')

{{ $message }}

@enderror
@error('amount')

{{ $message }}

@enderror
{{-- رصيد العميل المستحق (يُجلب عند اختيار العميل) --}} {{-- تخصيص الدفعة على الفواتير --}}
إلغاء
@endsection