From 0a9d03e21460eca15ac54b7bbf675602cbc3ca12 Mon Sep 17 00:00:00 2001 From: Ludovic CANDELLIER Date: Sun, 20 Feb 2022 21:59:19 +0100 Subject: [PATCH] Add price taxed --- .../Shop/Offers/partials/tariff.blade.php | 61 +++++++++---------- .../Shop/Offers/partials/variation.blade.php | 6 +- 2 files changed, 30 insertions(+), 37 deletions(-) diff --git a/resources/views/Admin/Shop/Offers/partials/tariff.blade.php b/resources/views/Admin/Shop/Offers/partials/tariff.blade.php index 68131e16..97b69bc4 100644 --- a/resources/views/Admin/Shop/Offers/partials/tariff.blade.php +++ b/resources/views/Admin/Shop/Offers/partials/tariff.blade.php @@ -1,34 +1,29 @@ -
-
- {{ $tariff['ref'] ?? null }} -
-
- {{ $tariff['name'] ?? null }} -
-
- -
-
- @foreach (($tariff['price_lists'] ?? []) as $price_list) - {{ $price_list['sale_channel']['name'] }} - {{ $price_list['name'] }} - @if ($price_list['price_list_values'] ?? false) - - - - - - - - @foreach (($price_list['price_list_values'] ?? []) as $price_value) - - - - - @endforeach -
SeuilPrix
{{ $price_value['quantity'] }}{{ $price_value['price'] }}
- @endif - @endforeach -
-
+@component('components.card', ['title' => $tariff['name'] ?? null ]) + @foreach (($tariff['price_lists'] ?? []) as $price_list) +
+
+ Canal de vente : {{ $price_list['sale_channel']['name'] }}
+ Nom de liste de prix : {{ $price_list['name'] }} + @if ($price_list['price_list_values'] ?? false) + + + + + + + + + @foreach (($price_list['price_list_values'] ?? []) as $price_value) + + + + + + @endforeach +
SeuilPrix HTPrix TTC
{{ $price_value['quantity'] }}{{ $price_value['price'] }}{{ $price_value['price_taxed'] }}
+ @endif +
+
+ @endforeach +@endcomponent diff --git a/resources/views/Admin/Shop/Offers/partials/variation.blade.php b/resources/views/Admin/Shop/Offers/partials/variation.blade.php index 546edcfd..b1d8e922 100644 --- a/resources/views/Admin/Shop/Offers/partials/variation.blade.php +++ b/resources/views/Admin/Shop/Offers/partials/variation.blade.php @@ -1,8 +1,6 @@ -
+
- - {{ $variation['name'] }} - +

{{ $variation['name'] }}