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

Sales Order Details

Back to Sales Orders List
Sales Order No:
{{ $order->sales_order_no }}
Date:
{{ \Carbon\Carbon::parse($order->sales_order_date)->format('d M Y') }}
GRN No:
{{ $order->grn_no ?? '-' }}
Customer Reference No:
{{ $order->customer_ref_no ?? '-' }}
Company Name:
{{ $order->customer->company ?? '-' }}
GSTN:
{{ $order->company_gstn }}
Phone:
{{ $order->company_phone }}
Email:
{{ $order->company_email }}
Quotation No:
{{ $order->quotation_no ?? '-' }}
Quotation Date:
{{ $order->quotation_date ? \Carbon\Carbon::parse($order->quotation_date)->format('d M Y') : '-' }}
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 Revision:
{{ $order->drawing_rev ?? '-' }}
Product Type:
{{ $order->product_type }}
Description:
{{ $order->description ?? '-' }}
Bill Address:
{{ $order->bill_address ?? '-' }}
Ship Address:
{{ $order->ship_address ?? '-' }}

Grand Total in Words:
{{ $order->inr_in_words ?? '' }}
Subtotal:
₹{{ 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) }}

Product Details
@foreach ($order->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