@extends('layouts.structure') @section('content')
Inward & Vehicle Details
Plant: {{ $inward->plant->name ?? 'N/A' }}
Inward Code: {{ $inward->inward_code ?? 'N/A' }}
Inward Date: {{ $inward->inward_date ?? 'N/A' }}
GRN No.: {{ $inward->grn_no ?? 'N/A' }}
Vehicle Registration Number: {{ $inward->vehicle_registration_number ?? 'N/A' }}
57 F4 Challan No: {{ $inward->challan_no ?? 'N/A' }}
Challan Date: {{ $inward->challan_date ?? 'N/A' }}
Client Details
Client Name: {{ $inward->client->client_name ?? 'N/A' }}
Manufacturer: {{ $inward->manufacturer->manufacturer_name ?? 'N/A' }}
Client Invoice Number: {{ $inward->invoice_no ?? 'N/A' }}
Invoice Date: {{ $inward->invoice_date ?? 'N/A' }}
Uploaded Invoice: @if ($inward->upload_invoice) Download @else N/A @endif
HSN Code: {{ $inward->hsn_code ?? 'N/A' }}
Coil Details
@forelse ($inward->coils as $index => $coil)
Coil {{ $index + 1 }}
CRR No.: {{ $coil->crr_no ?? 'N/A' }}
Customer Coil No./Batch No.: {{ $coil->coil_no ?? 'N/A' }}
Grade: {{ $coil->grade->grade_name ?? 'N/A' }}
Thickness (in mm): {{ $coil->thickness ?? 'N/A' }}
Width (in mm): {{ $coil->width ?? 'N/A' }}
Net Weight (in Ton): {{ $coil->net_weight ?? 'N/A' }}
Gross Weight (in Ton): {{ $coil->gross_weight ?? 'N/A' }}
Material Type: {{ $coil->materialType->material_name ?? 'N/A' }}
Basic Rate Per Ton: {{ $coil->basic_rate_per_ton ?? 'N/A' }}
Location: {{ $coil->location ?? 'N/A' }}
Remark: {{ $coil->remark ?? 'N/A' }}
@empty

No coils found for this inward.

@endforelse
@endsection