Added part validation error images

This commit is contained in:
dhanabalan
2025-11-24 09:10:34 +05:30
parent e031e57557
commit be5b7751a1
3 changed files with 59 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
{{-- @if ($getState())
<div class="p-4 text-center">
<img src="{{ $getState() }}"
class="rounded shadow mx-auto"
style="width: 400px; height: 400px; object-fit: contain;" />
</div>
@endif --}}
{{-- @if (!empty($image))
<div class="mt-2">
<img src="{{ $image }}" alt="Part Validation Error Image" style="width: 200px; height: auto;">
</div>
@endif --}}
@if (!empty($image))
<div class="mt-2">
<img src="{{ $image }}" alt="Part Validation Error Image" style="width: 200px; height: auto;">
</div>
@else
<div class="mt-2">
<img src="{{ asset('images/not-found.png') }}" alt="Image Not Found" style="width: 200px; height: auto;">
</div>
@endif