forked from verdnatura/salix-front
Merge pull request 'refactor: refs #6899 corrected Lilium styles and functionalities' (!304) from 6899-endInvoiceOutMigration into dev
Reviewed-on: verdnatura/salix-front#304 Reviewed-by: Alex Moreno <alexm@verdnatura.es>
This commit is contained in:
commit
bda232f1c3
|
@ -136,6 +136,19 @@ select:-webkit-autofill {
|
||||||
background-color: var(--vn-section-color);
|
background-color: var(--vn-section-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.q-checkbox {
|
||||||
|
& .q-checkbox__label {
|
||||||
|
color: var(--vn-text-color);
|
||||||
|
}
|
||||||
|
& .q-checkbox__inner {
|
||||||
|
color: var(--vn-label-color);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.tr-header {
|
||||||
|
color: var(--vn-label-color);
|
||||||
|
}
|
||||||
|
|
||||||
.q-chip,
|
.q-chip,
|
||||||
.q-notification__message,
|
.q-notification__message,
|
||||||
.q-notification__icon {
|
.q-notification__icon {
|
||||||
|
|
|
@ -138,7 +138,7 @@ const ticketsColumns = ref([
|
||||||
<VnTitle :text="t('invoiceOut.summary.taxBreakdown')" />
|
<VnTitle :text="t('invoiceOut.summary.taxBreakdown')" />
|
||||||
<QTable :columns="taxColumns" :rows="invoiceOut.taxesBreakdown" flat>
|
<QTable :columns="taxColumns" :rows="invoiceOut.taxesBreakdown" flat>
|
||||||
<template #header="props">
|
<template #header="props">
|
||||||
<QTr :props="props">
|
<QTr class="tr-header" :props="props">
|
||||||
<QTh v-for="col in props.cols" :key="col.name" :props="props">
|
<QTh v-for="col in props.cols" :key="col.name" :props="props">
|
||||||
{{ t(col.label) }}
|
{{ t(col.label) }}
|
||||||
</QTh>
|
</QTh>
|
||||||
|
@ -149,6 +149,18 @@ const ticketsColumns = ref([
|
||||||
<QCard class="vn-three">
|
<QCard class="vn-three">
|
||||||
<VnTitle :text="t('invoiceOut.summary.tickets')" />
|
<VnTitle :text="t('invoiceOut.summary.tickets')" />
|
||||||
<QTable v-if="tickets" :columns="ticketsColumns" :rows="tickets" flat>
|
<QTable v-if="tickets" :columns="ticketsColumns" :rows="tickets" flat>
|
||||||
|
<template #header="props">
|
||||||
|
<QTr :props="props">
|
||||||
|
<QTh
|
||||||
|
class="tr-header"
|
||||||
|
v-for="col in props.cols"
|
||||||
|
:key="col.name"
|
||||||
|
:props="props"
|
||||||
|
>
|
||||||
|
{{ t(col.label) }}
|
||||||
|
</QTh>
|
||||||
|
</QTr>
|
||||||
|
</template>
|
||||||
<template #body-cell-item="{ value }">
|
<template #body-cell-item="{ value }">
|
||||||
<QTd>
|
<QTd>
|
||||||
<QBtn flat color="primary">
|
<QBtn flat color="primary">
|
||||||
|
@ -159,7 +171,7 @@ const ticketsColumns = ref([
|
||||||
</template>
|
</template>
|
||||||
<template #body-cell-quantity="{ value, row }">
|
<template #body-cell-quantity="{ value, row }">
|
||||||
<QTd>
|
<QTd>
|
||||||
<QBtn flat color="primary" dense>
|
<QBtn class="no-uppercase" flat color="primary" dense>
|
||||||
{{ value }}
|
{{ value }}
|
||||||
<CustomerDescriptorProxy :id="row.id" />
|
<CustomerDescriptorProxy :id="row.id" />
|
||||||
</QBtn>
|
</QBtn>
|
||||||
|
@ -170,3 +182,8 @@ const ticketsColumns = ref([
|
||||||
</template>
|
</template>
|
||||||
</CardSummary>
|
</CardSummary>
|
||||||
</template>
|
</template>
|
||||||
|
<style lang="scss" scoped>
|
||||||
|
.no-uppercase {
|
||||||
|
text-transform: none;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
|
@ -119,8 +119,8 @@ const columns = computed(() => [
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: t('invoiceOut.negativeBases.comercial'),
|
label: t('invoiceOut.negativeBases.comercial'),
|
||||||
field: 'workerSocialName',
|
field: 'workerName',
|
||||||
name: 'comercial',
|
name: 'worker',
|
||||||
align: 'left',
|
align: 'left',
|
||||||
},
|
},
|
||||||
]);
|
]);
|
||||||
|
@ -181,9 +181,11 @@ const downloadCSV = async () => {
|
||||||
<TicketDescriptorProxy :id="row.ticketFk" />
|
<TicketDescriptorProxy :id="row.ticketFk" />
|
||||||
</QTd>
|
</QTd>
|
||||||
</template>
|
</template>
|
||||||
<template #body-cell-comercial="{ row }">
|
<template #body-cell-worker="{ row }">
|
||||||
<QTd>
|
<QTd>
|
||||||
<QBtn flat dense color="blue">{{ row.comercialName }}</QBtn>
|
<QBtn class="no-uppercase" flat dense color="blue">{{
|
||||||
|
row.workerName
|
||||||
|
}}</QBtn>
|
||||||
<WorkerDescriptorProxy :id="row.comercialId" />
|
<WorkerDescriptorProxy :id="row.comercialId" />
|
||||||
</QTd>
|
</QTd>
|
||||||
</template>
|
</template>
|
||||||
|
@ -211,6 +213,9 @@ const downloadCSV = async () => {
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
padding: 6px;
|
padding: 6px;
|
||||||
}
|
}
|
||||||
|
.no-uppercase {
|
||||||
|
text-transform: none;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<i18n>
|
<i18n>
|
||||||
|
|
Loading…
Reference in New Issue