diff --git a/resources/views/components/documents/form/line-item.blade.php b/resources/views/components/documents/form/line-item.blade.php index 75bef8f39..554b42d4f 100644 --- a/resources/views/components/documents/form/line-item.blade.php +++ b/resources/views/components/documents/form/line-item.blade.php @@ -146,174 +146,184 @@ @stack('delete_td_end') - @if (in_array(setting('localisation.discount_location', 'total'), ['item', 'both'])) - - + + + @stack('item_custom_fields') - -
- -
- - -
- -
- - - - - - - - - -
- @stack('tax_id_input_start') -
-
- - - -
- - -
-
-
- @stack('tax_id_input_end') -
- - -
- {{ Form::moneyGroup('discount', '', '', ['required' => 'required', 'disabled' => 'true' , 'row-input' => 'true', 'v-model' => 'row.discount', 'data-item' => 'discount', 'currency' => $currency, 'dynamic-currency' => 'currency'], 0.00, 'text-right input-price disabled-money') }} -
- - - - - + + + + + + + + + + @if (!in_array(setting('localisation.discount_location', 'total'), ['item', 'both'])) + + + + + + - - @else - - @endif - - - - - - + + + + + + - - - - - - + @else + + @endif + + + + + + + + + + + +
+
+ +
+
+
+ +
+
+ +
- - {{ trans_choice('general.taxes', 1) }} - -
- @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') }} -
-
- -
+
+ @stack('tax_id_input_start') +
+
+ + + +
+ + +
+
+
+ @stack('tax_id_input_end') +
+
+
+ {{ Form::moneyGroup('discount', '', '', ['required' => 'required', 'disabled' => 'true' , 'row-input' => 'true', 'v-model' => 'row.discount', 'data-item' => 'discount', 'currency' => $currency, 'dynamic-currency' => 'currency'], 0.00, 'text-right input-price disabled-money') }} +
+
+ +
- - {{ trans_choice('general.taxes', 1) }} - -
- @stack('taxes_input_start') - - @stack('taxes_input_end') -
-
-
- __ -
-
+
+
+ {{ trans_choice('general.taxes', 1) }} + @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') }} +
+
+ +
+
+ {{ trans_choice('general.taxes', 1) }} + + @stack('taxes_input_start') + + @stack('taxes_input_end') +
+
+
+ __ +
+
+ +
- +