fixes, add weight
This commit is contained in:
@@ -2,7 +2,8 @@
|
||||
<a href="{{ route('Shop.Articles.show', ['id' => $article['id'] ?? false ]) }}" class="green-dark">
|
||||
<div class="content">
|
||||
<div class="content-overlay"></div>
|
||||
<img class="content-image card-img-top" src="{{ App\Repositories\Shop\Articles::getPreviewSrc($article['image'] ?? false) }}" alt="{{ $product_name }}">
|
||||
<img class="content-image card-img-top"
|
||||
src="{{ App\Repositories\Shop\Articles::getPreviewSrc($article['image'] ?? false) }}" alt="{{ $product_name }}">
|
||||
<div class="content-details fadeIn-bottom">
|
||||
<h3 class="content-title d-none"></h3>
|
||||
<p class="content-text">{!! $article['description'] !!}</p>
|
||||
@@ -19,14 +20,16 @@
|
||||
</div>
|
||||
@include('Shop.Articles.partials.article_' . $product_type)
|
||||
</a>
|
||||
@switch ($article_nature)
|
||||
@switch ($article_nature ?? 0)
|
||||
@case(1)
|
||||
<button type="button" class="btn btn-link bg-green text-white w-100 basket" data-id="{{ $article['semences']['id'] ?? false }}">
|
||||
<button type="button" class="btn btn-link bg-green text-white w-100 basket"
|
||||
data-id="{{ $article['semences']['id'] ?? false }}">
|
||||
Ajout rapide
|
||||
</button>
|
||||
@break
|
||||
@case(2)
|
||||
<button type="button" class="btn btn-link bg-green text-white w-100 basket" data-id="{{ $article['plants']['id'] ?? false }}">
|
||||
<button type="button" class="btn btn-link bg-green text-white w-100 basket"
|
||||
data-id="{{ $article['plants']['id'] ?? false }}">
|
||||
Ajout rapide
|
||||
</button>
|
||||
@break
|
||||
|
||||
@@ -36,6 +36,7 @@
|
||||
'name' => 'email',
|
||||
'value' => $customer['email'] ?? '',
|
||||
'label' => 'Email',
|
||||
'required' => true,
|
||||
])
|
||||
</div>
|
||||
<div class="col-6">
|
||||
|
||||
@@ -34,7 +34,10 @@
|
||||
|
||||
<div class="row d-none" id="address_delivery">
|
||||
<div class="col-12">
|
||||
@include('Shop.Customers.partials.address', ['label' => 'Adresse de livraison', 'prefix' => 'delivery_'])
|
||||
@include('Shop.Customers.partials.address', [
|
||||
'label' => 'Adresse de livraison',
|
||||
'prefix' => 'delivery_'
|
||||
])
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -50,8 +53,7 @@
|
||||
|
||||
</div>
|
||||
</div>
|
||||
{!! Form::close() !!}
|
||||
|
||||
</form>
|
||||
|
||||
@push('js')
|
||||
<script>
|
||||
|
||||
Reference in New Issue
Block a user