7525-devToTest #419

Merged
alexm merged 177 commits from 7525-devToTest into test 2024-06-04 08:06:27 +00:00
1 changed files with 18 additions and 7 deletions
Showing only changes of commit 5aa3b14014 - Show all commits

View File

@ -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;
}
}
}
}