|
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: {{ $orderData['order_number'] }} | Payment Mode: {{ $orderData['payment_method'] }} |
| Invoice Date: {{ $orderData['order_date'] }} | Payment Status: {{ ucwords(str_replace('_', ' ', $orderData['payment_status'])) }} |
| Customer: Cash Sale | |
| Bill To | Ship To |
|
@if(isset($billingAddressData))
@if($customer['company_name'])
Company: {{ $customer['company_name'] ?? '-' }} @else Name: {{ $billingAddressData['name'] ?? '-' }} @endif Phone: {{ $billingAddressData['phone'] ?? '-' }} Email: {{ $billingAddressData['email'] ?? '-' }} Address: {{ $billingAddressData['address'] ?? '-' }} @else Name: {{ $customer['name'] ?? '-' }} Phone: {{ $customer['phone'] ?? '-' }} Email: {{ $customer['email'] ?? '-' }} Address: {{ $customer['address'] ?? '-' }} @endif |
@if(isset($shippingAddress))
Name: {{ $shippingAddress->name ?? '-' }} Phone: {{ $shippingAddress->phone ?? '-' }} Email: {{ $shippingAddress->email ?? '-' }} Address: {{ $orderData['shipping_address_1'] ?? '-' }} @else Name: {{ $orderData['shipping_first_name'] ?? '-' }} {{ $orderData['shipping_last_name'] ?? '' }} Phone: {{ $orderData['shipping_phone'] ?? '-' }} Email: {{ $orderData['shipping_email'] ?? '-' }} Address: {{ $orderData['shipping_address_1'] ?? '-' }} @endif |
| Sr | Item Name | {{--HSN | --}}Qty | Rate | Subtotal | Tax | Total | |||
| % | Amount | |||||||||
| {{ $index + 1 }} | {{ $product['name'] }} | {{--{{ $product['hsn'] ?? '-' }} | --}}{{ $product['quantity'] }} | ${{ number_format($product['sale_price'], 2) }} | ${{ number_format($subtotal, 2) }} | {{--{{ $taxPercent > 0 ? $taxPercent . '%' : '0%' }} | ${{ number_format($taxAmount, 2) }} | --}}{{ $product['tax_percent'] }}% | ${{ number_format($taxAmount, 2) }} | ${{ number_format($lineTotal, 2) }} |
| {{-- | --}} | |||||||||
| Sub-Total | {{ $totalQty }} | - | ${{ number_format($totalAmount, 2) }} | - | ${{ number_format($totalTaxAmount, 2) }} | ${{ number_format($finalTotal, 2) }} | ||||
| Summary | Amount | |
| Tax Amount: | ${{ number_format($orderData['tax_amount'], 2) }} | |
| Discount Amount: | ${{ number_format($orderData['discount_amount'], 2) }} | |
| Charges Amount: | ${{ number_format($orderData['total_charges_amount'], 2) }} | |
| Invoice Total in Word | Total Amount: | ${{number_format($orderData['total'], 2) }} |
| {{ ucwords(numberToWords($orderData['total'])) }} Only | ||
|
Terms and Conditions:
@foreach ($terms as $index => $term)
{{--
{{ $index + 1 }}. {{ $term['name'] }}
--}}
@if (!empty($term['description']))
@php
$description = html_entity_decode(strip_tags($term['description']));
$sentences = array_filter(array_map('trim', preg_split('/\.\s+/', $description)));
@endphp
@foreach ($sentences as $sentence)
@if (!empty($sentence))
{{ trim($sentence) }}{{ !str_ends_with(trim($sentence), '.') ? '.' : '' }}
@endif
@endforeach
@endif
@endforeach
|
||
| Receive Signature | Authorised Signature | |
| Thank You For Business With Us! | ||