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

UEPL | View Sales Order

day, 00 month 0000

{{ $order->sales_order_no }}

{{ \Carbon\Carbon::parse($order->sales_order_date)->format('d M Y') }} @if($order->customer) | {{ $order->customer->company }} @endif

@if($order->status === 'approved') Approved @elseif($order->status === 'rejected') Rejected @else Pending @endif
Grand Total
₹{{ number_format($order->grand_total, 2) }}
Quotation No
{{ $order->quotation_no ?? '-' }}
RFQ No
{{ $order->rfq_no ?? '-' }}
Product Type
{{ $order->product_type ?? '-' }}
Order Information
Sales Order No: {{ $order->sales_order_no }}
Order Date: {{ \Carbon\Carbon::parse($order->sales_order_date)->format('d M Y') }}
GRN No: {{ $order->grn_no ?? '-' }}
Customer Ref No: {{ $order->customer_ref_no ?? '-' }}
Quotation No: {{ $order->quotation_no ?? '-' }}
Quotation Date: {{ $order->quotation_date ? \Carbon\Carbon::parse($order->quotation_date)->format('d M Y') : '-' }}
Customer Information
Company Name: {{ $order->customer->company ?? '-' }}
Address: {{ $order->company_address ?? '-' }}
GST No: {{ $order->company_gstn ?? '-' }}
Phone: {{ $order->company_phone ?? '-' }}
Email: {{ $order->company_email ?? '-' }}
RFQ & Product Information
RFQ No: {{ $order->rfq_no ?? '-' }}
RFQ Date: {{ $order->rfq_date ? \Carbon\Carbon::parse($order->rfq_date)->format('d M Y') : '-' }}
Part No: {{ $order->part_no ?? '-' }}
Project/Material No: {{ $order->project_material_no ?? '-' }}
Drawing No: {{ $order->drawing_no ?? '-' }}
Drawing Rev: {{ $order->drawing_rev ?? '-' }}
Product Type: {{ $order->product_type ?? '-' }}
Description: {{ $order->description ?? '-' }}
Billing & Shipping
Bill To

{{ $order->bill_address ?? '-' }}

Ship To

{{ $order->ship_address ?? '-' }}

Product Items
@forelse ($order->items as $item) @empty @endforelse
# Material Code HSN Code Description Additional Details Req By Date Qty UOM Unit Rate Discount Value SGST CGST IGST Amount
{{ $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) }}
No items found
Summary & Totals
Grand Total in Words

{{ $order->inr_in_words ?? '-' }}

Sub Total:
₹{{ number_format($order->subtotal, 2) }}
SGST Amount:
₹{{ number_format($order->sgst_amount, 2) }}
CGST Amount:
₹{{ number_format($order->cgst_amount, 2) }}
IGST Amount:
₹{{ number_format($order->igst_amount, 2) }}
Round Up:
₹{{ number_format($order->round_up, 2) }}

Grand Total:
₹{{ number_format($order->grand_total, 2) }}
@endsection