@foreach ($accountingVouchers as $accountingVoucher)
|
|
@endif
@php
$separate_print = $company->separate_print_for_branch;
if (
$separate_print == 1 &&
$accountingVoucher->branch != null &&
$accountingVoucher->branch->name != 'Main Branch'
) {
$branch = $accountingVoucher->branch;
} else {
$branch = null;
}
@endphp
{{ $branch != null ? $branch->name : $company->name }}{{ $branch != null ? $branch->address : $company->address }} GSTIN:{{ $branch != null ? $branch->gst_no : $company->gst }} State Name:{{ $company->state }},Code:{{ $company->state_code }} Contact No:{{ $branch != null ? $branch->mobile : $company->phone }} Email:{{ $company->email }} @if ($accountingVoucher->einvoice) IRN:{{ $accountingVoucher->einvoice->irn }} @endif |
|
| Details Of Receiver(Billed To) | Details Of Consignee(Shipped To) | Invoice No : {{ $accountingVoucher->voucher_number }} |
|
{{ $accountingVoucher->customer != null ? $accountingVoucher->customer->name : $accountingVoucher->debitLedger->name }} {{ $accountingVoucher->customer != null ? $accountingVoucher->customer->address : $accountingVoucher->debitLedger->address }} GSTIN:{{ $accountingVoucher->customer != null ? '' : $accountingVoucher->debitLedger->gst }} State:{{ $accountingVoucher->customer != null ? '' : $accountingVoucher->debitLedger->state }} Code:{{ $accountingVoucher->customer != null ? '' : $accountingVoucher->debitLedger->state_code }} |
{{ $accountingVoucher->customer != null ? $accountingVoucher->customer->name : $accountingVoucher->debitLedger->name }} {{ $accountingVoucher->ship_to_address }} Phone : {{ $accountingVoucher->customer ? $accountingVoucher->customer->mobile : $accountingVoucher->debitLedger->mobile_no }} |
Invoice Date : {{ $accountingVoucher->voucher_date }} Remarks : {{ $accountingVoucher->remarks }}Transport Mode : {{ $accountingVoucher->mode_of_transportation }} Vehicle No : {{ $accountingVoucher->vehicle_no }} Date of Supply : {{ $accountingVoucher->date_of_supply }} |
| items()->sum('cgst') > 0) rowspan="2" @endif>Sl No |
items()->sum('cgst') > 0) rowspan="2" @endif style="text-align: left;width:30% !important">Description Of Goods | items()->sum('cgst') > 0) rowspan="2" @endif>HSN/SAC | items()->sum('cgst') > 0) rowspan="2" @endif>Quantity | items()->sum('cgst') > 0) rowspan="2" @endif>Rate | items()->sum('cgst') > 0) rowspan="2" @endif>Per | items()->sum('cgst') > 0) rowspan="2" @endif>Gross Value |
items()->sum('cgst') > 0) rowspan="2" @endif>Dis(%) | items()->sum('cgst') > 0) rowspan="2" @endif>Taxable Value |
@if ($accountingVoucher->items()->sum('cgst') > 0)
CGST | SGST/UTGST | @elseGST(%) | IGST | @endifitems()->sum('cgst') > 0) rowspan="2" @endif>Total Amount | ||
| Rate | Amount | Rate | Amount | ||||||||||||
| {{ $loop->iteration }} | {{ $item->stockItem->name }}@if($item->remarks != null)({{ $item->remarks }}) @endif | {{ $item->stockItem->hsn_code }} | {{ $item->quantity }} | {{ number_format($item->price, 3) }} | {{ $item->unit->symbol }} | {{ number_format($item->gross_value, 3) }} | {{ number_format($item->disc_percentage, 2) }} | {{ number_format($item->taxable_value, 3) }} | @if ($accountingVoucher->items()->sum('cgst') > 0){{ $item->gst_per / 2 }}% | {{ $item->cgst }} | {{ $item->gst_per / 2 }}% | {{ number_format($item->sgst, 3) }} | @else{{ $item->gst_per }}% | {{ number_format($item->igst, 3) }} | @endif{{ number_format($item->total, 3) }} |
|
{{ $accountingVoucher->items()->sum('taxable_value') }} |
@if ($accountingVoucher->items()->sum('cgst') > 0)
@else | @endif | |||||||||||||
| CGST | {{ number_format($accountingVoucher->items()->sum('cgst'), 3) }} | @if ($accountingVoucher->items()->sum('cgst') > 0)@else | @endif | ||||||||||||
| SGST | {{ number_format($accountingVoucher->items()->sum('sgst'), 3) }} | @if ($accountingVoucher->items()->sum('cgst') > 0)@else | @endif | ||||||||||||
| IGST | {{ number_format($accountingVoucher->items()->sum('igst'), 3) }} | @if ($accountingVoucher->items()->sum('cgst') > 0)@else | @endif | ||||||||||||
| ROUND OFF | {{ number_format($accountingVoucher->round_off, 3) }} | @if ($accountingVoucher->items()->sum('cgst') > 0)@else | @endif | ||||||||||||
| Discount | {{ number_format($accountingVoucher->discount, 3) }} | @if ($accountingVoucher->items()->sum('cgst') > 0)@else | @endif | ||||||||||||
| FREIGHT ETC | {{ number_format($accountingVoucher->freight, 3) }} | @if ($accountingVoucher->items()->sum('cgst') > 0)@else | @endif | TOTAL | {{ $accountingVoucher->items()->sum('quantity') }} | {{ number_format($accountingVoucher->items()->sum('gross_value'), 3) }} | ₹{{ number_format($accountingVoucher->amount, 3) }} | @if ($accountingVoucher->items()->sum('cgst') > 0){{ number_format($accountingVoucher->items()->sum('cgst'), 3) }} | {{ number_format($accountingVoucher->items()->sum('sgst'), 3) }} | @else{{ number_format($accountingVoucher->items()->sum('igst'), 3) }} | @endif|||||
| items()->sum('cgst') > 0) colspan="14" @else colspan="12" @endif style="padding-left:10px;"> @php $words = new \NumberFormatter('en', \NumberFormatter::SPELLOUT); $words = $words->format($accountingVoucher->amount); @endphp Amount Chargeable (in words) INR {{ $words }} | |||||||||||||||
|
@if ($company->bankLedger != null)
Bank Name : {{ $company->bankLedger->name }} Branch : {{ $company->bankLedger->branch }} Acc No : {{ $company->bankLedger->account_number }} IFSC : {{ $company->bankLedger->ifsc_code }} @endif |
items()->sum('cgst') > 0) colspan="11" @else colspan="9" @endif align="right"
style="padding-right:10px !important;border-left:none;">
For {{ $company->name }}
Authorized Signatory |
||||||||||||||