Add producers

This commit is contained in:
Ludovic CANDELLIER
2022-04-25 11:07:02 +02:00
parent d399b72120
commit ee0954931f
19 changed files with 339 additions and 37 deletions

View File

@@ -14,20 +14,24 @@
<div class="row">
<div class="col-6">
<strong>Semence</strong><br/>
@if ($article['semences'] ?? false)
<span style="font-size: 1.4em">{{ $article['semences']['price'] ?? null }}</span> <br>
@else
Indisponible<br>
@endif
<span style="font-size: 1.4em">
@if ($article['semences'] ?? false)
{{ $article['semences']['price'] ?? null }}</span>
@else
-
@endif
</span><br/>
<strong>Semence</strong>
</div>
<div class="col-6">
<strong>Plant</strong><br/>
@if ($article['plants'] ?? false)
<span style="font-size: 1.4em">{{ $article['plants']['price'] }}</span> <br>
@else
Indisponible<br>
@endif
<span style="font-size: 1.4em">
@if ($article['plants'] ?? false)
{{ $article['plants']['price'] }}</span>
@else
-
@endif
</span><br/>
<strong>Plant</strong>
</div>
</div>
</div>

View File

@@ -1,24 +1,3 @@
<div class="row">
<div class="col-6">
<button type="button" class="btn btn-success shadow">
<i class="fa fa-3x fa-seedling float-left"></i>
Ajouter au panier<br>la liste des <strong>semences</strong>
</button>
</div>
<div class="col-6">
<button type="button" class="btn btn-warning shadow">
<i class="fab fa-3x fa-pagelines float-left"></i>
Ajouter au panier<br>la liste des <strong>plants</strong>
</button>
</div>
</div>
<div class="row pt-3">
<div class="col-12">
Il y a {{ $articles ? count($articles) : 0 }} article(s) dans la liste
</div>
</div>
<div class="row">
<div class="col-6">
@include('components.form.button', ['id' => 'by_cards', 'icon' => 'fa-th', 'class' => 'btn-success'])

View File

@@ -0,0 +1,14 @@
<div class="row">
<div class="col-6">
<button type="button" class="btn btn-success shadow">
<i class="fa fa-3x fa-seedling float-left"></i>
Ajouter au panier<br>la liste des <strong>semences</strong>
</button>
</div>
<div class="col-6">
<button type="button" class="btn btn-warning shadow">
<i class="fab fa-3x fa-pagelines float-left"></i>
Ajouter au panier<br>la liste des <strong>plants</strong>
</button>
</div>
</div>

View File

@@ -0,0 +1,5 @@
<div class="row pt-3">
<div class="col-12">
Il y a {{ $articles ? count($articles) : 0 }} article(s) dans la liste
</div>
</div>

View File

@@ -11,13 +11,13 @@
<h3 style="font-size: 1.2em;">{!! $category['description'] !!}</h3>
</div>
<div class="col-4">
@include('Shop.layout.partials.category_add')
@include('Shop.Shelves.partials.category_add')
</div>
</div>
@if ($display_by_rows ?? false)
@include('Shop.layout.partials.category_articles_rows')
@include('Shop.Shelves.partials.category_articles_rows')
@else
@include('Shop.layout.partials.category_articles')
@include('Shop.Shelves.partials.category_articles')
@endif
@endsection