From 6978ad868c7903767c38510c4eaf6e26e9a09176 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=BCneyt=20=C5=9Eent=C3=BCrk?= Date: Tue, 5 Jan 2021 14:29:53 +0300 Subject: [PATCH] document item tax and discount styling.. --- .../documents/form/line-item.blade.php | 41 ++++++++++++------- 1 file changed, 26 insertions(+), 15 deletions(-) diff --git a/resources/views/components/documents/form/line-item.blade.php b/resources/views/components/documents/form/line-item.blade.php index 6dc86d0f2..9bf4830cb 100644 --- a/resources/views/components/documents/form/line-item.blade.php +++ b/resources/views/components/documents/form/line-item.blade.php @@ -137,26 +137,33 @@ - - - + @if (!$hideDiscount && in_array(setting('localisation.discount_location'), ['item', 'both'])) + + + + @else + + + + + @endif @if (!$hideDiscount && in_array(setting('localisation.discount_location'), ['item', 'both'])) - - - - -
-
+
+
-
+
+
@@ -171,11 +178,14 @@
-
- {{ trans('invoices.discount') }} +
+
+
+ {{ trans('invoices.discount') }} +
+ @stack('discount_input_start') -
+
@@ -204,13 +214,13 @@
+
{{ Form::moneyGroup('discount', '', '', ['required' => 'required', 'disabled' => 'true' , 'row-input' => 'true', 'value' => 'row.discount', 'data-item' => 'discount', 'currency' => $currency, 'dynamic-currency' => 'currency'], 0.00, 'text-right input-price disabled-money') }}
+ @@ -222,7 +232,7 @@ :index="row_tax_index">
-
+
{{ trans_choice('general.taxes', 1) }}
@@ -264,13 +274,14 @@
-
+
{{ trans_choice('general.taxes', 1) }}
@stack('taxes_input_start')