feat: manual invoice in two lines
gitea/salix-front/pipeline/pr-dev This commit looks good Details

This commit is contained in:
Javi Gallego 2024-10-03 10:17:36 +02:00
parent 909244a658
commit 6eb0c93802
1 changed files with 57 additions and 45 deletions

View File

@ -230,7 +230,8 @@ watchEffect(selectedRows);
</span>
</template>
<template #more-create-dialog="{ data }">
<div class="flex no-wrap flex-center">
<div class="row q-col-gutter-md">
<div class="col-12">
<VnSelect
url="Tickets"
v-model="data.ticketFk"
@ -242,13 +243,22 @@ watchEffect(selectedRows);
<QItem v-bind="scope.itemProps">
<QItemSection>
<QItemLabel> #{{ scope.opt?.id }} </QItemLabel>
<QItemLabel caption>{{ scope.opt?.nickname }}</QItemLabel>
<QItemLabel caption>{{
scope.opt?.nickname
}}</QItemLabel>
</QItemSection>
</QItem>
</template>
</VnSelect>
<span class="q-ml-md">O</span>
</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"
@ -258,6 +268,10 @@ watchEffect(selectedRows);
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')"
@ -266,6 +280,8 @@ watchEffect(selectedRows);
option-label="nickname"
:disable="!data.clientFk"
/>
</div>
</div>
<VnSelect
url="InvoiceOutSerials"
@ -294,20 +310,16 @@ watchEffect(selectedRows);
</template>
</VnTable>
</template>
<i18n>
en:
en:
searchInvoice: Search issued invoice
fileDenied: Browser denied file download...
fileAllowed: Successful download of CSV file
youCanSearchByInvoiceReference: You can search by invoice reference
createInvoice: Make invoice
Create manual invoice: Create manual invoice
es:
searchInvoice: Buscar factura emitida
fileDenied: El navegador denegó la descarga de archivos...
fileAllowed: Descarga exitosa de archivo CSV
createInvoice: Make invoice Create manual invoice: Create manual invoice
es:
searchInvoice: Buscar factura emitida fileDenied: El navegador denegó la
descarga de archivos... fileAllowed: Descarga exitosa de archivo CSV
youCanSearchByInvoiceReference: Puedes buscar por referencia de la factura
createInvoice: Crear factura
Create manual invoice: Crear factura manual
createInvoice: Crear factura Create manual invoice: Crear factura manual
</i18n>