{{ trim( preg_replace( '/\s+/', ' ', $branchInfo['address'] ) ) }}
@endif @if(!empty($branchInfo['phone']))Phone: {{ $branchInfo['phone'] }}
@endif @if(!empty($branchInfo['email']))Email: {{ $branchInfo['email'] }}
@endif {{-- COMPANY GSTIN --}} @if(!empty($branchInfo['gstin']))GSTIN: {{ $branchInfo['gstin'] }}
@endif| SN | ITEMS | Qty | Rate | Amt |
|---|---|---|---|---|
| {{ $index + 1 }} | {{-- ITEM --}}
{{ $itemName }}
@if($gstRate > 0)
GST
{{ rtrim(
rtrim(
number_format(
$gstRate,
2,
'.',
''
),
'0'
),
'.'
) }}%
@endif
|
{{-- QTY --}}
{{ rtrim( rtrim( number_format( $quantity, 2, '.', '' ), '0' ), '.' ) }} | {{-- RATE --}}₹{{ number_format( $sellPrice, 2 ) }} | {{-- AMOUNT --}}₹{{ number_format( $itemAmount, 2 ) }} |
Sub Total: ₹{{ number_format( $gstSale->sub_total ?? 0, 2 ) }}
{{-- DISCOUNT --}} @if((float)($gstSale->discount ?? 0) > 0)Discount: -₹{{ number_format( $gstSale->discount, 2 ) }}
@endif {{-- ADDITIONAL CHARGE --}} @if((float)($gstSale->additional_charge ?? 0) > 0)Additional Charge: +₹{{ number_format( $gstSale->additional_charge, 2 ) }}
@endif {{-- CGST --}} @if((float)($gstSale->cgst ?? 0) > 0)CGST: ₹{{ number_format( $gstSale->cgst, 2 ) }}
@endif {{-- SGST --}} @if((float)($gstSale->sgst ?? 0) > 0)SGST: ₹{{ number_format( $gstSale->sgst, 2 ) }}
@endif {{-- TOTAL GST --}} @if((float)($gstSale->total_tax ?? 0) > 0)Total GST: ₹{{ number_format( $gstSale->total_tax, 2 ) }}
@endif {{-- TOTAL --}}TOTAL: ₹{{ number_format( $gstAmountPayable, 2 ) }}
{{-- PAYMENT MODE --}}Paid By: {{ ucfirst($gstPaymentMode) }}
{{-- RECEIVED --}}Received: ₹{{ number_format( $gstReceived, 2 ) }}
{{-- CHANGE --}} @if((float)($gstSale->change_amount ?? 0) > 0)Change: ₹{{ number_format( $gstSale->change_amount, 2 ) }}
@endif{{ trim( preg_replace( '/\s+/', ' ', $branchInfo['address'] ) ) }}
@endif @if(!empty($branchInfo['phone']))Phone: {{ $branchInfo['phone'] }}
@endif @if(!empty($branchInfo['email']))Email: {{ $branchInfo['email'] }}
@endif| SN | ITEMS | Qty | Rate | Amt |
|---|---|---|---|---|
| {{ $index + 1 }} | {{ $itemName }} | {{ rtrim( rtrim( number_format( $quantity, 2, '.', '' ), '0' ), '.' ) }} | ₹{{ number_format( $sellPrice, 2 ) }} | ₹{{ number_format( $itemAmount, 2 ) }} |
Sub Total: ₹{{ number_format( $nonGstSale->sub_total ?? 0, 2 ) }}
@if((float)($nonGstSale->discount ?? 0) > 0)Discount: -₹{{ number_format( $nonGstSale->discount, 2 ) }}
@endif @if((float)($nonGstSale->additional_charge ?? 0) > 0)Additional Charge: +₹{{ number_format( $nonGstSale->additional_charge, 2 ) }}
@endifTOTAL: ₹{{ number_format( $nonGstAmountPayable, 2 ) }}
Paid By: {{ ucfirst($nonGstPaymentMode) }}
Received: ₹{{ number_format( $nonGstReceived, 2 ) }}
@if((float)($nonGstSale->change_amount ?? 0) > 0)Change: ₹{{ number_format( $nonGstSale->change_amount, 2 ) }}
@endif{{ trim( preg_replace( '/\s+/', ' ', $branchInfo['address'] ) ) }}
@endif @if(!empty($branchInfo['phone']))Phone: {{ $branchInfo['phone'] }}
@endif @if(!empty($branchInfo['email']))Email: {{ $branchInfo['email'] }}
@endif| SN | ITEMS | Qty | Rate | Amt |
|---|---|---|---|---|
| {{ $index + 1 }} | {{ $itemName }} | {{ rtrim( rtrim( number_format( $quantity, 2, '.', '' ), '0' ), '.' ) }} | ₹{{ number_format( $sellPrice, 2 ) }} | ₹{{ number_format( $itemAmount, 2 ) }} |
Sub Total: ₹{{ number_format( $offlineSale->sub_total ?? 0, 2 ) }}
@if((float)($offlineSale->discount ?? 0) > 0)Discount: -₹{{ number_format( $offlineSale->discount, 2 ) }}
@endif @if((float)($offlineSale->additional_charge ?? 0) > 0)Additional Charge: +₹{{ number_format( $offlineSale->additional_charge, 2 ) }}
@endifTOTAL: ₹{{ number_format( $fallbackAmountPayable, 2 ) }}
Paid By: {{ ucfirst($fallbackPaymentMode) }}
Received: ₹{{ number_format( $fallbackReceived, 2 ) }}
@if((float)($offlineSale->change_amount ?? 0) > 0)Change: ₹{{ number_format( $offlineSale->change_amount, 2 ) }}
@endif