forked from verdnatura/salix-front
refs #5835 refactor
This commit is contained in:
parent
3d046e4bf7
commit
b43985b9db
|
@ -347,7 +347,7 @@ export default {
|
||||||
},
|
},
|
||||||
invoiceOut: {
|
invoiceOut: {
|
||||||
pageTitles: {
|
pageTitles: {
|
||||||
invoiceOuts: 'Invoices Out',
|
invoiceOuts: 'Create invoice',
|
||||||
list: 'List',
|
list: 'List',
|
||||||
createInvoiceOut: 'Create invoice out',
|
createInvoiceOut: 'Create invoice out',
|
||||||
summary: 'Summary',
|
summary: 'Summary',
|
||||||
|
|
|
@ -347,7 +347,7 @@ export default {
|
||||||
},
|
},
|
||||||
invoiceOut: {
|
invoiceOut: {
|
||||||
pageTitles: {
|
pageTitles: {
|
||||||
invoiceOuts: 'Fact. emitidas',
|
invoiceOuts: 'Crear factura',
|
||||||
list: 'Listado',
|
list: 'Listado',
|
||||||
createInvoiceOut: 'Crear fact. emitida',
|
createInvoiceOut: 'Crear fact. emitida',
|
||||||
summary: 'Resumen',
|
summary: 'Resumen',
|
||||||
|
|
|
@ -193,6 +193,10 @@ function taxRate(taxableBase, rate) {
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function getLink(param) {
|
||||||
|
return `#/invoice-in/${entityId.value}/${param}`;
|
||||||
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
|
@ -208,7 +212,7 @@ function taxRate(taxableBase, rate) {
|
||||||
<!--Basic Data-->
|
<!--Basic Data-->
|
||||||
<QCard class="vn-one">
|
<QCard class="vn-one">
|
||||||
<QCardSection class="q-pa-none">
|
<QCardSection class="q-pa-none">
|
||||||
<a class="header" :href="`#/invoice-in/${entityId}/basic-data`">
|
<a class="header" :href="getLink('basic-data')">
|
||||||
{{ t('invoiceIn.pageTitles.basicData') }}
|
{{ t('invoiceIn.pageTitles.basicData') }}
|
||||||
<QIcon name="open_in_new" color="primary" />
|
<QIcon name="open_in_new" color="primary" />
|
||||||
</a>
|
</a>
|
||||||
|
@ -232,7 +236,7 @@ function taxRate(taxableBase, rate) {
|
||||||
</QCard>
|
</QCard>
|
||||||
<QCard class="vn-one">
|
<QCard class="vn-one">
|
||||||
<QCardSection class="q-pa-none">
|
<QCardSection class="q-pa-none">
|
||||||
<a class="header" :href="`#/invoice-in/${entityId}/basic-data`">
|
<a class="header" :href="getLink('basic-data')">
|
||||||
{{ t('invoiceIn.pageTitles.basicData') }}
|
{{ t('invoiceIn.pageTitles.basicData') }}
|
||||||
<QIcon name="open_in_new" color="primary" />
|
<QIcon name="open_in_new" color="primary" />
|
||||||
</a>
|
</a>
|
||||||
|
@ -257,7 +261,7 @@ function taxRate(taxableBase, rate) {
|
||||||
</QCard>
|
</QCard>
|
||||||
<QCard class="vn-one">
|
<QCard class="vn-one">
|
||||||
<QCardSection class="q-pa-none">
|
<QCardSection class="q-pa-none">
|
||||||
<a class="header" :href="`#/invoice-in/${entityId}/basic-data`">
|
<a class="header" :href="getLink('basic-data')">
|
||||||
{{ t('invoiceIn.pageTitles.basicData') }}
|
{{ t('invoiceIn.pageTitles.basicData') }}
|
||||||
<QIcon name="open_in_new" color="primary" />
|
<QIcon name="open_in_new" color="primary" />
|
||||||
</a>
|
</a>
|
||||||
|
@ -281,7 +285,7 @@ function taxRate(taxableBase, rate) {
|
||||||
</QCard>
|
</QCard>
|
||||||
<QCard class="vn-one">
|
<QCard class="vn-one">
|
||||||
<QCardSection class="q-pa-none">
|
<QCardSection class="q-pa-none">
|
||||||
<a class="header" :href="`#/invoice-in/${entityId}/basic-data`">
|
<a class="header" :href="getLink('basic-data')">
|
||||||
{{ t('invoiceIn.pageTitles.basicData') }}
|
{{ t('invoiceIn.pageTitles.basicData') }}
|
||||||
<QIcon name="open_in_new" color="primary" />
|
<QIcon name="open_in_new" color="primary" />
|
||||||
</a>
|
</a>
|
||||||
|
@ -317,7 +321,7 @@ function taxRate(taxableBase, rate) {
|
||||||
</QCard>
|
</QCard>
|
||||||
<!--Vat-->
|
<!--Vat-->
|
||||||
<QCard v-if="invoiceIn.invoiceInTax.length">
|
<QCard v-if="invoiceIn.invoiceInTax.length">
|
||||||
<a class="header" :href="`#/invoice-in/${entityId}/vat`">
|
<a class="header" :href="getLink('vat')">
|
||||||
{{ t('invoiceIn.card.vat') }}
|
{{ t('invoiceIn.card.vat') }}
|
||||||
<QIcon name="open_in_new" color="primary" />
|
<QIcon name="open_in_new" color="primary" />
|
||||||
</a>
|
</a>
|
||||||
|
@ -350,7 +354,7 @@ function taxRate(taxableBase, rate) {
|
||||||
</QCard>
|
</QCard>
|
||||||
<!--Due Day-->
|
<!--Due Day-->
|
||||||
<QCard v-if="invoiceIn.invoiceInDueDay.length">
|
<QCard v-if="invoiceIn.invoiceInDueDay.length">
|
||||||
<a class="header" :href="`#/invoice-in/${entityId}/due-day`">
|
<a class="header" :href="getLink('due-day')">
|
||||||
{{ t('invoiceIn.card.dueDay') }}
|
{{ t('invoiceIn.card.dueDay') }}
|
||||||
<QIcon name="open_in_new" color="primary" />
|
<QIcon name="open_in_new" color="primary" />
|
||||||
</a>
|
</a>
|
||||||
|
@ -380,7 +384,7 @@ function taxRate(taxableBase, rate) {
|
||||||
</QCard>
|
</QCard>
|
||||||
<!--Intrastat-->
|
<!--Intrastat-->
|
||||||
<QCard v-if="invoiceIn.invoiceInIntrastat.length">
|
<QCard v-if="invoiceIn.invoiceInIntrastat.length">
|
||||||
<a class="header" :href="`#/invoice-in/${entityId}/intrastat`">
|
<a class="header" :href="getUrl('intrastat')">
|
||||||
{{ t('invoiceIn.card.intrastat') }}
|
{{ t('invoiceIn.card.intrastat') }}
|
||||||
<QIcon name="open_in_new" color="primary" />
|
<QIcon name="open_in_new" color="primary" />
|
||||||
</a>
|
</a>
|
||||||
|
|
Loading…
Reference in New Issue