#7936 improve InvoiceIn #1004

Merged
jorgep merged 55 commits from 7936-improveInvoiceIn into dev 2024-12-18 09:22:09 +00:00
3 changed files with 17 additions and 3 deletions
Showing only changes of commit cc72f220dc - Show all commits

View File

@ -312,7 +312,7 @@ function handleKeyDown(event) {
<QIcon
v-show="value"
name="close"
@click.stop="
@click="
() => {
value = null;
emit('remove');
@ -325,6 +325,18 @@ function handleKeyDown(event) {
<template v-for="(_, slotName) in $slots" #[slotName]="slotData" :key="slotName">
<slot :name="slotName" v-bind="slotData ?? {}" :key="slotName" />
</template>
<template #option="{ opt, itemProps }">
<QItem v-bind="itemProps">
<QItemSection>
<QItemLabel v-if="opt[optionValue] == opt[optionLabel]">{{
opt[optionLabel]
}}</QItemLabel>
<QItemLabel v-else>{{
`#${opt[optionValue]} - ${opt[optionLabel]}`
}}</QItemLabel>
</QItemSection>
</QItem>
</template>
</QSelect>

Por defecto,

Por defecto,
</template>

View File

@ -356,7 +356,10 @@ const createInvoiceInCorrection = async () => {
</template>
<template #body="{ entity }">
<VnLv :label="t('invoiceIn.list.issued')" :value="toDate(entity.issued)" />
<VnLv :label="t('invoiceIn.summary.booked')" :value="toDate(entity.booked)" />
<VnLv
:label="t('invoiceIn.summary.bookedDate')"
:value="toDate(entity.booked)"
/>
<VnLv :label="t('invoiceIn.list.amount')" :value="toCurrency(totalAmount)" />
<VnLv :label="t('invoiceIn.list.supplier')">
<template #value>

View File

@ -50,7 +50,6 @@ const activities = ref([]);
dense
outlined
rounded
:filter-options="['id', 'name']"
/>
</QItemSection>
</QItem>