forked from verdnatura/salix-front
feat: refs #6900 use VnTable & sort filter fields
This commit is contained in:
parent
bc62dc9a89
commit
dc5142c20a
|
@ -151,7 +151,7 @@ const col = computed(() => {
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
if (
|
if (
|
||||||
(newColumn.name.startsWith('is') || newColumn.name.startsWith('has')) &&
|
(/^is[A-Z]/.test(newColumn.name) || /^has[A-Z]/.test(newColumn.name)) &&
|
||||||
newColumn.component == null
|
newColumn.component == null
|
||||||
)
|
)
|
||||||
newColumn.component = 'checkbox';
|
newColumn.component = 'checkbox';
|
||||||
|
|
|
@ -262,6 +262,7 @@ globals:
|
||||||
unsavedPopup:
|
unsavedPopup:
|
||||||
title: Unsaved changes will be lost
|
title: Unsaved changes will be lost
|
||||||
subtitle: Are you sure exit without saving?
|
subtitle: Are you sure exit without saving?
|
||||||
|
createInvoiceIn: Create invoice in
|
||||||
errors:
|
errors:
|
||||||
statusUnauthorized: Access denied
|
statusUnauthorized: Access denied
|
||||||
statusInternalServerError: An internal server error has ocurred
|
statusInternalServerError: An internal server error has ocurred
|
||||||
|
|
|
@ -264,6 +264,8 @@ globals:
|
||||||
unsavedPopup:
|
unsavedPopup:
|
||||||
title: Los cambios que no haya guardado se perderán
|
title: Los cambios que no haya guardado se perderán
|
||||||
subtitle: ¿Seguro que quiere salir sin guardar?
|
subtitle: ¿Seguro que quiere salir sin guardar?
|
||||||
|
createInvoiceIn: Crear factura recibida
|
||||||
|
|
||||||
errors:
|
errors:
|
||||||
statusUnauthorized: Acceso denegado
|
statusUnauthorized: Acceso denegado
|
||||||
statusInternalServerError: Ha ocurrido un error interno del servidor
|
statusInternalServerError: Ha ocurrido un error interno del servidor
|
||||||
|
|
|
@ -26,8 +26,7 @@ const newInvoiceIn = reactive({
|
||||||
companyFk: user.value.companyFk || null,
|
companyFk: user.value.companyFk || null,
|
||||||
issued: Date.vnNew(),
|
issued: Date.vnNew(),
|
||||||
});
|
});
|
||||||
const suppliersOptions = ref([]);
|
const companies = ref([]);
|
||||||
const companiesOptions = ref([]);
|
|
||||||
|
|
||||||
const redirectToInvoiceInBasicData = (__, { id }) => {
|
const redirectToInvoiceInBasicData = (__, { id }) => {
|
||||||
router.push({ name: 'InvoiceInBasicData', params: { id } });
|
router.push({ name: 'InvoiceInBasicData', params: { id } });
|
||||||
|
@ -35,19 +34,12 @@ const redirectToInvoiceInBasicData = (__, { id }) => {
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<FetchData
|
|
||||||
url="Suppliers"
|
|
||||||
:filter="{ fields: ['id', 'nickname'] }"
|
|
||||||
order="nickname"
|
|
||||||
@on-fetch="(data) => (suppliersOptions = data)"
|
|
||||||
auto-load
|
|
||||||
/>
|
|
||||||
<FetchData
|
<FetchData
|
||||||
ref="companiesRef"
|
ref="companiesRef"
|
||||||
url="Companies"
|
url="Companies"
|
||||||
:filter="{ fields: ['id', 'code'] }"
|
:filter="{ fields: ['id', 'code'] }"
|
||||||
order="code"
|
order="code"
|
||||||
@on-fetch="(data) => (companiesOptions = data)"
|
@on-fetch="(data) => (companies = data)"
|
||||||
auto-load
|
auto-load
|
||||||
/>
|
/>
|
||||||
<template v-if="stateStore.isHeaderMounted()">
|
<template v-if="stateStore.isHeaderMounted()">
|
||||||
|
@ -69,9 +61,10 @@ const redirectToInvoiceInBasicData = (__, { id }) => {
|
||||||
<template #form="{ data, validate }">
|
<template #form="{ data, validate }">
|
||||||
<VnRow>
|
<VnRow>
|
||||||
<VnSelect
|
<VnSelect
|
||||||
|
url="Suppliers"
|
||||||
|
:fields="['id', 'nickname']"
|
||||||
:label="t('Supplier')"
|
:label="t('Supplier')"
|
||||||
v-model="data.supplierFk"
|
v-model="data.supplierFk"
|
||||||
:options="suppliersOptions"
|
|
||||||
option-value="id"
|
option-value="id"
|
||||||
option-label="nickname"
|
option-label="nickname"
|
||||||
hide-selected
|
hide-selected
|
||||||
|
@ -98,7 +91,7 @@ const redirectToInvoiceInBasicData = (__, { id }) => {
|
||||||
<VnSelect
|
<VnSelect
|
||||||
:label="t('Company')"
|
:label="t('Company')"
|
||||||
v-model="data.companyFk"
|
v-model="data.companyFk"
|
||||||
:options="companiesOptions"
|
:options="companies"
|
||||||
option-value="id"
|
option-value="id"
|
||||||
option-label="code"
|
option-label="code"
|
||||||
map-options
|
map-options
|
||||||
|
|
|
@ -28,6 +28,22 @@ const activities = ref([]);
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<template #body="{ params, searchFn }">
|
<template #body="{ params, searchFn }">
|
||||||
|
<QItem>
|
||||||
|
<QItemSection>
|
||||||
|
<VnSelect
|
||||||
|
v-model="params.supplierFk"
|
||||||
|
url="Suppliers"
|
||||||
|
:fields="['id', 'nickname']"
|
||||||
|
:label="t('params.supplierFk')"
|
||||||
|
option-value="id"
|
||||||
|
option-label="nickname"
|
||||||
|
dense
|
||||||
|
outlined
|
||||||
|
rounded
|
||||||
|
:filter-options="['id', 'name']"
|
||||||
|
/>
|
||||||
|
</QItemSection>
|
||||||
|
</QItem>
|
||||||
<QItem>
|
<QItem>
|
||||||
<QItemSection>
|
<QItemSection>
|
||||||
<VnInput
|
<VnInput
|
||||||
|
@ -50,17 +66,30 @@ const activities = ref([]);
|
||||||
</QItem>
|
</QItem>
|
||||||
<QItem>
|
<QItem>
|
||||||
<QItemSection>
|
<QItemSection>
|
||||||
<VnSelect
|
<VnInput
|
||||||
v-model="params.supplierFk"
|
:label="t('params.serialNumber')"
|
||||||
url="Suppliers"
|
v-model="params.serialNumber"
|
||||||
:fields="['id', 'nickname']"
|
is-outlined
|
||||||
:label="t('params.supplierFk')"
|
lazy-rules
|
||||||
option-value="id"
|
/>
|
||||||
option-label="nickname"
|
</QItemSection>
|
||||||
dense
|
</QItem>
|
||||||
outlined
|
<QItem>
|
||||||
rounded
|
<QItemSection>
|
||||||
:filter-options="['id', 'name']"
|
<VnInput
|
||||||
|
:label="t('params.serial')"
|
||||||
|
v-model="params.serial"
|
||||||
|
is-outlined
|
||||||
|
lazy-rules
|
||||||
|
/>
|
||||||
|
</QItemSection>
|
||||||
|
</QItem>
|
||||||
|
<QItem>
|
||||||
|
<QItemSection>
|
||||||
|
<VnInputDate
|
||||||
|
:label="t('Issued')"
|
||||||
|
v-model="params.issued"
|
||||||
|
is-outlined
|
||||||
/>
|
/>
|
||||||
</QItemSection>
|
</QItemSection>
|
||||||
</QItem>
|
</QItem>
|
||||||
|
@ -76,40 +105,17 @@ const activities = ref([]);
|
||||||
</QItem>
|
</QItem>
|
||||||
<QItem>
|
<QItem>
|
||||||
<QItemSection>
|
<QItemSection>
|
||||||
<VnCurrency v-model="params.amount" is-outlined />
|
<VnInput
|
||||||
</QItemSection>
|
:label="t('params.awb')"
|
||||||
</QItem>
|
v-model="params.awbCode"
|
||||||
<QItem>
|
|
||||||
<QItemSection>
|
|
||||||
<VnInputDate :label="t('From')" v-model="params.from" is-outlined />
|
|
||||||
</QItemSection>
|
|
||||||
</QItem>
|
|
||||||
<QItem>
|
|
||||||
<QItemSection>
|
|
||||||
<VnInputDate :label="t('To')" v-model="params.to" is-outlined />
|
|
||||||
</QItemSection>
|
|
||||||
</QItem>
|
|
||||||
<QItem>
|
|
||||||
<QItemSection>
|
|
||||||
<VnInputDate
|
|
||||||
:label="t('Issued')"
|
|
||||||
v-model="params.issued"
|
|
||||||
is-outlined
|
is-outlined
|
||||||
|
lazy-rules
|
||||||
/>
|
/>
|
||||||
</QItemSection>
|
</QItemSection>
|
||||||
</QItem>
|
</QItem>
|
||||||
<QItem>
|
<QItem>
|
||||||
<QItemSection>
|
<QItemSection>
|
||||||
<VnSelect
|
<VnCurrency v-model="params.amount" is-outlined />
|
||||||
:label="t('params.supplierActivityFk')"
|
|
||||||
v-model="params.supplierActivityFk"
|
|
||||||
dense
|
|
||||||
outlined
|
|
||||||
rounded
|
|
||||||
option-value="code"
|
|
||||||
option-label="name"
|
|
||||||
:options="activities"
|
|
||||||
/>
|
|
||||||
</QItemSection>
|
</QItemSection>
|
||||||
</QItem>
|
</QItem>
|
||||||
<QItem>
|
<QItem>
|
||||||
|
@ -133,32 +139,16 @@ const activities = ref([]);
|
||||||
<QExpansionItem :label="t('More options')" expand-separator>
|
<QExpansionItem :label="t('More options')" expand-separator>
|
||||||
<QItem>
|
<QItem>
|
||||||
<QItemSection>
|
<QItemSection>
|
||||||
<VnInput
|
<VnInputDate
|
||||||
:label="t('params.serialNumber')"
|
:label="t('From')"
|
||||||
v-model="params.serialNumber"
|
v-model="params.from"
|
||||||
is-outlined
|
is-outlined
|
||||||
lazy-rules
|
|
||||||
/>
|
/>
|
||||||
</QItemSection>
|
</QItemSection>
|
||||||
</QItem>
|
</QItem>
|
||||||
<QItem>
|
<QItem>
|
||||||
<QItemSection>
|
<QItemSection>
|
||||||
<VnInput
|
<VnInputDate :label="t('To')" v-model="params.to" is-outlined />
|
||||||
:label="t('params.serial')"
|
|
||||||
v-model="params.serial"
|
|
||||||
is-outlined
|
|
||||||
lazy-rules
|
|
||||||
/>
|
|
||||||
</QItemSection>
|
|
||||||
</QItem>
|
|
||||||
<QItem>
|
|
||||||
<QItemSection>
|
|
||||||
<VnInput
|
|
||||||
:label="t('params.awb')"
|
|
||||||
v-model="params.awbCode"
|
|
||||||
is-outlined
|
|
||||||
lazy-rules
|
|
||||||
/>
|
|
||||||
</QItemSection>
|
</QItemSection>
|
||||||
</QItem>
|
</QItem>
|
||||||
</QExpansionItem>
|
</QExpansionItem>
|
||||||
|
|
|
@ -1,18 +1,19 @@
|
||||||
<script setup>
|
<script setup>
|
||||||
import { onMounted, onUnmounted } from 'vue';
|
import { ref, computed, onMounted, onUnmounted } from 'vue';
|
||||||
import { useI18n } from 'vue-i18n';
|
import { useI18n } from 'vue-i18n';
|
||||||
import { useStateStore } from 'stores/useStateStore';
|
import { useStateStore } from 'stores/useStateStore';
|
||||||
import { downloadFile } from 'src/composables/downloadFile';
|
import { downloadFile } from 'src/composables/downloadFile';
|
||||||
import { toDate, toCurrency } from 'src/filters/index';
|
import { toDate, toCurrency } from 'src/filters/index';
|
||||||
import VnPaginate from 'src/components/ui/VnPaginate.vue';
|
|
||||||
import VnLv from 'src/components/ui/VnLv.vue';
|
|
||||||
import CardList from 'src/components/ui/CardList.vue';
|
|
||||||
import InvoiceInFilter from './InvoiceInFilter.vue';
|
import InvoiceInFilter from './InvoiceInFilter.vue';
|
||||||
import InvoiceInSummary from './Card/InvoiceInSummary.vue';
|
import InvoiceInSummary from './Card/InvoiceInSummary.vue';
|
||||||
import { useSummaryDialog } from 'src/composables/useSummaryDialog';
|
import { useSummaryDialog } from 'src/composables/useSummaryDialog';
|
||||||
import SupplierDescriptorProxy from 'src/pages/Supplier/Card/SupplierDescriptorProxy.vue';
|
import SupplierDescriptorProxy from 'src/pages/Supplier/Card/SupplierDescriptorProxy.vue';
|
||||||
import RightMenu from 'src/components/common/RightMenu.vue';
|
import RightMenu from 'src/components/common/RightMenu.vue';
|
||||||
import InvoiceInSearchbar from 'src/pages/InvoiceIn/InvoiceInSearchbar.vue';
|
import InvoiceInSearchbar from 'src/pages/InvoiceIn/InvoiceInSearchbar.vue';
|
||||||
|
import VnTable from 'src/components/VnTable/VnTable.vue';
|
||||||
|
import VnSelect from 'src/components/common/VnSelect.vue';
|
||||||
|
import VnInput from 'src/components/common/VnInput.vue';
|
||||||
|
import VnInputDate from 'src/components/common/VnInputDate.vue';
|
||||||
|
|
||||||
const stateStore = useStateStore();
|
const stateStore = useStateStore();
|
||||||
const { viewSummary } = useSummaryDialog();
|
const { viewSummary } = useSummaryDialog();
|
||||||
|
@ -20,8 +21,91 @@ const { t } = useI18n();
|
||||||
|
|
||||||
onMounted(async () => (stateStore.rightDrawer = true));
|
onMounted(async () => (stateStore.rightDrawer = true));
|
||||||
onUnmounted(() => (stateStore.rightDrawer = false));
|
onUnmounted(() => (stateStore.rightDrawer = false));
|
||||||
</script>
|
|
||||||
|
|
||||||
|
const tableRef = ref();
|
||||||
|
const cols = computed(() => [
|
||||||
|
{
|
||||||
|
align: 'left',
|
||||||
|
name: 'id',
|
||||||
|
label: 'Id',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
align: 'left',
|
||||||
|
name: 'supplierFk',
|
||||||
|
label: t('invoiceIn.list.supplier'),
|
||||||
|
columnFilter: {
|
||||||
|
component: 'select',
|
||||||
|
attrs: {
|
||||||
|
url: 'Suppliers',
|
||||||
|
fields: ['id', 'name'],
|
||||||
|
},
|
||||||
|
},
|
||||||
|
columnClass: 'expand',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
align: 'left',
|
||||||
|
name: 'supplierRef',
|
||||||
|
label: t('invoiceIn.list.supplierRef'),
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
align: 'left',
|
||||||
|
name: 'serialNumber',
|
||||||
|
label: t('invoiceIn.list.serialNumber'),
|
||||||
|
},
|
||||||
|
{
|
||||||
|
align: 'left',
|
||||||
|
name: 'serial',
|
||||||
|
label: t('invoiceIn.list.serial'),
|
||||||
|
},
|
||||||
|
{
|
||||||
|
align: 'left',
|
||||||
|
label: t('invoiceIn.list.issued'),
|
||||||
|
name: 'issued',
|
||||||
|
component: null,
|
||||||
|
columnFilter: {
|
||||||
|
component: 'date',
|
||||||
|
},
|
||||||
|
format: (row, dashIfEmpty) => dashIfEmpty(toDate(row.issued)),
|
||||||
|
},
|
||||||
|
{
|
||||||
|
align: 'left',
|
||||||
|
name: 'isBooked',
|
||||||
|
label: t('invoiceIn.list.isBooked'),
|
||||||
|
columnFilter: false,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
align: 'left',
|
||||||
|
name: 'awbCode',
|
||||||
|
label: t('invoiceIn.list.awb'),
|
||||||
|
},
|
||||||
|
{
|
||||||
|
align: 'left',
|
||||||
|
name: 'amount',
|
||||||
|
label: t('invoiceIn.list.amount'),
|
||||||
|
format: ({ amount }) => toCurrency(amount),
|
||||||
|
},
|
||||||
|
{
|
||||||
|
align: 'right',
|
||||||
|
name: 'tableActions',
|
||||||
|
actions: [
|
||||||
|
{
|
||||||
|
title: t('components.smartCard.openSummary'),
|
||||||
|
icon: 'preview',
|
||||||
|
type: 'submit',
|
||||||
|
action: (row) => viewSummary(row.id, InvoiceInSummary),
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: t('globals.download'),
|
||||||
|
icon: 'download',
|
||||||
|
type: 'submit',
|
||||||
|
isPrimary: true,
|
||||||
|
action: (row) => downloadFile(row.dmsFk),
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
|
]);
|
||||||
|
</script>
|
||||||
<template>
|
<template>
|
||||||
<InvoiceInSearchbar />
|
<InvoiceInSearchbar />
|
||||||
<RightMenu>
|
<RightMenu>
|
||||||
|
@ -29,92 +113,62 @@ onUnmounted(() => (stateStore.rightDrawer = false));
|
||||||
<InvoiceInFilter data-key="InvoiceInList" />
|
<InvoiceInFilter data-key="InvoiceInList" />
|
||||||
</template>
|
</template>
|
||||||
</RightMenu>
|
</RightMenu>
|
||||||
<QPage class="column items-center q-pa-md">
|
<VnTable
|
||||||
<div class="vn-card-list">
|
ref="tableRef"
|
||||||
<VnPaginate
|
data-key="InvoiceInList"
|
||||||
data-key="InvoiceInList"
|
url="InvoiceIns/filter"
|
||||||
url="InvoiceIns/filter"
|
:order="['issued DESC', 'id DESC']"
|
||||||
order="issued DESC, id DESC"
|
redirect="invoice-in"
|
||||||
auto-load
|
:columns="cols"
|
||||||
|
:right-search="false"
|
||||||
|
:create="{
|
||||||
|
urlCreate: 'InvoiceIns',
|
||||||
|
title: t('globals.createInvoiceIn'),
|
||||||
|
onDataSaved: ({ id }) => tableRef.redirect(id),
|
||||||
|
formInitialData: {},
|
||||||
|
}"
|
||||||
|
:disable-option="{ card: true }"
|
||||||
|
>
|
||||||
|
<template #column-supplierFk="{ row }">
|
||||||
|
<span class="link" @click.stop>
|
||||||
|
{{ row.supplierName }}
|
||||||
|
<SupplierDescriptorProxy :id="row.supplierFk" />
|
||||||
|
</span>
|
||||||
|
</template>
|
||||||
|
<template #more-create-dialog="{ data }">
|
||||||
|
<VnSelect
|
||||||
|
v-model="data.supplierFk"
|
||||||
|
url="Suppliers"
|
||||||
|
:fields="['id', 'nickname']"
|
||||||
|
:label="t('Supplier')"
|
||||||
|
option-value="id"
|
||||||
|
option-label="nickname"
|
||||||
|
:filter-options="['id', 'name']"
|
||||||
|
:required="true"
|
||||||
>
|
>
|
||||||
<template #body="{ rows }">
|
<template #option="scope">
|
||||||
<CardList
|
<QItem v-bind="scope.itemProps">
|
||||||
v-for="(row, index) of rows"
|
<QItemSection>
|
||||||
:key="index"
|
<QItemLabel>{{ scope.opt?.nickname }}</QItemLabel>
|
||||||
:title="row.supplierRef"
|
<QItemLabel caption> #{{ scope.opt?.id }} </QItemLabel>
|
||||||
@click="$router.push({ path: `/invoice-in/${row.id}` })"
|
</QItemSection>
|
||||||
:id="row.id"
|
</QItem>
|
||||||
>
|
|
||||||
<template #list-items>
|
|
||||||
<VnLv
|
|
||||||
:label="t('invoiceIn.list.supplierRef')"
|
|
||||||
:value="row.supplierRef"
|
|
||||||
/>
|
|
||||||
<VnLv
|
|
||||||
:label="t('invoiceIn.list.supplier')"
|
|
||||||
:value="row.supplierName"
|
|
||||||
@click.stop
|
|
||||||
>
|
|
||||||
<template #value>
|
|
||||||
<span class="link">
|
|
||||||
{{ row.supplierName }}
|
|
||||||
<SupplierDescriptorProxy :id="row.supplierFk" />
|
|
||||||
</span>
|
|
||||||
</template>
|
|
||||||
</VnLv>
|
|
||||||
<VnLv
|
|
||||||
:label="t('invoiceIn.list.serialNumber')"
|
|
||||||
:value="row.serialNumber"
|
|
||||||
/>
|
|
||||||
<VnLv
|
|
||||||
:label="t('invoiceIn.list.serial')"
|
|
||||||
:value="row.serial"
|
|
||||||
/>
|
|
||||||
<VnLv
|
|
||||||
:label="t('invoiceIn.list.issued')"
|
|
||||||
:value="toDate(row.issued)"
|
|
||||||
/>
|
|
||||||
<VnLv :label="t('invoiceIn.list.awb')" :value="row.awbCode" />
|
|
||||||
<VnLv
|
|
||||||
:label="t('invoiceIn.list.amount')"
|
|
||||||
:value="toCurrency(row.amount)"
|
|
||||||
/>
|
|
||||||
<VnLv
|
|
||||||
:label="t('invoiceIn.list.isBooked')"
|
|
||||||
:value="!!row.isBooked"
|
|
||||||
/>
|
|
||||||
</template>
|
|
||||||
<template #actions>
|
|
||||||
<QBtn
|
|
||||||
:label="t('components.smartCard.openCard')"
|
|
||||||
@click.stop="
|
|
||||||
$router.push({ path: `/invoice-in/${row.id}` })
|
|
||||||
"
|
|
||||||
outline
|
|
||||||
type="reset"
|
|
||||||
/>
|
|
||||||
|
|
||||||
<QBtn
|
|
||||||
:label="t('components.smartCard.openSummary')"
|
|
||||||
@click.stop="viewSummary(row.id, InvoiceInSummary)"
|
|
||||||
color="primary"
|
|
||||||
type="submit"
|
|
||||||
class="q-mt-sm"
|
|
||||||
/>
|
|
||||||
<QBtn
|
|
||||||
:label="t('globals.download')"
|
|
||||||
class="q-mt-sm"
|
|
||||||
@click.stop="downloadFile(row.dmsFk)"
|
|
||||||
type="submit"
|
|
||||||
color="primary"
|
|
||||||
/>
|
|
||||||
</template>
|
|
||||||
</CardList>
|
|
||||||
</template>
|
</template>
|
||||||
</VnPaginate>
|
</VnSelect>
|
||||||
</div>
|
<VnInput
|
||||||
</QPage>
|
:label="t('invoiceIn.summary.supplierRef')"
|
||||||
<QPageSticky position="bottom-right" :offset="[20, 20]">
|
v-model="data.supplierRef"
|
||||||
<QBtn color="primary" icon="add" size="lg" round :href="`/#/invoice-in/create`" />
|
/>
|
||||||
</QPageSticky>
|
<VnSelect
|
||||||
|
url="Companies"
|
||||||
|
:label="t('Company')"
|
||||||
|
:fields="['id', 'code']"
|
||||||
|
v-model="data.companyFk"
|
||||||
|
option-value="id"
|
||||||
|
option-label="code"
|
||||||
|
:required="true"
|
||||||
|
/>
|
||||||
|
<VnInputDate :label="t('invoiceIn.summary.issued')" v-model="data.issued" />
|
||||||
|
</template>
|
||||||
|
</VnTable>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
@ -214,7 +214,7 @@ onUnmounted(() => (stateStore.rightDrawer = false));
|
||||||
@click="openDmsUploadDialog"
|
@click="openDmsUploadDialog"
|
||||||
>
|
>
|
||||||
<QTooltip>
|
<QTooltip>
|
||||||
{{ t('Create invoiceIn') }}
|
{{ t('globals.createInvoiceIn') }}
|
||||||
</QTooltip>
|
</QTooltip>
|
||||||
</QBtn>
|
</QBtn>
|
||||||
</QCard>
|
</QCard>
|
||||||
|
@ -267,7 +267,6 @@ onUnmounted(() => (stateStore.rightDrawer = false));
|
||||||
es:
|
es:
|
||||||
Search autonomous: Buscar autónomos
|
Search autonomous: Buscar autónomos
|
||||||
You can search by autonomous reference: Puedes buscar por referencia del autónomo
|
You can search by autonomous reference: Puedes buscar por referencia del autónomo
|
||||||
Create invoiceIn: Crear factura recibida
|
|
||||||
Two autonomous cannot be counted at the same time: Dos autonónomos no pueden ser contabilizados al mismo tiempo
|
Two autonomous cannot be counted at the same time: Dos autonónomos no pueden ser contabilizados al mismo tiempo
|
||||||
Date: Fecha
|
Date: Fecha
|
||||||
Agency route: Agencia Ruta
|
Agency route: Agencia Ruta
|
||||||
|
|
|
@ -177,7 +177,7 @@ const getEntryQueryParams = (supplier) => {
|
||||||
icon="vn:invoice-in-create"
|
icon="vn:invoice-in-create"
|
||||||
color="primary"
|
color="primary"
|
||||||
>
|
>
|
||||||
<QTooltip>{{ t('Create invoiceIn') }}</QTooltip>
|
<QTooltip>{{ t('globals.createInvoiceIn') }}</QTooltip>
|
||||||
</QBtn>
|
</QBtn>
|
||||||
</QCardActions>
|
</QCardActions>
|
||||||
</template>
|
</template>
|
||||||
|
@ -188,7 +188,6 @@ const getEntryQueryParams = (supplier) => {
|
||||||
es:
|
es:
|
||||||
All entries with current supplier: Todas las entradas con proveedor actual
|
All entries with current supplier: Todas las entradas con proveedor actual
|
||||||
Go to client: Ir a cliente
|
Go to client: Ir a cliente
|
||||||
Create invoiceIn: Crear factura recibida
|
|
||||||
Go to module index: Ir al índice del módulo
|
Go to module index: Ir al índice del módulo
|
||||||
Inactive supplier: Proveedor inactivo
|
Inactive supplier: Proveedor inactivo
|
||||||
Unverified supplier: Proveedor no verificado
|
Unverified supplier: Proveedor no verificado
|
||||||
|
|
Loading…
Reference in New Issue