@foreach ($accountingVouchers as $accountingVoucher) @php $isIgst = App\Models\AccountingVoucherItem::where([ 'business_key' => Auth::user()->business_key, 'accounting_voucher_id' => $accountingVoucher->id, ])->sum('igst') > 0 ? true : false; @endphp
|
Buyer Details
Buyer Name : {{ $company->name }}
Mobile No : {{ $company->phone }}
Address : {{ $company->address }}
GST No : {{ $company->gst }}
|
Seller Details
Party Name : {{ $accountingVoucher->debitLedger->name }}
Mobile No : {{ $accountingVoucher->debitLedger->mobile_no }}
Address : {{ $accountingVoucher->debitLedger->address }}
GST No : {{ $accountingVoucher->debitLedger->gst }}
|
Voucher Details
Date : {{ \Carbon\Carbon::parse($accountingVoucher->voucher_date)->format('d M Y') }}
Voucher No : {{ $accountingVoucher->voucher_number }}
|
| SN | Item | HSN | MRP | Qty | Unit | Price | Gross Value |
Dis (%) |
Taxable Value |
@if (!$isIgst)
CGST | SGST | @elseIGST | @endifCESS | Total |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ $key + 1 }} | {{ $item->stockItem->name }}@if ($item->variant_id != null)
({{ $item->variant->name }}) @endif |
{{ $item->stockItem->hsn_code }} | {{ number_format($item->stockItem->getMrp($accountingVoucher->voucher_date), 2) }} | {{ $item->quantity }} | {{ $item->unit->symbol }} | {{ number_format($item->price, 2) }} | {{ number_format($item->gross_value, 2) }} | {{ $item->disc_percentage }} | {{ number_format($item->taxable_value, 2) }} | @if (!$isIgst){{ number_format($item->cgst, 2) }} | {{ number_format($item->sgst, 2) }} | @else{{ number_format($item->igst, 2) }} | @endif{{ number_format($item->cess, 2) }} | {{ number_format($item->total, 2) }} |
| Total | {{ number_format($accountingVoucher->items->sum('taxable_value'), 2) }} | @if (!$isIgst){{ number_format($accountingVoucher->items->sum('cgst'), 2) }} | {{ number_format($accountingVoucher->items->sum('sgst'), 2) }} | @else{{ number_format($accountingVoucher->items->sum('igst'), 2) }} | @endif{{ number_format($accountingVoucher->items->sum('cess'), 2) }} | {{ number_format($accountingVoucher->items->sum('total'), 2) }} |
| SN | Ledger | Qty | Price | Gross Value |
Dis (%) |
Taxable Value |
CGST | SGST | IGST | CESS | Total |
|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ $key + 1 }} | {{ $item->ledger->name }} | {{ $item->quantity }} | {{ $item->price }} | {{ $item->gross_value }} | {{ $item->disc_percentage }} | {{ $item->taxable_value }} | {{ $item->cgst }} | {{ $item->sgst }} | {{ $item->igst }} | {{ $item->cess }} | {{ $item->total }} |
| Total | {{ number_format($accountingVoucher->capitalGoods->sum('taxable_value'), 2) }} | {{ number_format($accountingVoucher->capitalGoods->sum('cgst'), 2) }} | {{ number_format($accountingVoucher->capitalGoods->sum('sgst'), 2) }} | {{ number_format($accountingVoucher->capitalGoods->sum('igst'), 2) }} | {{ number_format($accountingVoucher->capitalGoods->sum('cess'), 2) }} | {{ number_format($accountingVoucher->capitalGoods->sum('total'), 2) }} |
|
Bank Name : {{ $company->bankLedger->name }}
Account No : {{ $company->bankLedger->account_number }}
IFSC Code : {{ $company->bankLedger->ifsc_code }}
Branch : {{ $company->bankLedger->branch }}
|
@endif
Total Taxable Value :
Rs.{{ number_format($accountingVoucher->items->sum('taxable_value'), 2) }}
@if (!$isIgst)
Total CGST : Rs.{{ number_format($accountingVoucher->items->sum('cgst'), 2) }}
Total SGST : Rs.{{ number_format($accountingVoucher->items->sum('sgst'), 2) }}
@else
Total IGST : Rs.{{ number_format($accountingVoucher->items->sum('igst'), 2) }}
@endif
TCS : Rs.{{ $accountingVoucher->tcs ?? '0.00' }}
Discount : Rs.{{ $accountingVoucher->discount ?? '0.00' }}
Round Off : Rs.{{ $accountingVoucher->round_off }}
Grand Total : Rs.{{ $accountingVoucher->amount }}
|
Authorized Signature
|