forked from verdnatura/salix-front
refactor: refs #6942 WIP summary layout
This commit is contained in:
parent
3c0936b2ef
commit
5aa3b14014
|
@ -65,7 +65,7 @@ const vatColumns = ref([
|
|||
field: (row) => taxRate(row.taxableBase, row.taxTypeSage?.rate),
|
||||
format: (value) => toCurrency(value, currency.value),
|
||||
sortable: true,
|
||||
align: 'left',
|
||||
align: 'center',
|
||||
},
|
||||
{
|
||||
name: 'currency',
|
||||
|
@ -319,7 +319,7 @@ const getLink = (param) => `#/invoice-in/${entityId.value}/${param}`;
|
|||
</QCardSection>
|
||||
</QCard>
|
||||
<!--Vat-->
|
||||
<QCard v-if="entity.invoiceInTax.length" class="vat" auto-width>
|
||||
<QCard v-if="entity.invoiceInTax.length" class="vat">
|
||||
<VnTitle :url="getLink('vat')" :text="t('invoiceIn.card.vat')" />
|
||||
<QTable
|
||||
:columns="vatColumns"
|
||||
|
@ -423,13 +423,24 @@ const getLink = (param) => `#/invoice-in/${entityId.value}/${param}`;
|
|||
}
|
||||
@media (min-width: $breakpoint-md) {
|
||||
.summaryBody {
|
||||
.q-card {
|
||||
&.vat {
|
||||
.vat {
|
||||
flex: 65%;
|
||||
table th {
|
||||
&:nth-child(5) {
|
||||
padding: 0;
|
||||
}
|
||||
&:last-child {
|
||||
padding: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&.due-day {
|
||||
.due-day {
|
||||
flex: 30%;
|
||||
table th {
|
||||
&:last-child {
|
||||
padding: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue