@extends('layouts.app') @section('title', 'Intake Preview') @php $setUnit = $units->firstWhere('code', 'SET'); $pcsUnit = $units->firstWhere('code', 'PCS'); $sampleItems = [ [ 'item_name' => 'Cotton Kurti Set', 'hscode' => '62044290', 'item_description' => 'Women embroidered cotton', 'uom_id' => optional($setUnit)->id, 'unit_quantity' => '2', 'unit_price' => '1290', ], [ 'item_name' => 'Stainless Travel Flask', 'hscode' => '', 'item_description' => '750ml vacuum insulated steel', 'uom_id' => optional($pcsUnit)->id, 'unit_quantity' => '1', 'unit_price' => '660', ], ]; @endphp @section('content')