Files
opensem/resources/views/Shop/Baskets/partials/basketTotal.blade.php

45 lines
1.2 KiB
PHP

<div class="row mb-3">
<div class="col-6 text-uppercase">
Tarif appliqué :
</div>
<div class="col-6 text-right font-weight-bold">
<span id="basket_sale_channel">
{{ $sale_channel['name'] ?? null }}
</span>
</div>
</div>
<div class="row mb-3">
<div class="col-6">
<span id="basket-count">{{ $basket['quantity'] ?? 0 }}</span> ARTICLES
</div>
<div class="col-6 text-right font-weight-bold">
<span id="basket-total">
{{ $basket['total_taxed'] ?? 0 }}
</span>
</div>
</div>
@if ($basket['shipping'] ?? false)
<div class="row mb-3">
<div class="col-6">
LIVRAISON
</div>
<div class="col-6 text-right font-weight-bold">
<span id="shipping">
{{ $basket['shipping'] }}
</span>
</div>
</div>
<hr>
@endif
<div class="row mb-3 font-weight-bold" style="font-size: 1.6em;">
<div class="col-6">
TOTAL TTC
</div>
<div class="col-6 text-right">
<span id="basket-total-shipped">
{{ $basket['total_shipped'] ?? 0 }}
</span>
</div>
</div>