From f9ad078c08038f619e3e865b7f55894f918011df Mon Sep 17 00:00:00 2001 From: Burak Civan Date: Tue, 1 Jun 2021 15:02:51 +0300 Subject: [PATCH] Invoice styling edited again --- public/css/custom.css | 40 +++++++++++++++++++ .../documents/form/line-item.blade.php | 30 ++++---------- 2 files changed, 48 insertions(+), 22 deletions(-) diff --git a/public/css/custom.css b/public/css/custom.css index 8e9cd06c8..8d79abef3 100644 --- a/public/css/custom.css +++ b/public/css/custom.css @@ -1628,3 +1628,43 @@ table .align-items-center td span.badge { display: contents !important; } /* Select Tag Fixed Content Finish */ + +@-moz-document url-prefix() { + .row-tax-clear { + max-width: 40px !important; + } + + .row-tax-value { + width: 167px !important; + } + + .row-tax-input { + width: 224px !important; + } + } + +.row-tax-clear { + max-width: 40px !important; +} + +.row-tax-value { + width: 243px !important; +} + +.row-tax-input { + width: 244px !important; +} + +@media (max-width: 1300px) { + .row-tax-clear { + max-width: 40px !important; + } + + .row-tax-value { + width: 233px !important; + } + + .row-tax-input { + width: 234px !important; + } +} \ 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 97a04b43d..7102085ab 100644 --- a/resources/views/components/documents/form/line-item.blade.php +++ b/resources/views/components/documents/form/line-item.blade.php @@ -136,20 +136,6 @@ - - @if (!$hideDiscount && in_array(setting('localisation.discount_location'), ['item', 'both'])) - - - - - @else - - - - - @endif - - @if (!$hideDiscount && in_array(setting('localisation.discount_location'), ['item', 'both'])) @@ -230,7 +216,7 @@ - - - - - -
+
{{ trans_choice('general.taxes', 1) }} @@ -258,13 +244,13 @@
+
{{ 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') }}
+ @@ -272,7 +258,7 @@
+
{{ trans_choice('general.taxes', 1) }} @@ -322,18 +308,18 @@
+
__
- @if (!$hideDiscount && in_array(setting('localisation.discount_location'), ['item', 'both'])) + + @if (!$hideDiscount && in_array(setting('localisation.discount_location'), ['item', 'both'])) - @endif + @endif