|
Tax Invoice
|
|
@php
$base64Image = base64_encode(file_get_contents(public_path('assets/images/tyres_logo.png')));
@endphp
{{-- |
Tyres Planet PTY LTD
209 Mcroyle St, Wacol 4076 CALL: 07 3144 3131 CALL: 0488 413 131 E-mail: cst@tyresplanet.com.au |
||||||||||
| Invoice No : {{ $order->code }} | Payment Mode: {{ $order->payment_method ?? '-' }} |
| Invoice Date : {{ \Carbon\Carbon::parse($order->created_at)->format('d-m-Y') }} | Payment Status: {{ $order->payment_status ?? '-' }} |
| Bill To | Ship To |
|
Name: {{ $BillingAddress['name'] ?? '-' }} Phone: {{ $BillingAddress['phone'] ?? '-' }} Email: {{ $BillingAddress['email'] ?? '-' }} Address: {{ $BillingAddress['address'] ?? '-' }},{{ $BillingAddress['city'] ?? '-' }},{{ $BillingAddress['state'] ?? '-' }},{{ $BillingAddress['country'] ?? '-' }} |
Name: {{ $ShippingAddress['name'] ?? '-' }} Phone: {{ $ShippingAddress['phone'] ?? '-' }} Email: {{ $ShippingAddress['email'] ?? '-' }} Address: {{ $ShippingAddress['address'] ?? '-' }},{{ $ShippingAddress['city'] ?? '-' }},{{ $ShippingAddress['state'] ?? '-' }},{{ $ShippingAddress['country'] ?? '-' }} |
| Sr | Item Name | {{--HSN | --}}Qty | Rate | Subtotal | Tax | Total | |
| % | Amount | |||||||
| {{ $index + 1 }} | {{ $detail->product_name ?? '-' }} | {{--{{ $detail->product->hsn ?? '-' }} | --}}{{ $detail->qty }} | ${{ number_format($detail->price, 2) }} | ${{ number_format($subtotal, 2) }} | {{ $tax_percent > 0 ? $tax_percent . '%' : '0%' }} | ${{ number_format($tax_amount, 2) }} | ${{ number_format($subtotal + $tax_amount, 2) }} |
| {{-- | --}} | |||||||
| Sub-Total | {{ $totalQty }} | - | ${{ number_format($totalAmount, 2) }} | - | ${{ number_format($finalTotal, 2) }} | |||
| Summary | Amount | |
| Tax Amount : | ${{ number_format($order->tax_amount ?? 0, 2) }} | |
| Discount Amount : | ${{ number_format($order->discount_total_amount ?? 0, 2) }} | |
| Charges Amount: | ${{ number_format($order->charges_totalamount ?? 0, 2) }} | |
| Round Off : | ${{ number_format($rounding_amt, 2) }} |
| Invoice Total in Word | Total Amount : | ${{ number_format($rounded_total, 2) }} |
| {{ convert_number_to_words($rounded_total) }} Only |
|
Terms and Conditions:
@foreach ($selectedTerms as $term)
@php
// Split each line properly, remove empty lines
$lines = array_values(array_filter(
array_map('trim', preg_split("/\r\n|\n|\r/", strip_tags($term->description)))
));
@endphp
{{-- Print all lines equally aligned --}}
@foreach ($lines as $line)
• {{ ltrim($line, '-• ') }}
@endforeach
@endforeach
|
|||||||||||
| Receive Signature | Authorised Signature | ||||||||||
| Thank You For Business With Us! | |||||||||||