@foreach ($accountingVouchers as $accountingVoucher) @foreach ($accountingVoucher->items as $item) @if ($item->igst == null || $item->igst == 0) @else @endif @endforeach @endforeach
Voucher Number Voucher Date Voucher Type Customer Name City State GSTIN Item Name GST Rate Qty Rate Sales Amount SGST Ledger SGST AMT CGST Ledger CGST AMT IGST Ledger IGST AMT Led 1 Amount Led 2 Amount Led 3 Amount Total Amount Unit hsn code Cess Registered SALES MAN
{{ $item->accountingVoucher->voucher_number }} {{ date('d-m-Y', strtotime($item->accountingVoucher->voucher_date)) }} {{ $item->accountingVoucher->voucherType->name }} {{ $item->accountingVoucher->debitLedger->name }} {{ $item->accountingVoucher->debitLedger->address }} {{ $item->accountingVoucher->debitLedger->state }} {{ $item->accountingVoucher->debitLedger->gst }} {{ $item->stockItem->name }} {{ $item->gst_per }} {{ $item->quantity }} {{ number_format($item->price, 2) }} SALES {{ $item->gst_per }}% {{ number_format($item->taxable_value, 2) }}OUTPUT SGST {{ $item->gst_per / 2 }}% {{ number_format($item->sgst, 2) }} OUTPUT CGST {{ $item->gst_per / 2 }}% {{ number_format($item->cgst, 2) }} 0 {{ number_format($item->igst, 2) }} {{ number_format($item->total, 2) }} {{ $item->unit->name }} {{ $item->stockItem->hsn_code }} {{ $item->cess != 0 ? $item->cess : '' }} @if ($item->accountingVoucher->debitLedger->gst != null) Regular @else Unregistered @endif {{ $item->accountingVoucher->user->name ?? '--' }}