Invoice styling edited again
This commit is contained in:
parent
499d889acf
commit
f9ad078c08
40
public/css/custom.css
vendored
40
public/css/custom.css
vendored
@ -1628,3 +1628,43 @@ table .align-items-center td span.badge {
|
|||||||
display: contents !important;
|
display: contents !important;
|
||||||
}
|
}
|
||||||
/* Select Tag Fixed Content Finish */
|
/* 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;
|
||||||
|
}
|
||||||
|
}
|
@ -136,20 +136,6 @@
|
|||||||
|
|
||||||
<td class="border-top-0 p-0" colspan="4">
|
<td class="border-top-0 p-0" colspan="4">
|
||||||
<table class="w-100">
|
<table class="w-100">
|
||||||
<colgroup>
|
|
||||||
@if (!$hideDiscount && in_array(setting('localisation.discount_location'), ['item', 'both']))
|
|
||||||
<col style="width: 25%;">
|
|
||||||
<col style="width: 30%;">
|
|
||||||
<col style="width: 55%;">
|
|
||||||
<col style="width: 40px;">
|
|
||||||
@else
|
|
||||||
<col style="width: 10%;">
|
|
||||||
<col style="width: 10%;">
|
|
||||||
<col style="width: 42%;">
|
|
||||||
<col style="width: 40px;">
|
|
||||||
@endif
|
|
||||||
</colgroup>
|
|
||||||
|
|
||||||
<tbody>
|
<tbody>
|
||||||
|
|
||||||
@if (!$hideDiscount && in_array(setting('localisation.discount_location'), ['item', 'both']))
|
@if (!$hideDiscount && in_array(setting('localisation.discount_location'), ['item', 'both']))
|
||||||
@ -230,7 +216,7 @@
|
|||||||
|
|
||||||
<tr v-for="(row_tax, row_tax_index) in row.tax_ids"
|
<tr v-for="(row_tax, row_tax_index) in row.tax_ids"
|
||||||
:index="row_tax_index">
|
:index="row_tax_index">
|
||||||
<td class="pl-0 pb-0 border-0" :class="{'pb-2' : !row.add_tax}" style="width: 42%;">
|
<td class="pl-0 pb-0 border-0 row-tax-input" :class="{'pb-2' : !row.add_tax}" style="width: 244px;">
|
||||||
<div>
|
<div>
|
||||||
<div style="float: left; margin-top: 15px; margin-right:2px">
|
<div style="float: left; margin-top: 15px; margin-right:2px">
|
||||||
{{ trans_choice('general.taxes', 1) }}
|
{{ trans_choice('general.taxes', 1) }}
|
||||||
@ -258,13 +244,13 @@
|
|||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
|
|
||||||
<td :class="{'pb-2' : !row.add_tax}" class="border-0 pb-0 text-right long-texts" style="width: 39%;">
|
<td :class="{'pb-2' : !row.add_tax}" class="border-0 pb-0 text-right long-texts row-tax-value" style="width: 243px;">
|
||||||
<div>
|
<div>
|
||||||
{{ 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') }}
|
{{ 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') }}
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
|
|
||||||
<td class="pb-3 pl-2 align-bottom border-0" :class="{'pb-2' : !row.add_tax}" style="width:19%;" >
|
<td class="pb-3 pl-2 align-bottom border-0 row-tax-clear" :class="{'pb-2' : !row.add_tax}" style="max-width: 40px;">
|
||||||
<button type="button" @click="onDeleteTax(index, row_tax_index)" class="btn btn-link btn-delete p-0">
|
<button type="button" @click="onDeleteTax(index, row_tax_index)" class="btn btn-link btn-delete p-0">
|
||||||
<i class="far fa-trash-alt"></i>
|
<i class="far fa-trash-alt"></i>
|
||||||
</button>
|
</button>
|
||||||
@ -272,7 +258,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<tr v-if="row.add_tax">
|
<tr v-if="row.add_tax">
|
||||||
<td class="pl-0 border-0" style="width:42%;">
|
<td class="pl-0 border-0 row-tax-input" style="width: 244px;">
|
||||||
<div>
|
<div>
|
||||||
<div style="float: left; margin-top: 15px; margin-right:2px;">
|
<div style="float: left; margin-top: 15px; margin-right:2px;">
|
||||||
{{ trans_choice('general.taxes', 1) }}
|
{{ trans_choice('general.taxes', 1) }}
|
||||||
@ -322,18 +308,18 @@
|
|||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
|
|
||||||
<td class="border-0 text-right long-texts align-middle;" style="width:39%;">
|
<td class="border-0 text-right long-texts align-middle row-tax-value" style="width: 243px;">
|
||||||
<div>
|
<div>
|
||||||
__
|
__
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
|
|
||||||
<td class="pb-3 pl-2 align-bottom border-0" style="width:19%;" >
|
<td class="pb-3 pl-2 align-bottom border-0 row-tax-clear" style="max-width: 40px;">
|
||||||
@if (!$hideDiscount && in_array(setting('localisation.discount_location'), ['item', 'both']))
|
@if (!$hideDiscount && in_array(setting('localisation.discount_location'), ['item', 'both']))
|
||||||
<button type="button" @click="onDeleteTax(index, 999)" class="btn btn-link btn-delete p-0">
|
<button type="button" @click="onDeleteTax(index, 999)" class="btn btn-link btn-delete p-0">
|
||||||
<i class="far fa-trash-alt"></i>
|
<i class="far fa-trash-alt"></i>
|
||||||
</button>
|
</button>
|
||||||
@endif
|
@endif
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user