| {{ \Carbon\Carbon::parse($accountingVoucher->voucher_date)->format('d-m-Y') }} |
{{ $accountingVoucher->voucherType->name }} |
{{ $accountingVoucher->voucher_number }} |
{{ $accountingVoucher->creditLedger->name }} |
{{ $accountingVoucher->creditLedger->ledger_code }} |
{{ $accountingVoucher->amount }} |
Cr |
{{ $accountingVoucher->debitLedger->name }} |
Dr |
@foreach ($accountingVoucher->items as $key => $item)
@if ($key == 0)
{{ $item->stockItem->name }} |
{{ $item->stockItem->item_code }} |
{{ $accountingVoucher->stockLocation?->name }} |
{{ $item->stockItem->hsn_code ?? '' }} |
{{ $item->gst_per }} |
{{ $item->quantity }} |
{{ $item->price }} |
{{ $item->unit->symbol }} |
{{ $item->disc_percentage }} |
{{ $item->taxable_value }} |
@endif
@endforeach
CGST |
{{ $accountingVoucher->items->sum('cgst') }} |
Dr |
SGST |
{{ $accountingVoucher->items->sum('sgst') }} |
Dr |
CESS |
{{ $accountingVoucher->items->sum('cess') }} |
Dr |
IGST |
{{ $accountingVoucher->items->sum('igst') }} |
Dr |
Discount |
{{ $accountingVoucher->discount ?? 0 }} |
Cr |
ROUND OFF |
{{ $accountingVoucher->round_off >= 0 ? $accountingVoucher->round_off : -1 * $accountingVoucher->round_off }}
|
{{ $accountingVoucher->round_off >= 0 ? 'Dr' : 'Cr' }} |
FREIGHT ETC |
{{ $accountingVoucher->freight }} |
Dr |
TCS |
{{ $accountingVoucher->tcs }} |
Dr |
Item invoice |
{{ $accountingVoucher->status == 0 ? 'Yes' : 'No' }} |
{{ $accountingVoucher->creditLedger->gst != 0 && $accountingVoucher->creditLedger->gst != null ? 'Regular' : 'Unregistered/Consumer' }}
|
{{ $accountingVoucher->creditLedger->state ?? 'Kerala' }} |
{{ $accountingVoucher->creditLedger->country ?? 'India' }} |
Kerala |
{{ $accountingVoucher->creditLedger->gst }} |
{{ $accountingVoucher->creditLedger->pincode }} |
{{ $accountingVoucher->creditLedger->address }} |
{{ $accountingVoucher->remarks }} |
{{ $accountingVoucher->supplier_invoice_no }} |
{{ $accountingVoucher->supplier_invoice_date != null ? \Carbon\Carbon::parse($accountingVoucher->supplier_invoice_date)->format('d-m-Y') : '' }}
|
@foreach ($accountingVoucher->items as $key => $item)
@if ($key != 0)