@foreach($accountingVouchers as $accountingVoucher)
DELIVERY SLIP
{{ $accountingVoucher->debitLedger ? $accountingVoucher->debitLedger->name : '' }}
| {{ $accountingVoucher->voucher_date }} |
{{ $accountingVoucher->voucher_number }} |
| Sl |
Item |
QTY |
Total |
@foreach($accountingVoucher->items as $item)
| {{ $loop->iteration }} |
{{ $item->stockItem->name }} |
{{ $item->quantity }} |
{{ number_format($item->total, 2) }} |
@endforeach
| Bill Total: |
{{ number_format($accountingVoucher->amount, 2) }} |
@if(Auth::user()->printSettings->extra_space_in_delivery_slip == 0)
| Old Balance: |
{{ $accountingVoucher->previousBalance }} {{ $accountingVoucher->previousBalanceDrCr }} |
| Closing Balance: |
{{ $accountingVoucher->closing_balance }} {{ $accountingVoucher->closing_balance_dr_cr }} |
@endif
-
@if($accountingVouchers->last() != $accountingVoucher)
@endif
@endforeach
@foreach($orders as $order)
DELIVERY SLIP
{{ $order->debitLedger ? $order->debitLedger->name : '' }}
| {{ $order->order_date }} |
{{ $order->order_code }} |
| Sl |
Item |
QTY |
Total |
@foreach($order->items as $item)
| {{ $loop->iteration }} |
{{ $item->stockItem->name }} |
{{ $item->quantity }} |
{{ number_format($item->total, 2) }} |
@endforeach
| Order Total: |
{{ number_format($order->amount, 2) }} |
-
@if($orders->last() != $order)
@endif
@endforeach