8282-testToMaster #1057
|
@ -48,7 +48,7 @@ const columns = computed(() => [
|
||||||
{
|
{
|
||||||
align: 'center',
|
align: 'center',
|
||||||
name: 'id',
|
name: 'id',
|
||||||
label: t('invoice id'),
|
label: t('invoiceId'),
|
||||||
chip: { condition: () => true },
|
chip: { condition: () => true },
|
||||||
isId: true,
|
isId: true,
|
||||||
columnFilter: { name: 'search' },
|
columnFilter: { name: 'search' },
|
||||||
|
@ -116,12 +116,12 @@ const columns = computed(() => [
|
||||||
name: 'tableActions',
|
name: 'tableActions',
|
||||||
actions: [
|
actions: [
|
||||||
{
|
{
|
||||||
title: t('view summary'),
|
title: t('viewSummary'),
|
||||||
icon: 'preview',
|
icon: 'preview',
|
||||||
action: (row) => viewSummary(row.id, InvoiceOutSummary),
|
action: (row) => viewSummary(row.id, InvoiceOutSummary),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: t('download pdf'),
|
title: t('downloadPdf'),
|
||||||
icon: 'vn:ticket',
|
icon: 'vn:ticket',
|
||||||
isPrimary: true,
|
isPrimary: true,
|
||||||
action: (row) => openPdf(row.id),
|
action: (row) => openPdf(row.id),
|
||||||
|
@ -170,8 +170,8 @@ watchEffect(selectedRows);
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<VnSearchbar
|
<VnSearchbar
|
||||||
:info="t('you can search by invoice reference')"
|
:info="t('youCanSearchByInvoiceReference')"
|
||||||
:label="t('search invoice')"
|
:label="t('searchInvoice')"
|
||||||
data-key="invoiceOut"
|
data-key="invoiceOut"
|
||||||
/>
|
/>
|
||||||
<RightMenu>
|
<RightMenu>
|
||||||
|
@ -187,7 +187,7 @@ watchEffect(selectedRows);
|
||||||
@click="downloadPdf()"
|
@click="downloadPdf()"
|
||||||
:disable="!hasSelectedCards"
|
:disable="!hasSelectedCards"
|
||||||
>
|
>
|
||||||
<QTooltip>{{ t('download pdf') }}</QTooltip>
|
<QTooltip>{{ t('downloadPdf') }}</QTooltip>
|
||||||
</QBtn>
|
</QBtn>
|
||||||
</template>
|
</template>
|
||||||
</VnSubToolbar>
|
</VnSubToolbar>
|
||||||
|
@ -197,7 +197,7 @@ watchEffect(selectedRows);
|
||||||
:url="`${MODEL}/filter`"
|
:url="`${MODEL}/filter`"
|
||||||
:create="{
|
:create="{
|
||||||
urlCreate: 'InvoiceOuts/createManualInvoice',
|
urlCreate: 'InvoiceOuts/createManualInvoice',
|
||||||
title: t('create manual invoice'),
|
title: t('createManualInvoice'),
|
||||||
onDataSaved: ({ id }) => tableRef.redirect(id),
|
onDataSaved: ({ id }) => tableRef.redirect(id),
|
||||||
formInitialData: { active: true },
|
formInitialData: { active: true },
|
||||||
}"
|
}"
|
||||||
|
@ -367,7 +367,7 @@ watchEffect(selectedRows);
|
||||||
<VnSelect
|
<VnSelect
|
||||||
url="InvoiceOutSerials"
|
url="InvoiceOutSerials"
|
||||||
v-model="data.serial"
|
v-model="data.serial"
|
||||||
:label="t('invoice serial')"
|
:label="t('invoiceSerial')"
|
||||||
:options="invoiceOutSerialsOptions"
|
:options="invoiceOutSerialsOptions"
|
||||||
option-label="description"
|
option-label="description"
|
||||||
option-value="code"
|
option-value="code"
|
||||||
|
@ -385,13 +385,13 @@ watchEffect(selectedRows);
|
||||||
</QItem>
|
</QItem>
|
||||||
</template>
|
</template>
|
||||||
</VnSelect>
|
</VnSelect>
|
||||||
<VnInputDate :label="t('due date')" v-model="data.maxShipped" />
|
<VnInputDate :label="t('dueDate')" v-model="data.maxShipped" />
|
||||||
</VnRow>
|
</VnRow>
|
||||||
<VnRow class="row q-col-gutter-xs">
|
<VnRow class="row q-col-gutter-xs">
|
||||||
<VnSelect
|
<VnSelect
|
||||||
url="TaxAreas"
|
url="TaxAreas"
|
||||||
v-model="data.taxArea"
|
v-model="data.taxArea"
|
||||||
:label="t('tax area')"
|
:label="t('taxArea')"
|
||||||
:options="taxAreasOptions"
|
:options="taxAreasOptions"
|
||||||
option-label="code"
|
option-label="code"
|
||||||
option-value="code"
|
option-value="code"
|
||||||
|
@ -417,24 +417,33 @@ watchEffect(selectedRows);
|
||||||
flex: 0.75;
|
flex: 0.75;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<i18n>
|
<i18n>
|
||||||
en:
|
en:
|
||||||
invoice id: Invoice ID
|
invoiceId: Invoice ID
|
||||||
view summary: View Summary
|
viewSummary: View Summary
|
||||||
download pdf: Download PDF
|
downloadPdf: Download PDF
|
||||||
you can search by invoice reference: You can search by invoice reference
|
youCanSearchByInvoiceReference: You can search by invoice reference
|
||||||
search invoice: Search Invoice
|
searchInvoice: Search Invoice
|
||||||
create manual invoice: Create Manual Invoice
|
createManualInvoice: Create Manual Invoice
|
||||||
invoice serial: Invoice Serial
|
invoiceSerial: Invoice Serial
|
||||||
tax area: Tax Area
|
taxArea: Tax Area
|
||||||
|
dueDate: Due Date
|
||||||
|
reference: Reference
|
||||||
|
basicData:
|
||||||
|
inactive: Inactive
|
||||||
|
|
||||||
es:
|
es:
|
||||||
invoice id: ID de factura
|
invoiceId: ID de factura
|
||||||
view summary: Ver resumen
|
viewSummary: Ver resumen
|
||||||
download pdf: Descargar PDF
|
downloadPdf: Descargar PDF
|
||||||
you can search by invoice reference: Puedes buscar por referencia de la factura
|
youCanSearchByInvoiceReference: Puedes buscar por referencia de la factura
|
||||||
search invoice: Buscar factura
|
searchInvoice: Buscar factura
|
||||||
create manual invoice: Crear factura manual
|
createManualInvoice: Crear factura manual
|
||||||
invoice serial: Serie de factura
|
invoiceSerial: Serie de factura
|
||||||
tax area: Área fiscal
|
taxArea: Área fiscal
|
||||||
|
dueDate: Fecha de vencimiento
|
||||||
|
reference: Referencia
|
||||||
|
basicData:
|
||||||
|
inactive: Inactivo
|
||||||
</i18n>
|
</i18n>
|
||||||
|
|
Loading…
Reference in New Issue