forked from verdnatura/salix-front
feat: manual invoice in two lines
This commit is contained in:
parent
909244a658
commit
6eb0c93802
|
@ -230,42 +230,58 @@ watchEffect(selectedRows);
|
||||||
</span>
|
</span>
|
||||||
</template>
|
</template>
|
||||||
<template #more-create-dialog="{ data }">
|
<template #more-create-dialog="{ data }">
|
||||||
<div class="flex no-wrap flex-center">
|
<div class="row q-col-gutter-md">
|
||||||
<VnSelect
|
<div class="col-12">
|
||||||
url="Tickets"
|
<VnSelect
|
||||||
v-model="data.ticketFk"
|
url="Tickets"
|
||||||
:label="t('invoiceOutList.tableVisibleColumns.ticket')"
|
v-model="data.ticketFk"
|
||||||
option-label="id"
|
:label="t('invoiceOutList.tableVisibleColumns.ticket')"
|
||||||
option-value="id"
|
option-label="id"
|
||||||
>
|
option-value="id"
|
||||||
<template #option="scope">
|
>
|
||||||
<QItem v-bind="scope.itemProps">
|
<template #option="scope">
|
||||||
<QItemSection>
|
<QItem v-bind="scope.itemProps">
|
||||||
<QItemLabel> #{{ scope.opt?.id }} </QItemLabel>
|
<QItemSection>
|
||||||
<QItemLabel caption>{{ scope.opt?.nickname }}</QItemLabel>
|
<QItemLabel> #{{ scope.opt?.id }} </QItemLabel>
|
||||||
</QItemSection>
|
<QItemLabel caption>{{
|
||||||
</QItem>
|
scope.opt?.nickname
|
||||||
</template>
|
}}</QItemLabel>
|
||||||
</VnSelect>
|
</QItemSection>
|
||||||
<span class="q-ml-md">O</span>
|
</QItem>
|
||||||
|
</template>
|
||||||
|
</VnSelect>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="row q-col-gutter-md">
|
||||||
|
<div class="col-12">
|
||||||
|
<span class="q-ml-md q-mt-md">O</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="row q-col-gutter-md">
|
||||||
|
<div class="col-12">
|
||||||
|
<VnSelect
|
||||||
|
url="Clients"
|
||||||
|
v-model="data.clientFk"
|
||||||
|
:label="t('invoiceOutModule.customer')"
|
||||||
|
:options="customerOptions"
|
||||||
|
option-label="name"
|
||||||
|
option-value="id"
|
||||||
|
@update:model-value="fetchClientAddress"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="row q-col-gutter-md">
|
||||||
|
<div class="col-12">
|
||||||
|
<VnSelect
|
||||||
|
v-model="data.addressFk"
|
||||||
|
:label="t('invoiceOutModule.address')"
|
||||||
|
:options="addressOptions"
|
||||||
|
option-value="id"
|
||||||
|
option-label="nickname"
|
||||||
|
:disable="!data.clientFk"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<VnSelect
|
|
||||||
url="Clients"
|
|
||||||
v-model="data.clientFk"
|
|
||||||
:label="t('invoiceOutModule.customer')"
|
|
||||||
:options="customerOptions"
|
|
||||||
option-label="name"
|
|
||||||
option-value="id"
|
|
||||||
@update:model-value="fetchClientAddress"
|
|
||||||
/>
|
|
||||||
<VnSelect
|
|
||||||
v-model="data.addressFk"
|
|
||||||
:label="t('invoiceOutModule.address')"
|
|
||||||
:options="addressOptions"
|
|
||||||
option-value="id"
|
|
||||||
option-label="nickname"
|
|
||||||
:disable="!data.clientFk"
|
|
||||||
/>
|
|
||||||
|
|
||||||
<VnSelect
|
<VnSelect
|
||||||
url="InvoiceOutSerials"
|
url="InvoiceOutSerials"
|
||||||
|
@ -294,20 +310,16 @@ watchEffect(selectedRows);
|
||||||
</template>
|
</template>
|
||||||
</VnTable>
|
</VnTable>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<i18n>
|
<i18n>
|
||||||
en:
|
en:
|
||||||
searchInvoice: Search issued invoice
|
searchInvoice: Search issued invoice
|
||||||
fileDenied: Browser denied file download...
|
fileDenied: Browser denied file download...
|
||||||
fileAllowed: Successful download of CSV file
|
fileAllowed: Successful download of CSV file
|
||||||
youCanSearchByInvoiceReference: You can search by invoice reference
|
youCanSearchByInvoiceReference: You can search by invoice reference
|
||||||
createInvoice: Make invoice
|
createInvoice: Make invoice Create manual invoice: Create manual invoice
|
||||||
Create manual invoice: Create manual invoice
|
es:
|
||||||
es:
|
searchInvoice: Buscar factura emitida fileDenied: El navegador denegó la
|
||||||
searchInvoice: Buscar factura emitida
|
descarga de archivos... fileAllowed: Descarga exitosa de archivo CSV
|
||||||
fileDenied: El navegador denegó la descarga de archivos...
|
|
||||||
fileAllowed: Descarga exitosa de archivo CSV
|
|
||||||
youCanSearchByInvoiceReference: Puedes buscar por referencia de la factura
|
youCanSearchByInvoiceReference: Puedes buscar por referencia de la factura
|
||||||
createInvoice: Crear factura
|
createInvoice: Crear factura Create manual invoice: Crear factura manual
|
||||||
Create manual invoice: Crear factura manual
|
|
||||||
</i18n>
|
</i18n>
|
||||||
|
|
Loading…
Reference in New Issue