@if ($records->isNotEmpty())
@endif
@if ($records->isEmpty())
No records found. Please search by Order Code.
@else
Payment Slip
Cashier ID: {{ $records->first()->CashierID ?? 'N/A' }}
Date: {{ $records->first()->Date ?? 'N/A' }}
{{ $records->first()->order_code ?? 'N/A' }}
Paid by: {{ $records->first()->payment_method ?? 'N/A' }}
| Name |
Qty |
Price |
Size |
Discount |
Amount |
@foreach ($records as $item)
| {{ $item->ProductName }} |
{{ $item->quantity }} |
{{ $item->price }} |
{{ strtoupper(substr($item->size, 0, 1)) }} |
{{ $item->discount_percentage ?? 0 }}% |
{{ number_format($item->total_price, 2, '.', ',') }} |
@endforeach
| Sub Total |
{{ number_format($subTotalAmt, 2, '.', ',') }} |
{{--
| Discount |
{{ $records->first()->discount }} |
--}}
| Tax |
{{ $taxAmount }} |
| Deli Fees: |
{{ number_format($delivery_fee, 2, '.', ',') }} |
| Net Amount |
{{ $records->first()->paid_amount - $records->first()->change_amount }} |
| Paid Amount |
{{ $records->first()->paid_amount }} |
| Change |
{{ $records->first()->change_amount }} |
Thank You
@endif