@extends('layouts.dashboard.superadminapp') @section('title', 'Purchase Order Details') @section('styles') @endsection @section('content')

Purchase Order Details

{{ now()->format('l') }}, {{ now()->format('d') }} {{ now()->format('F') }} {{ now()->format('Y') }}
{{ now()->format('h:i:s A') }}
PO Number
{{ $po->purchase_order_no }}
PO Date
{{ \Carbon\Carbon::parse($po->purchase_order_date)->format('d M Y') }}
Status
{{ ucfirst($po->status ?? 'pending') }}
Grand Total
₹{{ number_format($po->grand_total, 2) }}
Vendor Information
Vendor Name
{{ $po->vendor->company ?? $po->company_name }}
Vendor Reference No
{{ $po->customer_ref_no ?? '-' }}
GSTN
{{ $po->company_gstn ?? '-' }}
Address
{{ $po->company_address ?? '-' }}
Phone
{{ $po->company_phone ?? '-' }}
Email
{{ $po->company_email ?? '-' }}
Reference Information
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') : '-' }}
Additional Details
Delivery Terms
{{ $po->delivery_terms ?? '-' }}
Additional Charges
{{ $po->additional_charges ?? '-' }}
Note I
{{ $po->description ?? '-' }}
Note II
{{ $po->note ?? '-' }}
Bill To
{{ $po->bill_address ?? '-' }}
Ship To
{{ $po->ship_address ?? '-' }}
Product Details
@foreach ($po->items as $item) @endforeach
Sl No. Item Description Req By Date Qty UOM Unit Rate TDS % Discount % Value SGST % CGST % IGST % Amount
{{ $loop->iteration }} {{ $item->stockItem->item_name ?? $item->item }} {{ $item->description ?? '-' }} {{ $item->req_by_date ? \Carbon\Carbon::parse($item->req_by_date)->format('d M Y') : '-' }} {{ $item->quantity }} {{ $item->uom }} {{ number_format($item->unit_rate, 2) }} {{ $item->tds ?? 0 }}% {{ $item->discount ?? 0 }}% {{ number_format($item->value, 2) }} {{ $item->sgst ?? 0 }}% {{ $item->cgst ?? 0 }}% {{ $item->igst ?? 0 }}% {{ number_format($item->amount, 2) }}
Summary
Grand Total in Words
{{ $po->inr_in_words ?? '-' }}
Sub Total: ₹{{ 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) }}
Edit Print Back to List
@endsection