@foreach($accountingVouchers as $accountingVoucher)

DELIVERY SLIP

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












- @if($accountingVouchers->last() != $accountingVoucher)
@endif @endforeach
@foreach($orders as $order)

DELIVERY SLIP

{{ $order->debitLedger ? $order->debitLedger->name : '' }}
@foreach($order->items as $item) @endforeach
{{ $order->order_date }} {{ $order->order_code }}
Sl Item QTY Total
{{ $loop->iteration }} {{ $item->stockItem->name }} {{ $item->quantity }} {{ number_format($item->total, 2) }}
Order Total: {{ number_format($order->amount, 2) }}












- @if($orders->last() != $order)
@endif @endforeach