|
|
{{ getSettingValue('company_name') }}
{{ getSettingValue('address') }}
GSTIN: {{ getSettingValue('company_gst') }}
|
| Invoice No.: {{ $sale->reference_code }} | Invoice Date: {{ \Carbon\Carbon::parse($sale->created_at)->format('d/m/Y') }} | Payment Status: {{ $sale->payment_status == \App\Models\Sale::PAID ? 'Paid' : 'Unpaid' }} |
|
BILL TO
{{ isset($sale->customer->name) ? $sale->customer->name : 'N/A' }}
{{ isset($sale->customer->address) ? $sale->customer->address : '' }}
{{ isset($sale->customer->city) ? $sale->customer->city : '' }} {{ isset($sale->customer->country) ? $sale->customer->country : '' }}
{{ isset($sale->customer->phone) ? $sale->customer->phone : '' }}
{{ isset($sale->customer->email) ? $sale->customer->email : '' }}
|
SHIP TO
{{ isset($sale->customer->name) ? $sale->customer->name : 'N/A' }}
{{ isset($sale->customer->address) ? $sale->customer->address : '' }}
{{ isset($sale->customer->city) ? $sale->customer->city : '' }} {{ isset($sale->customer->country) ? $sale->customer->country : '' }}
|
| ITEMS | QTY. | RATE | TAX | AMOUNT | |
|---|---|---|---|---|---|
|
{{ $saleItem->product->name }}
@if(isset($saleItem->product->description))
{{ $saleItem->product->description }}
@endif
|
{{ $saleItem->quantity }} PCS | {!! currencyAlignment(number_format((float)$saleItem->net_unit_price, 2)) !!} | {{ currencyAlignment(number_format((float)$saleItem->tax_amount, 2)) }} ({{ isset($saleItem->tax_value) ? $saleItem->tax_value : '0' }}%) | {{ currencyAlignment(number_format((float)$saleItem->sub_total, 2)) }} | |
| SUBTOTAL | {{ count($sale->saleItems) }} | {{ currencyAlignment(number_format((float)($sale->tax_amount + $sale->tax_amount_igst), 2)) }} | {{ currencyAlignment(number_format((float)$sale->grand_total, 2)) }} |
|
TERMS AND CONDITIONS
{!! str_replace('', '
', isset($sale->note) ? $sale->note : getSettingValue('notes')) !!} |
Total Amount (in words):
{{ ucwords(getAmountInWords($sale->grand_total)) }} Only
|