{{ $company->name }}
No:{{ $accountingVoucher->voucher_number }}
Invoice Date:{{ \Carbon\Carbon::parse($accountingVoucher->voucher_date)->format('d-M-Y') }}
Staff:{{ $accountingVoucher->user?->name ?: '' }}
{{$accountingVoucher->debitLedger->name}}
Address{{ $accountingVoucher->debitLedger->address }}
Mobile:{{ $accountingVoucher->debitLedger->mobile_no }}
| Item | qty | price | total | |||
|---|---|---|---|---|---|---|
| {{ $accountingVoucherItem->stockItem->name }} | {{ $accountingVoucherItem->quantity }} | {{ (round($accountingVoucherItem->price_inc_tax) - $accountingVoucherItem->price_inc_tax) > 0 ? number_format( $accountingVoucherItem->price_inc_tax,2) : round($accountingVoucherItem->price_inc_tax) }} | {{ (round($accountingVoucherItem->total) - $accountingVoucherItem->total) > 0 ? round( $accountingVoucherItem->total):round($accountingVoucherItem->total)}} | |||
| Total | {{ round($accountingVoucher->items()->sum('total'))}} | |||||
| Freight | {{ $accountingVoucher->freight}} | |||||
| @if($accountingVoucher->previousBalanceDrCr == 'Dr') Old Balance: @else Advance: @endif{{ $accountingVoucher->previousBalance }} {{ $accountingVoucher->previousBalanceDrCr }} | @if( $accountingVoucher->discount != 0)Discount | {{ round($accountingVoucher->discount)}} | @else@endif | |||
| Net Amount:{{ $nettotal}} | Grand Total | {{(round($accountingVoucher->amount) - $accountingVoucher->amount ) > 0 ? number_format( $accountingVoucher->amount,2) : round($accountingVoucher->amount) }} | ||||