@if($sale_quotations->isEmpty())
Sale quotation detail not found.
@php return; @endphp @endif

Sale Quotation

Quotation Details

Quotation Number

{{ $sale_quotations[0]->quotation_no }}

Quotation Date

{{ CommonHelper::changeDateFormat($sale_quotations[0]->quotation_date) }}

Quotation Valid Up To

{{ CommonHelper::changeDateFormat($sale_quotations[0]->q_valid_up_to) }}

Revision Number

{{ $sale_quotations[0]->revision_no }}

@if($sale_quotations[0]->type_customer == 'customer')

Customer Details

Customer Name

{{ $sale_quotations[0]->customer_name }}

Customer Code

{{ $sale_quotations[0]->customer_code }}

Customer Address

{{ $sale_quotations[0]->address }}

City
@if(!empty($sale_quotations[0]->city)) @php $city = CommonHelper::get_all_cities_by_id($sale_quotations[0]->city); @endphp

{{ $city->name ?? '' }}

@endif
Country
@if(!empty($sale_quotations[0]->country)) @php $country = CommonHelper::get_all_country_by_id($sale_quotations[0]->country); @endphp

{{ $country->name ?? '' }}

@endif
STN No

{{ $sale_quotations[0]->strn }}

NTN No

{{ $sale_quotations[0]->NTNNumber }}

@elseif($sale_quotations[0]->type_customer == 'prospect')

Prospect Details

Company Name

{{ $sale_quotations[0]->prospect_company_name }}

Company Name

{{ $sale_quotations[0]->prospect_company_address }}

@endif

Date and Currency

Currency

{{ $sale_quotations[0]->curreny_id == 1 ? 'PKR' : 'USD' }}

Inquiry Reference Date

{{ CommonHelper::changeDateFormat($sale_quotations[0]->inquiry_reference_date) }}

Exchange Rate

{{ $sale_quotations[0]->exchange_rate }}

Sales Details

Sales Pool

{{ $sale_quotations[0]->sales_pool_name }}

Type

{{ $sale_quotations[0]->sales_type_name }}

Subject Line

{{ $sale_quotations[0]->subject_line }}

Storage Dimension

{{ $sale_quotations[0]->storage_dimention_name }}

Made Of Delivery

{{ SalesHelper::deliverMode($sale_quotations[0]->mode_of_delivery) }}

Terms & Conditions
{!! $sale_quotations[0]->terms_condition !!}

Quotation Created By

Name

{{ $sale_quotations[0]->created_by }}

Designation

{{ $sale_quotations[0]->designation }}

Company Name

{{ $sale_quotations[0]->company_name }}

Quotation Chart

@php $rat_sale_tax = CommonHelper::get_sale_tax_by_id($sale_quotations[0]->sale_tax_group); $further_tax_rate = $sale_quotations[0]->further_tax; $total_with_gst= 0; @endphp @foreach($sale_quotations As $key => $value) @php $tax_rat_unit_price = $value->unit_price/100*$rat_sale_tax; $tax_amount = $value->total_amount/100*$rat_sale_tax; $further_tax_rat_unit_price = $value->unit_price / 100 * $further_tax_rate; $further_tax_amount = $value->total_amount / 100 * $further_tax_rate; $total_with_gst += $value->total_amount + $tax_amount + $further_tax_amount; @endphp @endforeach
S No Item Pack Type Color QTY UOM Unit Price (without GST) Tax % Tax Amount Further Tax % Further Tax Amount Unit Price (with GST) Total Value (with GST)
{{ $counter++ }} {{ $value->item_code.' -- '.$value->sub_ic }} {{ $value->pack_size.' '.$value->uom_name.' '.$value->type }} {{ $value->color }} {{ number_format($value->qty,2) }} {{ $value->uom_id }} {{ number_format($value->unit_price, 2) }} {{$rat_sale_tax}} % {{ $tax_rat_unit_price }} {{ $further_tax_rate }} % {{ $further_tax_rat_unit_price }} {{number_format($value->unit_price + $tax_rat_unit_price + $further_tax_rat_unit_price,2)}} {{ number_format( $value->total_amount + $tax_amount + $further_tax_amount, 2) }}
  • Cartage Amount
  • {{ number_format($sale_quotations[0]->cartage_amount, 2) }}
  • Advance Tax

    {{ $sale_quotations[0]->advance_tax }}

  • @php $advance_tax = $total_amount / 100 * $sale_quotations[0]->advance_tax @endphp
  • {{ number_format($advance_tax, 2) }}
  • Grand Total

    (without Taxes)

  • {{ number_format($total_amount + $sale_quotations[0]->cartage_amount, 2) }}
  • Grand Total

    (with Taxes)

  • {{ number_format($total_with_gst + $sale_quotations[0]->cartage_amount + $advance_tax, 2) }}