@extends('layouts.dashboard.superadminapp') @section('title', 'Purchase Order Details') @section('content')
{{ $po->purchase_order_no }}
{{ \Carbon\Carbon::parse($po->purchase_order_date)->format('d M Y') }}
{{ ucfirst($po->status ?? 'pending') }}
{{ $po->customer_ref_no ?? '-' }}
{{ $po->vendor->company ?? $po->company_name }}
{{ $po->company_address ?? '-' }}
{{ $po->company_gstn ?? '-' }}
{{ $po->company_phone ?? '-' }}
{{ $po->company_email ?? '-' }}
{{ $po->quotation_no ?? '-' }}
{{ $po->quotation_date ? \Carbon\Carbon::parse($po->quotation_date)->format('d M Y') : '-' }}
{{ $po->rfq_no ?? '-' }}
{{ $po->rfq_date ? \Carbon\Carbon::parse($po->rfq_date)->format('d M Y') : '-' }}
{{ $po->delivery_terms ?? '-' }}
{{ $po->additional_charges ?? '-' }}
{{ $po->description ?? '-' }}
{{ $po->note ?? '-' }}
{{ $po->bill_address ?? '-' }}
{{ $po->ship_address ?? '-' }}
| 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) }} |
{{ $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) }} |