@php $letterHead = getSettingData('letterHeadInput'); @endphp {!! $letterHead !!}
Client Purchase Order

TO,

{{ $purchaseorder->customer->company_name }}

{{ (isset($purchaseorder->purchase_order_authorised_person[0])) ? $purchaseorder->purchase_order_authorised_person[0]->authorised_person->address : $purchaseorder->customer->address }}

E-mail : {{ (isset($purchaseorder->purchase_order_authorised_person[0])) ? $purchaseorder->purchase_order_authorised_person[0]->authorised_person->email : $purchaseorder->customer->email }}

P.O.No.: {{ $purchaseorder->po_number }}

P.O.Date: {{ \Carbon\Carbon::parse($purchaseorder->po_date)->format('d-m-Y') }}

Contact Person: {{ (isset($purchaseorder->purchase_order_authorised_person[0])) ? $purchaseorder->purchase_order_authorised_person[0]->authorised_person->full_name : $purchaseorder->customer->authorised_person_name }}

Mobile No.: {{ (isset($purchaseorder->purchase_order_authorised_person[0])) ? $purchaseorder->purchase_order_authorised_person[0]->authorised_person->mobile_no : $purchaseorder->customer->authorised_person_no }}

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

Dear Sir/Madam,

@if($purchaseorder->purchase_order_product) @foreach($purchaseorder->purchase_order_product as $pokey => $poValue) @endforeach @endif @php $extraChargeCount = count(json_decode($purchaseorder->extra_charges, true) ?? []); $companyStatId = 1; $isIntraState = $purchaseorder->customer->state_id == $companyStatId; $colspanTitle = $isIntraState ? 2 : 2; $colspanValue = $isIntraState ? 1 : 1; $rowspan = ($isIntraState ? 4 : 3) + $extraChargeCount; @endphp @if($purchaseorder->is_apply_extra_charge == 1) @if($purchaseorder->extra_charges) @foreach(json_decode($purchaseorder->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
{{ $pokey + 1 }}

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

{{ $poValue->hsn_code }}

{{ $poValue->total_gst_per }}

@foreach($poValue->purchase_order_product_size as $popsskey => $popsValue)

{{ $popsValue->ring_size->ring_size }}

@endforeach
@foreach($poValue->purchase_order_product_size as $popsskey => $popsValue)

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

@endforeach
@foreach($poValue->purchase_order_product_size as $popsskey => $popsValue)

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

@endforeach
@foreach($poValue->purchase_order_product_size as $popsskey => $popsValue)

{{ $popsValue->disc_per }}

@endforeach
@foreach($poValue->purchase_order_product_size as $popsskey => $popsValue)

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

@endforeach
@foreach($poValue->purchase_order_product_size as $popsskey => $popsValue)

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

@endforeach

In Words:  {{ amt_to_words($purchaseorder->total_purchase_order) }}

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

Terms & Conditions :

@php $counter = 1; @endphp
    @if($purchaseorder->terms_and_conditions) @foreach(json_decode($purchaseorder->terms_and_conditions, true) as $tckey => $tcValue)
  • {{ $counter++ }}. {{ getTermsandConditions($tcValue['id']) }}
  • @endforeach @endif {{-- Extra Terms from textarea --}} @if(!empty($purchaseorder->extra_terms_and_conditions)) @foreach(explode("\n", $purchaseorder->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') }}

Thank you.

Ordinem Engitech (India) Pvt Ltd.

OEIPL

7069777754