@if (isset($data) && !empty($data) && count($data) > 0)
@foreach ($data as $invoice) {{-- رقم المستند --}} {{-- وقت الإنشاء وتاريخ التصدير --}} {{-- الموظف والحساب --}} {{-- المبلغ --}} {{-- طريقة الدفع --}} {{-- العمليات --}} @endforeach
{{ __('home.decoumentNo') }} {{ __('home.exportTime') }} {{ __('report.date') }} {{ __('home.employee') }} {{ __('home.acount_name') }} {{ __('accountes.Theamountpaid') }} {{ __('home.paymentmethod') }} {{ __('home.operations') }}
{{ $invoice->sent_serf_count }}{{ $invoice->created_at->format('Y-m-d H:i') }} {{ $invoice->date_export }}{{ $invoice->user->name ?? '---' }} {{ $invoice->financial_accounts_data->name ?? '---' }}{{ number_format($invoice->recive_amount, 2) }} @if ($invoice->Pay_Method_Name == 'Cash') {{ __('report.cash') }} @elseif ($invoice->Pay_Method_Name == 'Bank_transfer') {{ __('home.Bank_transfer') }} @else {{ __('report.shabka') }} @endif
{{-- زر التعديل (تم ربط data attributes بالموديل بدقة) --}} {{-- زر الحذف --}} {{-- زر الطباعة --}}
@csrf
{{-- المرفقات --}} @if($invoice->attachments) @endif
{{-- الترقيم --}} @else
{{ __('home.notfounddata') }}
@endif