refactor: refs #8441 update VehicleInvoiceIn component and localizations
gitea/salix-front/pipeline/pr-dev This commit is unstable
Details
gitea/salix-front/pipeline/pr-dev This commit is unstable
Details
This commit is contained in:
parent
08e68e47b8
commit
59fdf0fd00
|
@ -117,27 +117,23 @@ async function unassignInvoice(id) {
|
|||
<VnSelect
|
||||
url="invoiceIns"
|
||||
:label="t('invoiceIn.supplierRef')"
|
||||
:include="{ relation: 'supplier', scope: { fields: ['id', 'name'] } }"
|
||||
:filter-options="['supplierRef', 'name']"
|
||||
v-model="data.invoiceInFk"
|
||||
option-label="supplierRef"
|
||||
:required="true"
|
||||
/>
|
||||
<!-- <VnSelect
|
||||
url="vehicles"
|
||||
:label="t('vehicle.numberPlate')"
|
||||
:field="['id', 'numberPlate']"
|
||||
v-model="data.vehicleFk"
|
||||
option-value="id"
|
||||
option-label="numberPlate"
|
||||
:required="true"
|
||||
/> -->
|
||||
>
|
||||
<template #option="scope">
|
||||
<QItem v-bind="scope.itemProps">
|
||||
<QItemSection>
|
||||
<QItemLabel>{{ scope.opt?.supplierRef }}</QItemLabel>
|
||||
<QItemLabel caption>{{
|
||||
scope.opt?.supplier?.name
|
||||
}}</QItemLabel>
|
||||
</QItemSection>
|
||||
</QItem>
|
||||
</template>
|
||||
</VnSelect>
|
||||
</template>
|
||||
</VnTable>
|
||||
</template>
|
||||
|
||||
<i18n>
|
||||
es:
|
||||
unassignInvoice: Desvincular factura
|
||||
unassignInvoiceConfirmation: Esta factura se desvinculará de este vehículo! ¿Continuar de todas formas?
|
||||
en:
|
||||
unassignInvoice: Unassign invoice
|
||||
unassignInvoiceConfirmation: This invoice will be unassigned from this vehicle! Continue anyway?
|
||||
</i18n>
|
||||
|
|
|
@ -21,4 +21,4 @@ vehicle:
|
|||
ticket:
|
||||
assignInvoice: Assign invoice
|
||||
unassignInvoice: Unassign invoice
|
||||
unassignInvoiceConfirmation: Are you sure you want to unassign the invoice?
|
||||
unassignInvoiceConfirmation: This invoice will be unassigned from this vehicle! Continue anyway?
|
||||
|
|
|
@ -19,6 +19,6 @@ vehicle:
|
|||
vehicleTypeFk: Tipo
|
||||
vehicleStateFk: Estado
|
||||
ticket:
|
||||
assignInvoice: Asignar factura
|
||||
unassignInvoice: Desasignar factura
|
||||
unassignInvoiceConfirmation: Seguro que quieres desasignar esta factura?
|
||||
assignInvoice: Vincular factura
|
||||
unassignInvoice: Desvincular factura
|
||||
unassignInvoiceConfirmation: Esta factura se desvinculará de este vehículo! ¿Continuar de todas formas?
|
||||
|
|
Loading…
Reference in New Issue