Add new data in getBasket context
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
@foreach ($basket as $nature => $items)
|
||||
<div class="row ml-1 mb-3 p-2 bg-green-light border">
|
||||
<div class="col-12">
|
||||
<h2 style="font-size: 1.6em;">{{ ucfirst($nature) }}</h2>
|
||||
<h2 style="font-size: 1.6em;" class="text-uppercase">{{ $nature }}</h2>
|
||||
@foreach ($items as $item)
|
||||
@include('Shop.Baskets.partials.article')
|
||||
@endforeach
|
||||
@@ -32,6 +32,7 @@
|
||||
<div class="row mb-3">
|
||||
<div class="col-6 text-uppercase">
|
||||
Tarif appliqué
|
||||
<span id="basket_sale_channel"></span>
|
||||
</div>
|
||||
<div class="col-6">
|
||||
{{ $sale_channel['name'] ?? '' }}
|
||||
@@ -41,7 +42,7 @@
|
||||
<div class="col-6">
|
||||
<span id="basket-count"></span> ARTICLES
|
||||
</div>
|
||||
<div class="col-6 text-right">
|
||||
<div class="col-6 text-right font-weight-bold">
|
||||
<span id="basket-total"></span> €
|
||||
</div>
|
||||
</div>
|
||||
@@ -49,12 +50,12 @@
|
||||
<div class="col-6">
|
||||
LIVRAISON
|
||||
</div>
|
||||
<div class="col-6 text-right">
|
||||
<div class="col-6 text-right font-weight-bold">
|
||||
<span id="shipping">5</span> €
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="row m-3" style="font-size: 1.6em; font-weight: 600;">
|
||||
<div class="row m-3 font-weight-bold" style="font-size: 1.6em;">
|
||||
<div class="col-6">
|
||||
TOTAL TTC
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user