@foreach ($accountingVouchers as $accountingVoucher)
|
@php
$separate_print = $company->separate_print_for_branch;
if ($separate_print == 1) {
$branch = $accountingVoucher->branch;
} else {
$branch = null;
}
@endphp
Seller Details
@if ($branch == null || $branch->name == 'Main Branch')
Seller Name : {{ $company->name }}
Address : {{ $company->address }}
Mobile No : {{ $company->phone }}
GST No : {{ $company->gst }}
@else
Seller Name : {{ $branch->name }}
Address : {{ $branch->address }}
Mobile No : {{ $branch->mobile }}
{{-- GST No : {{ $company->gst }} --}}
@endif
|
Buyer Details
Party Name : @if($accountingVoucher->customer != null) {{ $accountingVoucher->customer->name }} @else {{ $accountingVoucher->creditLedger->name }} @endif
Mobile No : @if($accountingVoucher->customer != null) {{ $accountingVoucher->customer->mobile }} @else {{ $accountingVoucher->creditLedger->mobile_no }} @endif
Address : {{ $accountingVoucher->creditLedger->address }}
GST No : {{ $accountingVoucher->creditLedger->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 |
CGST | SGST | IGST | CESS | Total |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ $key + 1 }} | {{ $item->stockItem->name }}@if($item->variant_id != null) ({{ $item->variant->name }}) @endif |
{{ $item->stockItem->hsn_code }} | {{ $item->stockItem->mrp }} | {{ $item->quantity }} | {{ $item->unit->symbol }} | {{ $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->items->sum('taxable_value'), 2) }} | {{ number_format($accountingVoucher->items->sum('cgst'), 2) }} | {{ number_format($accountingVoucher->items->sum('sgst'), 2) }} | {{ number_format($accountingVoucher->items->sum('igst'), 2) }} | {{ number_format($accountingVoucher->items->sum('cess'), 2) }} | {{ number_format($accountingVoucher->items->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) }}
Total CGST : Rs.{{ number_format($accountingVoucher->items->sum('cgst'), 2) }}
Total SGST : Rs.{{ number_format($accountingVoucher->items->sum('sgst'), 2) }}
Discount : Rs.{{ $accountingVoucher->discount ?? '0.00' }}
Freight/Etc : Rs.{{ $accountingVoucher->freight }}
Round Off : Rs.{{ $accountingVoucher->round_off }}
Grand Total : Rs.{{ $accountingVoucher->amount }}
|
Authorized Signature
|