issue solved in part validation error
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
</div>
|
||||
@endif --}}
|
||||
|
||||
@if (!empty($image))
|
||||
{{-- @if (!empty($part_validation1_error_image))
|
||||
<div class="mt-2">
|
||||
<img src="{{ $image }}" alt="Part Validation Error Image" style="width: 200px; height: auto;">
|
||||
</div>
|
||||
@@ -20,8 +20,22 @@
|
||||
<div class="mt-2">
|
||||
<img src="{{ asset('images/not-found.png') }}" alt="Image Not Found" style="width: 200px; height: auto;">
|
||||
</div>
|
||||
@endif --}}
|
||||
|
||||
@if ($getState())
|
||||
<div class="p-4 text-center">
|
||||
<img src="{{ $getState() }}?v={{ time() }}"
|
||||
onerror="this.onerror=null; this.src='{{ asset('images/not-found.png') }}'"
|
||||
class="rounded shadow mx-auto"
|
||||
style="width: 200px; height: 200px; object-fit: contain;" />
|
||||
</div>
|
||||
@endif
|
||||
|
||||
{{-- @else
|
||||
<img src="{{ asset('images/not-found.png') }}" style="width: 200px; height: auto;">
|
||||
@endif --}}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user