fix orders datatables on profile, fix deliveries for profile (public & active)
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
@section('content')
|
||||
@if ($basket)
|
||||
<div class="row">
|
||||
<div class="col-8">
|
||||
<div class="col-lg-8 col-md-12">
|
||||
<div class="row mb-3">
|
||||
<div class="col-4">
|
||||
<h1>Panier</h1>
|
||||
@@ -27,7 +27,7 @@
|
||||
</div>
|
||||
@endforeach
|
||||
</div>
|
||||
<div class="col-4">
|
||||
<div class="col-lg-4 col-md-12">
|
||||
<x-card class='shadow'>
|
||||
@include('Shop.Baskets.partials.basketTotal')
|
||||
<div class="row m-3">
|
||||
@@ -108,7 +108,7 @@
|
||||
}
|
||||
|
||||
function calculateTotalShipped() {
|
||||
var total_shipped = parseFloat($('#basket-total').html()) + 5;
|
||||
var total_shipped = parseFloat($('#basket-total').html());
|
||||
$('#basket-total-shipped').html(fixNumber(total_shipped));
|
||||
}
|
||||
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
<span id="basket-total">{{ $basket['total'] ?? 0 }}</span> €
|
||||
</div>
|
||||
</div>
|
||||
<!--
|
||||
<div class="row mb-3">
|
||||
<div class="col-6">
|
||||
LIVRAISON
|
||||
@@ -25,11 +26,12 @@
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
-->
|
||||
<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">{{ App\Repositories\Core\User\ShopCart::fixDecimal(($basket['total'] ?? 0) + 5) }}</span> €
|
||||
<span id="basket-total-shipped">{{ App\Repositories\Core\User\ShopCart::fixDecimal(($basket['total'] ?? 0)) }}</span> €
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user