TAX INVOICE ORIGINAL FOR RECIPIENT
Company Logo
{{ 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 : '' }}
@foreach($sale->saleItems as $saleItem) @endforeach @if(count($sale->saleItems) < 5) @endif
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')) !!}
TAXABLE AMOUNT {{ currencyAlignment(number_format((float)($sale->grand_total - $sale->tax_amount - $sale->tax_amount_igst), 2)) }}
CGST @ {{ number_format((float)$sale->tax_rate, 2) }}% {{ currencyAlignment(number_format((float)$sale->tax_amount, 2)) }}
SGST @ {{ number_format((float)$sale->tax_rate_igst, 2) }}% {{ currencyAlignment(number_format((float)$sale->tax_amount_igst, 2)) }}
{{ getLoginUserLanguage() == 'cn' ? 'Discount' : __('messages.pdf.discount') }} {{ currencyAlignment(number_format((float)$sale->discount, 2))}}
{{ getLoginUserLanguage() == 'cn' ? 'Shipping' : __('messages.pdf.shipping') }} {{currencyAlignment(number_format((float)$sale->shipping, 2))}}
TOTAL AMOUNT {{ currencyAlignment(number_format((float)$sale->grand_total, 2)) }}
Received Amount {{ currencyAlignment(number_format((float)$sale->payments->sum('amount'), 2)) }}
Total Amount (in words): {{ ucwords(getAmountInWords($sale->grand_total)) }} Only