{{ $company->name }}

{{ $company->address }}
GST No: {{ $company->gst }}
{{ $ledger->name }}
{{ $ledger->address }}
GST No: {{ $ledger->gst }}
IN No: {{ $accountingVoucher->voucher_number }}
Date: {{ Carbon\Carbon::parse($accountingVoucher->voucher_date)->format('d-m-Y') }}

Item Details

@foreach ($accountingVoucher->items as $accountingVoucherItem) @endforeach
Item GST% QTY Price Dis% Total
{{ $accountingVoucherItem->stockItem->name }} {{ $accountingVoucherItem->stockItem->gst }} {{ $accountingVoucherItem->quantity }} {{ $accountingVoucherItem->price_inc_tax }} {{ $accountingVoucherItem->disc_amount }} {{ $accountingVoucherItem->taxable_value }}

Total Taxable Value: {{ $accountingVoucher->items->sum('taxable_value') }}
Total CGST: {{ $accountingVoucher->items->sum('cgst') }}
Total SGST: {{ $accountingVoucher->items->sum('sgst') }}
Total CESS: {{ $accountingVoucher->items->sum('cess') }}
Discount: {{ $accountingVoucher->discount }}
Round Off: {{ $accountingVoucher->round_off }}
Grand Total: {{ $accountingVoucher->amount }}