@extends('layouts.dashboard.adminapp') @section('title', 'Purchase Order Details') @section('content')

Purchase Order Details

← Back to Purchase Orders List
Purchase Order Header

Purchase Order No: {{ $po->purchase_order_no }}

Date: {{ \Carbon\Carbon::parse($po->purchase_order_date)->format('d M Y') }}

GRN No: {{ $po->grn_no ?? '-' }}

Vendor Reference No: {{ $po->customer_ref_no ?? '-' }}

Company Name (Vendor): {{ $po->company_name }}

GSTN: {{ $po->company_gstn ?? '-' }}

Phone: {{ $po->company_phone ?? '-' }}

Email: {{ $po->company_email ?? '-' }}

Quotation No: {{ $po->quotation_no ?? '-' }}

Quotation Date: {{ $po->quotation_date ? \Carbon\Carbon::parse($po->quotation_date)->format('d M Y') : '-' }}

RFQ No: {{ $po->rfq_no ?? '-' }}

RFQ Date: {{ $po->rfq_date ? \Carbon\Carbon::parse($po->rfq_date)->format('d M Y') : '-' }}

Part No: {{ $po->part_no ?? '-' }}

Project Material No: {{ $po->project_material_no ?? '-' }}

Drawing No: {{ $po->drawing_no ?? '-' }}

Drawing Revision: {{ $po->drawing_rev ?? '-' }}

Description: {{ $po->description ?? '-' }}

Product Type: {{ $po->product_type ?? '-' }}

Grand Total in Words: {{ $po->inr_in_words ?? '-' }}

Subtotal: ₹{{ number_format($po->subtotal, 2) }}

SGST Amount: ₹{{ number_format($po->sgst_amount, 2) }}

CGST Amount: ₹{{ number_format($po->cgst_amount, 2) }}

IGST Amount: ₹{{ number_format($po->igst_amount, 2) }}

Round Up: ₹{{ number_format($po->round_up, 2) }}

Grand Total: ₹{{ number_format($po->grand_total, 2) }}

Address Details

Bill To
{{ $po->bill_address ?? '-' }}

Ship To
{{ $po->ship_address ?? '-' }}

Product Details
@foreach ($po->items as $item) @endforeach
Sl No. Material Code HSN Code Description Additional Details Required By Date Quantity UOM Unit Rate Discount (%) Value (INR) SGST (%) CGST (%) IGST (%) Amount (INR)
{{ $item->sl_no }} {{ $item->material_code ?? '-' }} {{ $item->hsn_code ?? '-' }} {{ $item->material_description ?? '-' }} {{ $item->additional_details ?? '-' }} {{ $item->required_by_date ? \Carbon\Carbon::parse($item->required_by_date)->format('d M Y') : '-' }} {{ $item->quantity }} {{ $item->uom }} ₹{{ number_format($item->unit_rate, 2) }} {{ $item->discount }}% ₹{{ number_format($item->value, 2) }} {{ $item->sgst }}% {{ $item->cgst }}% {{ $item->igst }}% ₹{{ number_format($item->amount, 2) }}
@endsection @section('scripts') @endsection