@extends('layouts.master') @section('title') PO Detail @endsection @section('page-title') PO Detail @endsection @section('body') @endsection @section('content')
po_id) }}" target="_blank" class="btn btn-success me-1"> Print
logo
{{ $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 ?? '' }}


To,
{{ $po->vendor->vendor_company ?? 'vendor Company Name' }}

{{ $po->vendor->vendor_address ?? 'Vendor Address' }}, {{ $po->vendor->vendor_pincode ?? 'Vendor Pincode' }}, {{ $po->vendor->area->area_name ?? 'Vendor Area' }}, {{ $po->vendor->city->city_name ?? 'Vendor City' }}, {{ $po->vendor->state->state_name ?? 'Vendor State' }}, {{ $po->vendor->country->country_name ?? 'Vendor Country' }},

Phone No: {{ $po->vendor->vendor_phone_no_1 ?? '001-234-5678' }}

GST No: {{ $po->vendor->vendor_gstin ?? '001-234-5678' }}

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 ($po->items as $index => $item) @endforeach
# Item Name Brand Model No Size Description Qty UOM Rate Total
{{ $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_unit_price * $item->item_qty, 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) }}

@if ($po->po_note)
PO Notes:

{!! nl2br(e($po->po_note ?? '')) !!}

@endif
@if ($po->po_terms)
PO Terms:

{!! nl2br(e($po->po_terms ?? '')) !!}

@endif
@if ($po->po_warehouse_id) @if ($po->po_warehouse_id == -1)
Delivery Address:

{{$po->delivery_address}}

@else

@if ($po->warehouse->warehouse_name) Warehouse Name: {!! $po->warehouse->warehouse_name ?? '' !!}

@else @endif

{!! $po->warehouse->warehouse_address ?? '' !!}, {!! $po->warehouse->area->area_name ?? '' !!}, {!! $po->warehouse->city->city_name ?? '' !!}, {!! $po->warehouse->warehouse_pincode ?? '' !!}, {!! $po->warehouse->state->state_name ?? '' !!}, {!! $po->warehouse->country->country_name ?? '' !!}

@endif @endif
From,




{{ $po->company->company_name ?? '' }}
@endsection @section('scripts') @endsection