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

TO,

{{ $vendorPurchaseOrder->supplier->supplier_name }}

{{ $vendorPurchaseOrder->supplier->address ?? ''}}

E-mail : {{ $vendorPurchaseOrder->supplier->email }}

V.P.O.No.: {{ $vendorPurchaseOrder->vpo_number }}

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

V.P.O.Deadline Date: {{ \Carbon\Carbon::parse($vendorPurchaseOrder->deadline_date)->format('d-m-Y') }}

Contact Person: {{ $vendorPurchaseOrder->supplier->person_name }}

Mobile No.: {{ $vendorPurchaseOrder->supplier->person_no }}

Party GST No.: {{ $vendorPurchaseOrder->supplier->gst_number ?? '' }}

Dear Sir/Madam,

@if($vendorPurchaseOrder->vendor_purchase_order_product) @foreach($vendorPurchaseOrder->vendor_purchase_order_product as $vpopkey => $vpopValue) @endforeach @endif @php $extraChargeCount = count(json_decode($vendorPurchaseOrder->extra_charges, true) ?? []); $companyStatId = getSettingData('config_state_id'); $isIntraState = $vendorPurchaseOrder->supplier->state_id == $companyStatId; $colspanTitle = $isIntraState ? 1 : 1; $colspanValue = $isIntraState ? 1 : 1; $rowspan = ($isIntraState ? 4 : 3) + $extraChargeCount; @endphp @if($vendorPurchaseOrder->is_apply_extra_charge == 1) @if($vendorPurchaseOrder->extra_charges) @foreach(json_decode($vendorPurchaseOrder->extra_charges, true) as $exkey => $exValue) @endforeach @endif @endif @if($isIntraState) @else @endif
Sr No. Item Name HSN Code GST (%) Size Qty Unit Rate Amount
{{ $vpopkey + 1 }}

{{ $vpopValue->product->product_name }}

@if(!empty($vpopValue->description))

- {{ $vpopValue->description }}

@endif

{{ $vpopValue->hsn_code }}

{{ $vpopValue->total_gst_per }}

@foreach($vpopValue->vendor_purchase_order_product_size as $vpopskey => $vpopsValue)

{{ $vpopsValue->ring_size->ring_size }}

@endforeach
@foreach($vpopValue->vendor_purchase_order_product_size as $vpopskey => $vpopsValue)

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

@endforeach
@foreach($vpopValue->vendor_purchase_order_product_size as $vpopskey => $vpopsValue)

{{ number_format($vpopsValue->unit_rate, 2) }}

@endforeach
@foreach($vpopValue->vendor_purchase_order_product_size as $vpopskey => $vpopsValue)

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

@endforeach

In Words:  {{ amt_to_words($vendorPurchaseOrder->grand_total) }}

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

Terms & Conditions :

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

{{ getSettingData('config_company_name') }}

{{ getSettingData('config_company_contact_number') }}