1
0
forked from poc/pds

Updated validations and success durations and added serial_number maximum length should be 20 digit and clear field if invalid input

This commit is contained in:
dhanabalan
2025-07-11 18:23:52 +05:30
parent 9fa4c0dd49
commit 27524c4d62
11 changed files with 360 additions and 291 deletions

View File

@@ -32,13 +32,8 @@
</tr>
@empty
<tr>
<td colspan="9" class="px-4 py-4 text-center text-gray-500">
No records found.
</td>
</tr>
@if ($hasSearched)
<tr>
<td colspan="9" class="px-4 py-4 text-center text-red-600 font-semibold">
@if ($hasSearched)
<td colspan="9" class="px-4 py-4 text-center text-gray-900 font-semibold">
@if ($locatorNumber && $serialNumber)
Serial Number "{{ $serialNumber }}" and Locator Number "{{ $locatorNumber }}" not found.
@elseif ($locatorNumber)
@@ -49,8 +44,12 @@
No records found.
@endif
</td>
</tr>
@endif
@else
<td colspan="9" class="px-4 py-4 text-center text-gray-900 font-semibold">
No records found.
</td>
@endif
</tr>
@endforelse
</tbody>
</table>