[WIP] Finish the order process
This commit is contained in:
@@ -44,7 +44,7 @@
|
||||
label: '{{ __('Commander') }}',
|
||||
className: 'btn-success',
|
||||
callback: function() {
|
||||
// submitModal(form_id);
|
||||
window.location = "{{ route('Shop.Orders.order') }}";
|
||||
}
|
||||
},
|
||||
};
|
||||
|
||||
@@ -6,11 +6,13 @@
|
||||
Quantité : 1
|
||||
</div>
|
||||
@include('components.form.button', [
|
||||
'class' => 'btn-green-dark basket semences mb-3 mt-2 shadow',
|
||||
'txt' => 'Ajouter au panier',
|
||||
'class' => 'btn-green-dark basket semences mb-3 mt-2 shadow',
|
||||
'txt' => 'Ajouter au panier',
|
||||
'data_id' => $article['semences']['offer_id'] ?? null,
|
||||
])
|
||||
</div>
|
||||
@endif
|
||||
|
||||
@if ($article['plants'] ?? false)
|
||||
<div class="w-100 mt-3 p-1 bg-yellow-light yellow-dark border border-warning text-center">
|
||||
<span style="font-size: 1.4em; font-weight: bold;">{{ $article['plants']['price'] ?? null }}</span> €<br>
|
||||
@@ -19,8 +21,9 @@
|
||||
Quantité : 1
|
||||
</div>
|
||||
@include('components.form.button', [
|
||||
'class' => 'btn-success basket semences mb-3 mt-2 shadow',
|
||||
'txt' => 'Ajouter au panier',
|
||||
'class' => 'btn-success basket plants mb-3 mt-2 shadow',
|
||||
'txt' => 'Ajouter au panier',
|
||||
'data_id' => $article['plants']['offer_id'] ?? null,
|
||||
])
|
||||
</div>
|
||||
@endif
|
||||
Reference in New Issue
Block a user