Skip to content

Commit 0c886f5

Browse files
committed
1 parent 8cea67f commit 0c886f5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

resources/views/dashboard.blade.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,8 +373,10 @@
373373
<div class="row">
374374
@forelse ($LastProducts as $LastProduct)
375375
<div class="col-md-2">
376+
@if($LastProduct->picture)
376377
<x-adminlte-profile-widget name="{{ $LastProduct->label }} {{ $LastProduct->ind }}" desc="{{ $LastProduct->family->label }}" theme="lightblue"
377-
img="@if($LastProduct->picture) {{ asset('/images/products/'. $LastProduct->picture) }} @endif" layout-type="classic">
378+
img=" {{ asset('/images/products/'. $LastProduct->picture) }}" layout-type="classic">
379+
@endif
378380
<x-adminlte-profile-row-item icon="fas fa-cash-register " title="{{ __('general_content.purchased_price_trans_key') }}" text=" {{ $LastProduct->purchased_price }} {{ $Factory->curency }}"
379381
url="#" badge="teal"/>
380382
<x-adminlte-profile-row-item icon="fas fa-shopping-cart" title="{{ __('general_content.price_trans_key') }}"

0 commit comments

Comments
 (0)