{{ $po->company->company_name ?? '' }}

{{ $po->company->company_address ?? '' }}
{{ $po->company->area->area_name ?? '' }}, {{ $po->company->city->city_name ?? '' }}, {{ $po->company->state->state_name ?? '' }}, {{ $po->company->country->country_name ?? '' }}, {{ $po->company->company_pincode ?? '' }}
GST No: {{ $po->company->company_gstin ?? '' }}, Email: {{ $po->company->company_email ?? '' }}
Phone No: {{ $po->company->company_phone_no_1 ?? '' }}, {{ $po->company->company_phone_no_2 ?? '' }}

To,

{{ $po->vendor->vendor_name ?? '' }}

{{ $po->vendor->vendor_address ?? '' }}, {{ $po->vendor->area->area_name ?? '' }}, {{ $po->vendor->city->city_name ?? '' }}, {{ $po->vendor->state->state_name ?? '' }}, {{ $po->vendor->vendor_pincode ?? '' }}, {{ $po->vendor->country->country_name ?? '' }}
@if ($po->vendor->vendor_phone_no_1) Phone No: {{ $po->vendor->vendor_phone_no_1 ?? '' }}
@endif @if ($po->vendor->vendor_gstin) GST No: {{ $po->vendor->vendor_gstin ?? '' }} @endif

PO No {{ $po->po_prefix }}/{{ $po->po_financial_year }}/{{ $po->po_number }}
PO Date {{ \Carbon\Carbon::parse($po->po_date)->format('d/m/Y') ?? '' }}
Payment Terms {{ $po->po_payment_terms }}
Delivery {{ $po->po_delivery }}
Warranty {{ $po->po_garranty }}
Purchase Order
@foreach ($categoriesWithSortOrder as $category) @foreach ($category['items'] as $index => $item) @endforeach @endforeach
# Item Name Brand Model No Size Description Qty UOM Rate Total
{{ $category['category_name'] }}
{{ $index + 1 }} {{ $item->products->product_name ?? '' }} {{ $item->products->product_brands->product_brand_name?? '' }} {{ $item->products->product_model_no ?? '' }} {{ $item->products->product_size ?? '' }} {{ $item->item_description ?? '' }} {{ $item->item_qty }} {{ $item->products->product_unit_measurement ?? '' }} {{ number_format($item->item_unit_price, 2) }} {{ number_format($item->item_sub_total, 2) }}
Sub Total {{ number_format($po->po_sub_total_amount, 2) }}
Tax {{ number_format($po->po_tax_rate, 2) }}% {{ number_format($po->po_total_tax, 2) }}
Total {{ number_format($po->po_grand_total, 2) }}