@foreach ($accountingVouchers as $accountingVoucher)
{{ $company->name }}{{ $company->address }}Email: {{ $company->email }} Phone: {{ $company->phone }} GSTIN: {{ $company->gst }},State : {{ $company->state }}- Code: {{ $company->state_code }} |
|
@if ($accountingVoucher->einvoice)
@php
$qrCodeData = $accountingVoucher->einvoice->signed_QRCode;
$qrImage = QrCode::format('svg')->size(150)->generate($qrCodeData);
$qrImageBase64 = base64_encode($qrImage);
@endphp
|
Tax Invoice |
|||
Name |
: {{ $accountingVoucher->debitLedger->legal_name != null ? $accountingVoucher->debitLedger->legal_name : $accountingVoucher->debitLedger->name }} |
INV No |
: {{ $accountingVoucher->voucher_number }} |
| Address | : {{ $accountingVoucher->debitLedger->address }} | Date | : {{ $accountingVoucher->voucher_date }} |
| Phone No | : {{ $accountingVoucher->debitLedger->mobile_no }} | SMAN | : {{ $accountingVoucher->user ? $accountingVoucher->user->name : '' }} |
GSTIN |
: {{ $accountingVoucher->debitLedger->gst }} , {{ $accountingVoucher->debitLedger->state }} - {{ $accountingVoucher->debitLedger->state_code }} |
Area | : {{ $accountingVoucher->branch->name }} |
| NO | DESCRIPTION | HSN | UNIT | RATE | QTY | G.VALUE | @if ($accountingVoucher->items->sum('disc_amount') > 0)DIS % |
@endif
GST % |
TAXAMT | NETVAL |
|---|---|---|---|---|---|---|---|---|---|---|
| {{ $loop->iteration }} | {{ $item->stockItem->name }} | {{ $item->stockItem->hsn_code }} | {{ $item->unit->symbol }} | {{ number_format($item->price, 2) }} | {{ $item->quantity }} | {{ number_format($item->gross_value, 2) }} | @if ($accountingVoucher->items->sum('disc_amount') > 0){{ $item->disc_percentage }} | @endif{{ $item->gst_per }} | {{ number_format($item->cgst + $item->sgst + +$item->igst + $item->cess, 2) }} | {{ number_format($item->total, 2) }} |
| @if ($accountingVoucher->items->sum('disc_amount') > 0) | @endif | |||||||||
Total |
{{ $accountingVoucher->items->sum('quantity') }} | {{ number_format($accountingVoucher->items->sum('gross_value'), 2) }} | @if ($accountingVoucher->items->sum('disc_amount') > 0)@endif | {{ number_format($accountingVoucher->items->sum('igst') + $accountingVoucher->items->sum('cgst') + $accountingVoucher->items->sum('sgst') + $accountingVoucher->items->sum('cess'), 2) }} | {{ number_format($accountingVoucher->items->sum('total'), 2) }} | |||||
|
Round Off : {{ number_format($accountingVoucher->round_off, 2) }} @if ($accountingVoucher->discount != 0) Discount : {{ number_format($accountingVoucher->discount, 2) }} @endif @if ($accountingVoucher->freight != 0) Freight : {{ number_format($accountingVoucher->freight, 2) }} @endif |
|||||||||||||||||||||
| In Words : {{ $words }} |
AMOUNT : {{ number_format($accountingVoucher->amount, 2) }} |
|||||||||||||||||||||
@if ($company->bankLedger != null)
|
||||||||||||||||||||||
|
DECLARATION : Certified that the particulars given above are true and correct. |
FOR: {{ $company->name }}
AUTHORIZED SIGNATORY |
|||||||||||||||||||||