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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user