@php $data = json_decode($data); $colspan = 5+((isset($data->tax_option_data) && count($data->tax_option_data->component_array) > 0)?count($data->tax_option_data->component_array):1); @endphp Quotation #{{ $data->quotation_number }}

QUOTATION

Quotation Number: {{ $data->quotation_number }}
Reference Number: {{ $data->quotation_reference }}
Quotation Date: {{ $data->quotation_date }}
Quotation Due Date: {{ $data->quotation_due_date }}
@if($logo_path != '') @endif
Bill From
{{ $data->store->name }}
{{ $data->store->address }} @if ($data->store->pincode != '') Pincode: {{ $data->store->pincode }} @endif
@if ($data->store->tax_number != '')
GST: {{ $data->store->tax_number }}
@endif @if ($data->store->primary_email != '')
Email 1: {{ $data->store->primary_email }}
@endif @if ($data->store->secondary_email != '')
Email 2: {{ $data->store->secondary_email }}
@endif @if ($data->store->primary_contact != '')
Contact No 1: {{ $data->store->primary_contact }}
@endif @if ($data->store->secondary_contact != '')
Contact No 2: {{ $data->store->secondary_contact }}
@endif
Bill To
{{ $data->bill_to_name }} @if ($data->bill_to_code != '')({{ $data->bill_to_code }}) @endif
{{ $data->bill_to_address }} @if ($data->bill_to_email != '') Email: {{ $data->bill_to_email }} @endif @if ($data->bill_to_contact != '') Contact No: {{ $data->bill_to_contact }} @endif
@if (isset($data->tax_option_data) && count($data->tax_option_data->component_array) > 0) @foreach ($data->tax_option_data->component_array as $component_array_key => $component_array_item) @endforeach @else @endif @foreach ($data->products as $item_key => $quotation_products) @if (isset($data->tax_option_data) && count($data->tax_option_data->component_array) > 0) @foreach ($data->tax_option_data->component_array as $component_array_key => $component_array_item) @endforeach @else @endif @endforeach
# Product Description Qty Price (EXCL Tax) Discount{{ $component_array_item }}TaxTotal
{{ $item_key+1 }} {{ ($quotation_products->product_code != ''? $quotation_products->product_code." - ": '') }}{{ $quotation_products->name }} {{ $quotation_products->quantity }} {{ $quotation_products->amount_excluding_tax }} {{ $quotation_products->discount_amount }}
({{ $quotation_products->discount_percentage }}%)
{{ $quotation_products->tax_component_array->$component_array_item }}{{ $quotation_products->tax_amount }}
({{ $quotation_products->tax_percentage }}%)
{{ $quotation_products->subtotal_amount_excluding_tax }}
Sub Total (EXCL Tax) {{ $data->subtotal_excluding_tax }}
Total Discount {{ $data->total_discount_amount }}
Total After Discount {{ $data->total_after_discount }}
Total Tax {{ $data->total_tax_amount }}
Shipping Charge {{ $data->shipping_charge }}
Packaging Charge {{ $data->packing_charge }}
Total (INCL Tax) {{ $data->total_order_amount }}
@if($data->currency_code != '')
All prices are in {{ $data->currency_name }} ({{ $data->currency_code }})
@endif
@if($data->notes != '')
Notes
{{ $data->notes }}
@endif
Thank You!