@extends('layouts.master') @section('title') PO Detail @endsection @section('page-title') PO Detail @endsection @section('body')
@endsection @section('content')
{{ $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->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 ?? '' }} |
| # | 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) }} |
||||||||
{!! nl2br(e($po->po_note ?? '')) !!}
{!! nl2br(e($po->po_terms ?? '')) !!}
{{$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