@if (isset($data) && !empty($data) && count($data) > 0)
| {{ __('home.Invoice_no') }} | {{ __('home.sallerName') }} | {{ __('home.clietName') }} | نوع البرنامج | تاريخ البدء | تاريخ الانتهاء | حالة الدفع | {{ __('home.total') }} | {{ __('home.paymentmethod') }} | {{ __('home.operations') }} |
|---|---|---|---|---|---|---|---|---|---|
| #{{ $product->id }} | {{-- البائع / المستخدم --}}{{ $product->user->name ?? '---' }} | {{-- اسم العميل --}}{{ $product->customer->name ?? '---' }} | {{-- نوع البرنامج --}}@if(($saleDetail->software_type ?? 'cloud') == 'cloud') سحابي @else محلي @endif | {{-- تاريخ البدء --}}{{ $saleDetail->subscription_start_date ?? '---' }} | {{-- تاريخ الانتهاء --}}@if($saleDetail) @if(($saleDetail->software_type ?? 'cloud') == 'local') مدى الحياة @else @if($saleDetail->subscription_end_date) @if(\Carbon\Carbon::parse($saleDetail->subscription_end_date)->isPast()) {{ $saleDetail->subscription_end_date }} (منتهي) @else {{ $saleDetail->subscription_end_date }} (نشط) @endif @else --- @endif @endif @else --- @endif | {{-- حالة الدفع وتاريخ السداد --}}
{{ $product->payment_status == 1 ? 'تم الدفع' : 'لم يتم الدفع' }}
{{ $product->payment_date ? \Carbon\Carbon::parse($product->payment_date)->format('Y-m-d') : '' }}
|
{{-- الإجمالي --}}
@if($product->Price == 0) {{ __('home.return') }} @else {{ number_format($totalWithTax, 2) }} ريال @endif | {{-- طريقة الدفع --}}
{{ $payText }}
@if($product->Pay == "Partition")
@if(!empty($product->cashamount) && $product->cashamount > 0)
نقدي: {{ number_format($product->cashamount, 2) }}
@endif
@if(!empty($product->bankamount) && $product->bankamount > 0)
شبكة: {{ number_format($product->bankamount, 2) }}
@endif
@if(!empty($product->Bank_transfer) && $product->Bank_transfer > 0)
تحويل: {{ number_format($product->Bank_transfer, 2) }}
@endif
@endif
|
{{-- العمليات والأزرار --}}
{{ __('home.notfounddata') }}