This commit is contained in:
Sampanna Rimal
2024-09-11 12:32:15 +05:45
parent 82fab174dc
commit afb2c202d6
170 changed files with 3352 additions and 363 deletions

View File

@ -22,28 +22,23 @@
<thead>
<tr>
<th>S.N</th>
<th>Name</th>
<th>Price</th>
<th>Quantity</th>
<th>Category</th>
<th>Sub Category</th>
<th>Supplier</th>
<th>Warehouse</th>
<th>Title</th>
<th>Fabric Category</th>
<th>Product Category</th>
<th>Product Code</th>
<th>Status</th>
<th>Action</th>
</tr>
</thead>
<tbody>
@forelse ($products as $key => $product)
{{-- @dd($product->fabricCategory) --}}
<tr>
<td>{{ $key + 1 }}</td>
<td>{{ $product->name }}</td>
<td>{{ $product->price }}</td>
<td>{{ $product->qty }}</td>
<td>{{ optional($product->fabricCategory)->title }}</td>
<td>{{ optional($product->category)->title }}</td>
<td>{{ optional($product->subCategory)->title }}</td>
<td>{{ optional($product->supplier)->supplier_name }}</td>
<td>{{ optional($product->warehouse)->title }}</td>
<td>{{ $product->code }}</td>
<td>{!! $product->status_name !!}</td>
<td>
<div class="hstack flex-wrap gap-3">