Files
pds/resources/views/livewire/panel-pallet-count-data-table.blade.php
dhanabalan 3c909e51e6
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 15s
Gemini PR Review / Gemini PR Review (pull_request) Failing after 19s
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (pull_request) Successful in 17s
Laravel Larastan / larastan (pull_request) Failing after 3m57s
Laravel Pint / pint (pull_request) Successful in 4m19s
Added panel box pallet count page and livewire pages
2026-12-01 08:39:13 +05:30

38 lines
1.2 KiB
PHP

<div class="p-4">
<h2 class="text-lg font-bold mb-4 text-gray-700 uppercase tracking-wider">
PALLET COUNT DATA TABLE:
</h2>
<div class="overflow-x-auto rounded-lg shadow">
<table class="w-full divide-y divide-gray-200 text-sm text-center">
<thead class="bg-gray-100 font-semibold uppercase text-gray-700">
<tr>
<th class="border px-4 py-2">No</th>
<th class="border px-4 py-2">Panel Box Code</th>
<th class="border px-4 py-2">Count</th>
</tr>
</thead>
<tbody>
@forelse ($records as $index => $record)
<tr class="hover:bg-gray-50">
<td class="border px-4 py-2">{{ $index + 1 }}</td>
<td class="border px-4 py-2">
{{ $record['panel_box_code'] }}
</td>
<td class="border px-4 py-2 font-semibold">
{{ $record['count'] }}
</td>
</tr>
@empty
<tr>
<td colspan="3" class="px-4 py-4 text-center text-gray-500">
No pallet records found.
</td>
</tr>
@endforelse
</tbody>
</table>
</div>
</div>