@stack('price_input_start')
{{ Form::moneyGroup('price', '', '', ['required' => 'required', 'row-input' => 'true', 'v-model' => 'row.price', 'v-error' => 'form.errors.get(\'items.\' + index + \'.price\')', 'v-error-message' => 'form.errors.get(\'items.\' + index + \'.price\')' , 'data-item' => 'price', 'currency' => $currency, 'dynamic-currency' => 'currency', 'change' => 'row.price = $event; form.errors.clear(\'items.\' + index + \'.price\'); onCalculateTotal'], 0.00, 'text-right input-price p-0') }}
@@ -110,7 +110,7 @@
@stack('total_td_start')
@if (!$hideAmount)
-
+ |
{{ Form::moneyGroup('total', '', '', ['required' => 'required', 'disabled' => 'true' , 'row-input' => 'true', 'v-model' => 'row.total', 'data-item' => 'total', 'currency' => $currency, 'dynamic-currency' => 'currency'], 0.00, 'text-right input-price disabled-money') }}
@@ -119,7 +119,7 @@
@stack('total_td_end')
@stack('delete_td_start')
- |
+ |
|
-
+ |
@@ -142,65 +142,75 @@
+
@if (!$hideDiscount && in_array(setting('localisation.discount_location'), ['item', 'both']))
-
+ |
-
+
|
-
+
+ |
-
+
|
-
+
+ |
|
-
+
+ |
|
-
+ |
- {{ trans('invoices.discount') }}
- @stack('discount_input_start')
- |
-
+
+ |
{{ 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') }}
|
-
+
+ |
@@ -210,37 +220,41 @@
|
-
-
- {{ trans_choice('general.taxes', 1) }}
+
+
+
+ {{ trans_choice('general.taxes', 1) }}
+
- @stack('taxes_input_start')
-
- @stack('taxes_input_end')
+ @stack('taxes_input_start')
+
+ @stack('taxes_input_end')
|
-
+
+ |
{{ Form::moneyGroup('tax', '', '', ['required' => 'required', 'disabled' => 'true' , 'row-input' => 'true', 'v-model' => 'row_tax.price', 'data-item' => 'total', 'currency' => $currency, 'dynamic-currency' => 'currency'], 0.00, 'text-right input-price disabled-money') }}
|
-
+
+ |
@@ -248,11 +262,11 @@
| |
-
-
-
+
+
+
{{ trans_choice('general.taxes', 1) }}
-
+
@stack('taxes_input_start')
|
-
+
+ |
__
|
-
+
+ |
@if (!$hideDiscount && in_array(setting('localisation.discount_location'), ['item', 'both']))
|
|
+
|
diff --git a/resources/views/components/documents/form/totals.blade.php b/resources/views/components/documents/form/totals.blade.php
index 78fe2071b..79b028c70 100644
--- a/resources/views/components/documents/form/totals.blade.php
+++ b/resources/views/components/documents/form/totals.blade.php
@@ -3,9 +3,9 @@