{{ $Namear ?? '' }}
{{ $describtionar ?? '' }}
{{ $STar ?? '' }}
{{ $Taxar ?? '' }}
{{ $Nameen ?? '' }}
{{ $describtionen ?? '' }}
{{ $STen ?? '' }}
{{ $Taxen ?? '' }}
المبيعات Sales
| {{ __('report.fromdate') }}: | {{ $start[0] ?? '' }} | {{ __('report.todate') }}: | {{ $end[0] ?? '' }} |
|---|
@php
$totalPriceAll = 0;
$totalAddedValueAll = 0;
$totalDiscountAll = 0;
$totalPriceAfterDiscountAll = 0;
$avt = App\Models\Avt::find(1);
$taxRate = $avt ? $avt->AVT : 0.15;
@endphp
| {{ __('home.Invoice_no') }} | {{ __('home.date') }} | {{ __('home.clietName') }} | {{ __('home.paymentmethod') }} | {{ __('home.total') }} | {{ __('home.discount') }} | {{ __('home.totalafterdiscount') }} | {{ __('home.avt') }} | {{ __('home.totalwithTax') }} |
|---|---|---|---|---|---|---|---|---|
| {{ $product->id }} | {{ $product->created_at }} | {{ $product->customer->name ?? 'N/A' }} | {{ $paymentMethod }} | {{ number_format($priceBeforeTax + $invoiceDiscount, 2) }} | {{ number_format($invoiceDiscount, 2) }} | {{ number_format($priceBeforeTax, 2) }} | {{ number_format($taxAmount, 2) }} | {{ number_format($currentInvoicePrice, 2) }} |
| {{ __('home.total') }} | {{ number_format($totalPriceAfterDiscountAll + $totalDiscountAll, 2) }} | {{ number_format($totalDiscountAll, 2) }} | {{ number_format($totalPriceAfterDiscountAll, 2) }} | {{ number_format($totalAddedValueAll, 2) }} | {{ number_format($totalPriceAll, 2) }} | |||