diff --git a/public/css/custom.css b/public/css/custom.css index bf90d118f..97b04b683 100644 --- a/public/css/custom.css +++ b/public/css/custom.css @@ -1631,4 +1631,51 @@ table .align-items-center td span.badge { .form-group .el-select .el-select__tags > span { display: contents !important; } -/* Select Tag Fixed Content Finish */ \ No newline at end of file +/* Select Tag Fixed Content Finish */ + +/* Line item */ +.line-item-link { + display: flex; + padding-bottom:10px; +} + +.line-item-area { + display: flex; + justify-content: space-between; + align-items:center; +} + +.line-item-content { + position: relative; + width: 100%; + max-width:242px; +} + +.line-item-content-right { + display: flex; + align-items: center; +} + +.line-item-content-right-price { + padding-right: 1.5rem; +} + +.line-item-content-right-delete { + width:40px; + padding-right: 1.5rem; +} + +.line-item-text { + width: 54px; +} + +@media (max-width: 1500px) { + @media not all and (min-resolution:.001dpcm) { @media { + + .line-item-content { + max-width:223px; + } +}} +} + +/* Line item */ \ No newline at end of file diff --git a/resources/views/components/documents/form/line-item.blade.php b/resources/views/components/documents/form/line-item.blade.php index 7b9c7ecde..4cb3b161f 100644 --- a/resources/views/components/documents/form/line-item.blade.php +++ b/resources/views/components/documents/form/line-item.blade.php @@ -128,201 +128,177 @@ @stack('delete_td_end') -
-
-
-
- |
-
-
+
+
+
+
+
+
+ |
-
- - | - -- | -
-
-
+
- {{ trans('invoices.discount') }}
+
+
+
+
+ {{ trans('invoices.discount') }}
+
+ @stack('discount_input_start')
+
+
+
+
+
+
+
- @stack('discount_input_start')
-
-
-
-
+
-
-
-
-
-
-
-
-
- |
-
-
-
+
+ @stack('discount_input_end')
+
+
+
{{ Form::moneyGroup('discount_amount', '', '', ['required' => 'required', 'disabled' => 'true' , 'row-input' => 'true', 'v-model' => 'row.discount_amount', 'data-item' => 'discount_amount', '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_start')
+
+
+
+
{{ 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')
-
+
+
+
+
+
+ {{ trans_choice('general.taxes', 1) }}
- |
-
-
+ @stack('taxes_input_start')
+
+
+
__
- |
-
-
- @if (!$hideDiscount && in_array(setting('localisation.discount_location'), ['item', 'both']))
+
+ @if (!$hideDiscount && in_array(setting('localisation.discount_location'), ['item', 'both']))
- @endif
- |
-