fix empty
This commit is contained in:
@@ -14,6 +14,7 @@
|
|||||||
{!! $article['description'] !!}
|
{!! $article['description'] !!}
|
||||||
</div>
|
</div>
|
||||||
<div class="col-3">
|
<div class="col-3">
|
||||||
|
@if ($article['offers']['semences'] ?? false)
|
||||||
@component('components.card', [
|
@component('components.card', [
|
||||||
'title' => 'Semence',
|
'title' => 'Semence',
|
||||||
'class' => 'mb-3',
|
'class' => 'mb-3',
|
||||||
@@ -25,7 +26,9 @@
|
|||||||
'txt' => 'Ajouter au panier',
|
'txt' => 'Ajouter au panier',
|
||||||
])
|
])
|
||||||
@endcomponent
|
@endcomponent
|
||||||
|
@endif
|
||||||
|
|
||||||
|
@if ($article['offers']['plants'] ?? false)
|
||||||
@component('components.card', [
|
@component('components.card', [
|
||||||
'title' => 'Plant',
|
'title' => 'Plant',
|
||||||
'class' => 'mb-3',
|
'class' => 'mb-3',
|
||||||
@@ -37,7 +40,9 @@
|
|||||||
'txt' => 'Ajouter au panier',
|
'txt' => 'Ajouter au panier',
|
||||||
])
|
])
|
||||||
@endcomponent
|
@endcomponent
|
||||||
|
@endif
|
||||||
|
|
||||||
|
@if ($article['offers']['legumes'] ?? false)
|
||||||
@component('components.card', [
|
@component('components.card', [
|
||||||
'title' => 'Légume',
|
'title' => 'Légume',
|
||||||
'class' => 'mb-3',
|
'class' => 'mb-3',
|
||||||
@@ -47,6 +52,7 @@
|
|||||||
'txt' => 'Ajouter au panier',
|
'txt' => 'Ajouter au panier',
|
||||||
])
|
])
|
||||||
@endcomponent
|
@endcomponent
|
||||||
|
@endif
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user