Compare commits
3 Commits
eff0da491c
...
be5d02bc50
| Author | SHA1 | Date | |
|---|---|---|---|
| be5d02bc50 | |||
|
|
bd0e6b7c2e | ||
|
|
fcb88cef80 |
@@ -220,10 +220,10 @@
|
|||||||
|
|
||||||
{{-- Modal for material invoice--}}
|
{{-- Modal for material invoice--}}
|
||||||
@if($materialInvoice)
|
@if($materialInvoice)
|
||||||
|
{{-- <div class="flex justify-center overflow-x-auto overflow-y-visible" style="height: 385px;"> --}}
|
||||||
<div class="overflow-x-auto overflow-y-visible" style="height: 385px;">
|
<div class="overflow-x-auto overflow-y-visible" style="height: 385px;">
|
||||||
{{-- <table class="min-w-[1500px] text-sm text-center border border-gray-300"> --}}
|
{{-- <table class="min-w-full text-sm text-center border border-gray-300"> --}}
|
||||||
{{-- <table class="table-fixed min-w-[1500px] text-sm text-center border border-gray-300"> --}}
|
<table class="min-w-full mx-auto text-sm text-center border border-gray-300">
|
||||||
<table class="min-w-full text-sm text-center border border-gray-300">
|
|
||||||
<thead class="bg-gray-100 font-bold">
|
<thead class="bg-gray-100 font-bold">
|
||||||
<tr>
|
<tr>
|
||||||
<th class="border px-4 py-2">No</th>
|
<th class="border px-4 py-2">No</th>
|
||||||
@@ -242,7 +242,13 @@
|
|||||||
<td class="border px-4 py-2">{{ $index + 1 }}</td>
|
<td class="border px-4 py-2">{{ $index + 1 }}</td>
|
||||||
<td class="border px-4 py-2">{{ $row['code'] ?? 'N/A' }}</td>
|
<td class="border px-4 py-2">{{ $row['code'] ?? 'N/A' }}</td>
|
||||||
<td class="border px-4 py-2">{{ $row['material_type'] ?? 'N/A' }}</td>
|
<td class="border px-4 py-2">{{ $row['material_type'] ?? 'N/A' }}</td>
|
||||||
<td class="border px-4 py-2">{{ $row['quantity'] ?? 'N/A' }}</td>
|
<td class="border px-4 py-2">
|
||||||
|
@if(($row['material_type'] ?? '') === 'Individual' || ($row['material_type'] ?? '') === 'Bundle')
|
||||||
|
{{ number_format((float)($row['quantity'] ?? 0), 0) }}
|
||||||
|
@else
|
||||||
|
{{ $row['quantity'] ?? 'N/A' }}
|
||||||
|
@endif
|
||||||
|
</td>
|
||||||
<td class="border px-4 py-2">{{ $row['serial_number'] ?? 'N/A' }}</td>
|
<td class="border px-4 py-2">{{ $row['serial_number'] ?? 'N/A' }}</td>
|
||||||
<td class="border px-4 py-2">{{ $row['batch_number'] ?? 'N/A' }}</td>
|
<td class="border px-4 py-2">{{ $row['batch_number'] ?? 'N/A' }}</td>
|
||||||
<td class="border px-4 py-2">{{ $row['created_at'] ?? 'N/A' }}</td>
|
<td class="border px-4 py-2">{{ $row['created_at'] ?? 'N/A' }}</td>
|
||||||
|
|||||||
Reference in New Issue
Block a user