| {{ \Carbon\Carbon::parse($accountingVoucher->voucher_date)->format('d-m-Y') }} |
{{ $accountingVoucher->voucherType->name }} |
{{ $accountingVoucher->voucher_number }} |
{{ $accountingVoucher->debitLedger->name }} |
{{ $accountingVoucher->debitLedger->ledger_code }} |
{{ $accountingVoucher->amount }} |
Dr |
{{ $accountingVoucher->creditLedger->name }} |
Cr |
@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') }} |
Cr |
SGST |
{{ $accountingVoucher->items->sum('sgst') }} |
Cr |
CESS |
{{ $accountingVoucher->items->sum('cess') }} |
Cr |
IGST |
{{ $accountingVoucher->items->sum('igst') }} |
Cr |
Discount |
{{ $accountingVoucher->discount ?? 0 }} |
Dr |
ROUND OFF |
{{ $accountingVoucher->round_off >= 0 ? $accountingVoucher->round_off : -1 * $accountingVoucher->round_off }}
|
{{ $accountingVoucher->round_off >= 0 ? 'Cr' : 'Dr' }} |
FREIGHT ETC |
{{ $accountingVoucher->freight }} |
Cr |
Item invoice |
{{ $accountingVoucher->status == 0 ? 'Yes' : 'No' }} |
{{ $accountingVoucher->debitLedger->gst != 0 && $accountingVoucher->debitLedger->gst != null ? 'Regular' : 'Unregistered/Consumer' }}
|
{{ $accountingVoucher->debitLedger->state ?? 'Kerala' }} |
{{ $accountingVoucher->debitLedger->state?->country ?? 'India' }} |
Kerala |
{{ $accountingVoucher->debitLedger->gst }} |
{{ $accountingVoucher->debitLedger->pincode }} |
{{ $accountingVoucher->debitLedger->address }} |
{{ $accountingVoucher->remarks }} |
|
|
@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
@endforeach