@php $letterHead = getSettingData('letterHeadInput'); $contactPerson = ( isset($quotation->quotation_authorised_person[0]) && $quotation->quotation_authorised_person[0]->authorised_person ) ? $quotation->quotation_authorised_person[0]->authorised_person : null; @endphp {!! $letterHead !!}
Quotation

TO,

{{ $quotation->customer->company_name }}

{{ $contactPerson ? $contactPerson->address : $quotation->customer->address }}

E-mail: {{ $contactPerson ? $contactPerson->email : $quotation->customer->email }}

Quotation No.: {{ $quotation->formatted_quotation_number }}

Quotation Date: {{ \Carbon\Carbon::parse($quotation->quo_date)->format('d-m-Y') }}

Contact Person: {{ $contactPerson ? $contactPerson->full_name : $quotation->customer->authorised_person_name }}

Mobile No.: {{ $contactPerson ? $contactPerson->mobile_no : $quotation->customer->authorised_person_no }}

Party GST No.: {{ $quotation->customer->gst_no ?? '' }}

Dear Sir/Madam,

@if($quotation->quotation_product) @foreach($quotation->quotation_product as $qpkey => $qpValue) @endforeach @endif @php $extraChargeCount = count(json_decode($quotation->extra_charges, true) ?? []); $companyStatId = 1; $isIntraState = $quotation->customer->state_id == $companyStatId; $colspanTitle = $isIntraState ? 2 : 2; $colspanValue = $isIntraState ? 1 : 1; $rowspan = ($isIntraState ? 4 : 3) + $extraChargeCount; @endphp @if($quotation->is_apply_extra_charge == 1) @if($quotation->extra_charges) @foreach(json_decode($quotation->extra_charges, true) as $exkey => $exValue) @endforeach @endif @endif @if($isIntraState) @else @endif
Sr No. Item Name HSN/SAC Code GST (%) Size Qty Unit Rate Disc (%) Disc. Amt. Amount
{{ $qpkey + 1 }}

{{ $qpValue->product->product_name }}{{ $qpValue->description ?? '' }}

{{ $qpValue->hsn_code }}

{{ $qpValue->total_gst_per }}

@foreach($qpValue->quotation_product_size as $qpskey => $qpsValue)

{{ $qpsValue->ring_size->ring_size }}

@endforeach
@foreach($qpValue->quotation_product_size as $qpskey => $qpsValue)

{{ $qpsValue->qty }} {{ $qpsValue->unit->name }}

@endforeach
@foreach($qpValue->quotation_product_size as $qpskey => $qpsValue)

{{ number_format($qpsValue->price, 2) }}

@endforeach
@foreach($qpValue->quotation_product_size as $qpskey => $qpsValue)

{{ $qpsValue->disc_per }}

@endforeach
@foreach($qpValue->quotation_product_size as $qpskey => $qpsValue)

{{ number_format($qpsValue->disc_amt, 2) }}

@endforeach
@foreach($qpValue->quotation_product_size as $qpskey => $qpsValue)

{{ number_format($qpsValue->total, 2) }}

@endforeach

In Words:  {{ amt_to_words($quotation->total_quotation) }}

Total {{ number_format($quotation->total_without_gst,2) }}
{{ getQuotationChargeTitle($exValue['title_id']) }} {{ number_format($exValue['charges'], 2) }}
CGST {{ number_format($quotation->cgst_amt,2) }}
SGST {{ number_format($quotation->sgst_amt,2) }}
IGST {{ number_format($quotation->igst_amt, 2) }}
Total Amt {{ number_format($quotation->total_quotation, 2) }}
GST NO. : {{ getSettingData('gst_no') }} PAN CARD NO. : {{ getSettingData('pan_no') }}

Terms & Conditions :

@php $counter = 1; @endphp
    @if($quotation->terms_and_conditions) @foreach(json_decode($quotation->terms_and_conditions, true) as $tcValue)
  • {{ $counter++ }}. {{ getTermsandConditions($tcValue['id']) }}
  • @endforeach @endif {{-- Extra Terms from textarea --}} @if(!empty($quotation->extra_terms_and_conditions)) @foreach(explode("\n", $quotation->extra_terms_and_conditions) as $line) @if(trim($line))
  • {{ $counter++ }}. {{ $line }}
  • @endif @endforeach @endif

Our Bank Details :

  • Bank Name : {{ getSettingData('bank_name') }}
  • Account No. : {{ getSettingData('account_no') }}
  • IFSC Code : {{ getSettingData('ifsc_code') }}
  • Address : {{ getSettingData('bank_address') }}

For ORDINEM ENGITECH (INDIA) PVT LTD

(Authorised Signatory)