0
0
Fork 0

refactor: refs #7132 delete duplicate translations' keys

This commit is contained in:
Jon Elias 2024-10-18 08:04:52 +02:00
parent 3069ac27d0
commit 58e88f605c
55 changed files with 189 additions and 454 deletions

View File

@ -355,10 +355,10 @@ const createInvoiceInCorrection = async () => {
</QItem> </QItem>
</template> </template>
<template #body="{ entity }"> <template #body="{ entity }">
<VnLv :label="t('invoiceIn.card.issued')" :value="toDate(entity.issued)" /> <VnLv :label="t('invoiceIn.list.issued')" :value="toDate(entity.issued)" />
<VnLv :label="t('invoiceIn.summary.booked')" :value="toDate(entity.booked)" /> <VnLv :label="t('invoiceIn.summary.booked')" :value="toDate(entity.booked)" />
<VnLv :label="t('invoiceIn.card.amount')" :value="toCurrency(totalAmount)" /> <VnLv :label="t('invoiceIn.list.amount')" :value="toCurrency(totalAmount)" />
<VnLv :label="t('invoiceIn.summary.supplier')"> <VnLv :label="t('invoiceIn.list.supplier')">
<template #value> <template #value>
<span class="link"> <span class="link">
{{ entity?.supplier?.nickname }} {{ entity?.supplier?.nickname }}

View File

@ -95,7 +95,7 @@ const dueDayColumns = ref([
}, },
{ {
name: 'amount', name: 'amount',
label: 'invoiceIn.summary.amount', label: 'invoiceIn.list.amount',
field: (row) => row.amount, field: (row) => row.amount,
format: (value) => toCurrency(value), format: (value) => toCurrency(value),
sortable: true, sortable: true,
@ -123,7 +123,7 @@ const intrastatColumns = ref([
}, },
{ {
name: 'amount', name: 'amount',
label: 'invoiceIn.summary.amount', label: 'invoiceIn.list.amount',
field: (row) => toCurrency(row.amount), field: (row) => toCurrency(row.amount),
sortable: true, sortable: true,
align: 'left', align: 'left',
@ -210,7 +210,7 @@ const getLink = (param) => `#/invoice-in/${entityId.value}/${param}`;
/> />
</QCardSection> </QCardSection>
<VnLv <VnLv
:label="t('invoiceIn.summary.supplier')" :label="t('invoiceIn.list.supplier')"
:value="entity.supplier?.name" :value="entity.supplier?.name"
> >
<template #value> <template #value>
@ -221,7 +221,7 @@ const getLink = (param) => `#/invoice-in/${entityId.value}/${param}`;
</template> </template>
</VnLv> </VnLv>
<VnLv <VnLv
:label="t('invoiceIn.summary.supplierRef')" :label="t('invoiceIn.list.supplierRef')"
:value="entity.supplierRef" :value="entity.supplierRef"
/> />
<VnLv <VnLv
@ -271,7 +271,7 @@ const getLink = (param) => `#/invoice-in/${entityId.value}/${param}`;
:value="entity.expenseDeductible?.name" :value="entity.expenseDeductible?.name"
/> />
<VnLv <VnLv
:label="t('invoiceIn.summary.company')" :label="t('invoiceIn.card.company')"
:value="entity.company?.code" :value="entity.company?.code"
/> />
<VnLv :label="t('invoiceIn.isBooked')" :value="invoiceIn?.isBooked" /> <VnLv :label="t('invoiceIn.isBooked')" :value="invoiceIn?.isBooked" />

View File

@ -83,7 +83,7 @@ const redirectToInvoiceInBasicData = (__, { id }) => {
</template> </template>
</VnSelect> </VnSelect>
<VnInput <VnInput
:label="t('invoiceIn.summary.supplierRef')" :label="t('invoiceIn.list.supplierRef')"
v-model="data.supplierRef" v-model="data.supplierRef"
/> />
</VnRow> </VnRow>

View File

@ -50,7 +50,7 @@ const cols = computed(() => [
{ {
align: 'left', align: 'left',
name: 'serial', name: 'serial',
label: t('invoiceIn.list.serial'), label: t('invoiceIn.serial'),
}, },
{ {
align: 'left', align: 'left',
@ -151,7 +151,7 @@ const cols = computed(() => [
</template> </template>
</VnSelect> </VnSelect>
<VnInput <VnInput
:label="t('invoiceIn.summary.supplierRef')" :label="t('invoiceIn.list.supplierRef')"
v-model="data.supplierRef" v-model="data.supplierRef"
/> />
<VnSelect <VnSelect

View File

@ -5,14 +5,11 @@ invoiceIn:
ref: Reference ref: Reference
supplier: Supplier supplier: Supplier
supplierRef: Supplier ref. supplierRef: Supplier ref.
serial: Serial
file: File file: File
issued: Issued issued: Issued
awb: AWB awb: AWB
amount: Amount amount: Amount
card: card:
issued: Issued
amount: Amount
client: Client client: Client
company: Company company: Company
customerCard: Customer card customerCard: Customer card
@ -21,8 +18,6 @@ invoiceIn:
dueDay: Due day dueDay: Due day
intrastat: Intrastat intrastat: Intrastat
summary: summary:
supplier: Supplier
supplierRef: Supplier ref.
currency: Currency currency: Currency
issued: Expedition date issued: Expedition date
operated: Operation date operated: Operation date
@ -30,7 +25,6 @@ invoiceIn:
bookedDate: Booked date bookedDate: Booked date
sage: Sage withholding sage: Sage withholding
vat: Undeductible VAT vat: Undeductible VAT
company: Company
expense: Expense expense: Expense
taxableBase: Taxable base taxableBase: Taxable base
rate: Rate rate: Rate
@ -38,7 +32,6 @@ invoiceIn:
sageTransaction: Sage transaction sageTransaction: Sage transaction
dueDay: Date dueDay: Date
bank: Bank bank: Bank
amount: Amount
foreignValue: Foreign value foreignValue: Foreign value
dueTotal: Due day dueTotal: Due day
noMatch: Do not match noMatch: Do not match

View File

@ -11,8 +11,6 @@ invoiceIn:
awb: AWB awb: AWB
amount: Importe amount: Importe
card: card:
issued: Fecha emisión
amount: Importe
client: Cliente client: Cliente
company: Empresa company: Empresa
customerCard: Ficha del cliente customerCard: Ficha del cliente
@ -20,8 +18,6 @@ invoiceIn:
vat: Iva vat: Iva
dueDay: Fecha de vencimiento dueDay: Fecha de vencimiento
summary: summary:
supplier: Proveedor
supplierRef: Ref. proveedor
currency: Divisa currency: Divisa
docNumber: Número documento docNumber: Número documento
issued: Fecha de expedición issued: Fecha de expedición
@ -30,14 +26,12 @@ invoiceIn:
bookedDate: Fecha contable bookedDate: Fecha contable
sage: Retención sage sage: Retención sage
vat: Iva no deducible vat: Iva no deducible
company: Empresa
expense: Gasto expense: Gasto
taxableBase: Base imp. taxableBase: Base imp.
rate: Tasa rate: Tasa
sageTransaction: Sage transación sageTransaction: Sage transación
dueDay: Fecha dueDay: Fecha
bank: Caja bank: Caja
amount: Importe
foreignValue: Divisa foreignValue: Divisa
dueTotal: Vencimiento dueTotal: Vencimiento
code: Código code: Código

View File

@ -9,9 +9,6 @@ invoiceOutList:
id: ID id: ID
ref: Referencia ref: Referencia
issued: Fecha emisión issued: Fecha emisión
customer: Cliente
company: Empresa
amount: Importe
created: F. creación created: F. creación
dueDate: F. máxima dueDate: F. máxima
invoiceOutSerial: Serial invoiceOutSerial: Serial

View File

@ -42,7 +42,7 @@ onMounted(async () => {
:required="true" :required="true"
/> />
<VnInput <VnInput
:label="t('createIntrastatForm.description')" :label="t('itemBasicData.description')"
v-model="data.description" v-model="data.description"
:required="true" :required="true"
/> />

View File

@ -62,7 +62,7 @@ const columns = computed(() => [
format: (val) => dashIfEmpty(val), format: (val) => dashIfEmpty(val),
}, },
{ {
label: t('itemDiary.reference'), label: t('itemBasicData.reference'),
field: 'reference', field: 'reference',
name: 'reference', name: 'reference',
align: 'left', align: 'left',

View File

@ -59,7 +59,7 @@ const columns = computed(() => [
align: 'center', align: 'center',
}, },
{ {
label: t('lastEntries.warehouse'), label: t('itemDiary.warehouse'),
name: 'warehouse', name: 'warehouse',
field: 'warehouse', field: 'warehouse',
align: 'left', align: 'left',
@ -94,7 +94,7 @@ const columns = computed(() => [
format: (val) => dashIfEmpty(val), format: (val) => dashIfEmpty(val),
}, },
{ {
label: t('lastEntries.packing'), label: t('shelvings.packing'),
name: 'packing', name: 'packing',
align: 'center', align: 'center',
}, },
@ -104,7 +104,7 @@ const columns = computed(() => [
align: 'center', align: 'center',
}, },
{ {
label: t('lastEntries.stems'), label: t('itemBasicData.stems'),
name: 'stems', name: 'stems',
field: 'stems', field: 'stems',
align: 'center', align: 'center',
@ -188,7 +188,7 @@ onUnmounted(() => (stateStore.rightDrawer = false));
<VnSubToolbar> <VnSubToolbar>
<template #st-data> <template #st-data>
<VnInputDate <VnInputDate
:label="t('lastEntries.since')" :label="t('itemDiary.since')"
dense dense
v-model="from" v-model="from"
class="q-mr-lg" class="q-mr-lg"

View File

@ -147,7 +147,7 @@ const insertTag = (rows) => {
:is-clearable="false" :is-clearable="false"
/> />
<VnInput <VnInput
:label="t('itemTags.relevancy')" :label="t('itemBasicData.relevancy')"
type="number" type="number"
v-model="row.priority" v-model="row.priority"
:required="true" :required="true"

View File

@ -16,7 +16,6 @@ itemDiary:
date: Date date: Date
origin: Origin origin: Origin
state: State state: State
reference: Reference
entity: Entity entity: Entity
in: In in: In
out: Out out: Out
@ -48,22 +47,17 @@ itemBasicData:
createIntrastatForm: createIntrastatForm:
title: New intrastat title: New intrastat
identifier: Identifier identifier: Identifier
description: Description
tax: tax:
country: Country country: Country
class: Class class: Class
lastEntries: lastEntries:
since: Since
to: To to: To
ig: Ig ig: Ig
warehouse: Warehouse
landed: Landed landed: Landed
entry: Entry entry: Entry
pvp: PVP pvp: PVP
label: Label label: Label
packing: Packing
grouping: Grouping grouping: Grouping
stems: Stems
quantity: Quantity quantity: Quantity
cost: Cost cost: Cost
kg: Kg. kg: Kg.
@ -77,7 +71,6 @@ itemTags:
addTag: Add tag addTag: Add tag
tag: Tag tag: Tag
value: Value value: Value
relevancy: Relevancy
searchbar: searchbar:
label: Search item label: Search item
info: Search by item id info: Search by item id

View File

@ -16,7 +16,6 @@ itemDiary:
date: Fecha date: Fecha
origin: Origen origin: Origen
state: Estado state: Estado
reference: Referencia
entity: Entidad entity: Entidad
in: Entrada in: Entrada
out: Salida out: Salida
@ -48,22 +47,17 @@ itemBasicData:
createIntrastatForm: createIntrastatForm:
title: Nuevo intrastat title: Nuevo intrastat
identifier: Identificador identifier: Identificador
description: Descripción
tax: tax:
country: País country: País
class: Clase class: Clase
lastEntries: lastEntries:
since: Desde
to: Hasta to: Hasta
ig: Ig ig: Ig
warehouse: Almacén
landed: F. Entrega landed: F. Entrega
entry: Entrada entry: Entrada
pvp: PVP pvp: PVP
label: Etiquetas label: Etiquetas
packing: Packing
grouping: Grouping grouping: Grouping
stems: Tallos
quantity: Cantidad quantity: Cantidad
cost: Coste cost: Coste
kg: Kg. kg: Kg.
@ -77,7 +71,6 @@ itemTags:
addTag: Añadir etiqueta addTag: Añadir etiqueta
tag: Etiqueta tag: Etiqueta
value: Valor value: Valor
relevancy: Relevancia
searchbar: searchbar:
label: Buscar artículo label: Buscar artículo
info: Buscar por id de artículo info: Buscar por id de artículo

View File

@ -6,11 +6,6 @@ shared:
temperature: Temperatura temperature: Temperatura
summary: summary:
id: id id: id
code: Código
name: Nombre
worker: Trabajador
category: Reino
temperature: Temperatura
life: Vida life: Vida
promo: Promoción promo: Promoción
itemPackingType: Tipo de embalaje itemPackingType: Tipo de embalaje

View File

@ -44,7 +44,7 @@ const columns = computed(() => [
format: (row) => toDateTimeFormat(row.date_make), format: (row) => toDateTimeFormat(row.date_make),
}, },
{ {
label: t('salesOrdersTable.client'), label: t('salesClientsTable.client'),
name: 'clientFk', name: 'clientFk',
align: 'left', align: 'left',
columnFilter: { columnFilter: {
@ -63,7 +63,7 @@ const columns = computed(() => [
columnFilter: false, columnFilter: false,
}, },
{ {
label: t('salesOrdersTable.salesPerson'), label: t('salesClientsTable.salesPerson'),
name: 'salesPersonFk', name: 'salesPersonFk',
align: 'left', align: 'left',
optionFilter: 'firstName', optionFilter: 'firstName',

View File

@ -77,7 +77,7 @@ const columns = computed(() => [
}, },
}, },
{ {
label: t('salesTicketsTable.client'), label: t('salesClientsTable.client'),
name: 'clientFk', name: 'clientFk',
align: 'left', align: 'left',
field: 'nickname', field: 'nickname',
@ -91,7 +91,7 @@ const columns = computed(() => [
}, },
}, },
{ {
label: t('salesTicketsTable.salesPerson'), label: t('salesClientsTable.salesPerson'),
name: 'salesPersonFk', name: 'salesPersonFk',
field: 'userName', field: 'userName',
align: 'left', align: 'left',
@ -108,7 +108,7 @@ const columns = computed(() => [
}, },
}, },
{ {
label: t('salesTicketsTable.date'), label: t('salesClientsTable.date'),
name: 'shippedDate', name: 'shippedDate',
align: 'left', align: 'left',
columnFilter: { columnFilter: {

View File

@ -13,8 +13,6 @@ salesOrdersTable:
delete: Delete delete: Delete
dateSend: Send date dateSend: Send date
dateMake: Make date dateMake: Make date
client: Client
salesPerson: Salesperson
deleteConfirmMessage: All the selected elements will be deleted. Are you sure you want to continue? deleteConfirmMessage: All the selected elements will be deleted. Are you sure you want to continue?
agency: Agency agency: Agency
import: Import import: Import
@ -29,9 +27,6 @@ salesTicketsTable:
componentLack: Component lack componentLack: Component lack
tooLittle: Ticket too little tooLittle: Ticket too little
identifier: Identifier identifier: Identifier
client: Client
salesPerson: Salesperson
date: Date
theoretical: Theoretical theoretical: Theoretical
practical: Practical practical: Practical
province: Province province: Province

View File

@ -13,8 +13,6 @@ salesOrdersTable:
delete: Eliminar delete: Eliminar
dateSend: Fecha de envío dateSend: Fecha de envío
dateMake: Fecha de realización dateMake: Fecha de realización
client: Cliente
salesPerson: Comercial
deleteConfirmMessage: Todos los elementos seleccionados serán eliminados. ¿Seguro que quieres continuar? deleteConfirmMessage: Todos los elementos seleccionados serán eliminados. ¿Seguro que quieres continuar?
agency: Agencia agency: Agencia
import: Importe import: Importe
@ -29,9 +27,6 @@ salesTicketsTable:
componentLack: Faltan componentes componentLack: Faltan componentes
tooLittle: Ticket demasiado pequeño tooLittle: Ticket demasiado pequeño
identifier: Identificador identifier: Identificador
client: Cliente
salesPerson: Comercial
date: Fecha
theoretical: Teórica theoretical: Teórica
practical: Práctica practical: Práctica
province: Provincia province: Provincia

View File

@ -297,7 +297,7 @@ onMounted(() => onFormModelInit());
<QForm> <QForm>
<VnRow> <VnRow>
<VnSelect <VnSelect
:label="t('basicData.client')" :label="t('ticketList.client')"
v-model="clientId" v-model="clientId"
option-value="id" option-value="id"
option-label="name" option-label="name"
@ -320,7 +320,7 @@ onMounted(() => onFormModelInit());
</template> </template>
</VnSelect> </VnSelect>
<VnSelect <VnSelect
:label="t('basicData.warehouse')" :label="t('ticketList.warehouse')"
v-model="warehouseId" v-model="warehouseId"
option-value="id" option-value="id"
option-label="name" option-label="name"
@ -328,7 +328,7 @@ onMounted(() => onFormModelInit());
hide-selected hide-selected
map-options map-options
:required="true" :required="true"
:rules="validate('basicData.warehouse')" :rules="validate('ticketList.warehouse')"
/> />
</VnRow> </VnRow>
<VnRow> <VnRow>
@ -394,7 +394,7 @@ onMounted(() => onFormModelInit());
</VnRow> </VnRow>
<VnRow class="row q-gutter-md q-mb-md no-wrap"> <VnRow class="row q-gutter-md q-mb-md no-wrap">
<VnSelect <VnSelect
:label="t('basicData.company')" :label="t('ticketList.company')"
v-model="formData.companyFk" v-model="formData.companyFk"
option-value="id" option-value="id"
option-label="code" option-label="code"
@ -402,7 +402,7 @@ onMounted(() => onFormModelInit());
hide-selected hide-selected
map-options map-options
:required="true" :required="true"
:rules="validate('basicData.company')" :rules="validate('ticketList.company')"
/> />
<VnSelect <VnSelect
:label="t('basicData.agency')" :label="t('basicData.agency')"
@ -416,7 +416,7 @@ onMounted(() => onFormModelInit());
:rules="validate('basicData.agency')" :rules="validate('basicData.agency')"
/> />
<VnSelect <VnSelect
:label="t('basicData.zone')" :label="t('ticketList.zone')"
v-model="zoneId" v-model="zoneId"
option-value="id" option-value="id"
option-label="name" option-label="name"
@ -428,7 +428,7 @@ onMounted(() => onFormModelInit());
map-options map-options
:required="true" :required="true"
@focus="zonesFetchRef.fetch()" @focus="zonesFetchRef.fetch()"
:rules="validate('basicData.zone')" :rules="validate('ticketList.zone')"
> >
<template #option="scope"> <template #option="scope">
<QItem v-bind="scope.itemProps"> <QItem v-bind="scope.itemProps">
@ -445,10 +445,10 @@ onMounted(() => onFormModelInit());
</VnRow> </VnRow>
<VnRow> <VnRow>
<VnInputDate <VnInputDate
:label="t('basicData.shipped')" :label="t('ticketList.shipped')"
v-model="formData.shipped" v-model="formData.shipped"
:required="true" :required="true"
:rules="validate('basicData.shipped')" :rules="validate('ticketList.shipped')"
/> />
<VnInputTime <VnInputTime
:label="t('basicData.shippedHour')" :label="t('basicData.shippedHour')"

View File

@ -66,7 +66,7 @@ const createTicket = async () => {
<template #form-inputs="{ data }"> <template #form-inputs="{ data }">
<VnRow> <VnRow>
<VnInputDate <VnInputDate
:label="t('expedition.landed')" :label="t('basicData.landed')"
v-model="data.landed" v-model="data.landed"
:model-value="date" :model-value="date"
/> />

View File

@ -72,7 +72,7 @@ const salesFilter = computed(() => ({
const columns = computed(() => [ const columns = computed(() => [
{ {
label: t('ticketComponents.item'), label: t('basicData.item'),
name: 'item', name: 'item',
align: 'left', align: 'left',
}, },
@ -92,13 +92,13 @@ const columns = computed(() => [
columnFilter: false, columnFilter: false,
}, },
{ {
label: t('ticketComponents.description'), label: t('basicData.description'),
name: 'description', name: 'description',
align: 'left', align: 'left',
columnClass: 'expand', columnClass: 'expand',
}, },
{ {
label: t('ticketComponents.quantity'), label: t('basicData.quantity'),
name: 'quantity', name: 'quantity',
field: 'quantity', field: 'quantity',
align: 'left', align: 'left',
@ -116,12 +116,12 @@ const columns = computed(() => [
align: 'left', align: 'left',
}, },
{ {
label: t('ticketComponents.import'), label: t('advanceTickets.import'),
name: 'import', name: 'import',
align: 'left', align: 'left',
}, },
{ {
label: t('ticketComponents.total'), label: t('basicData.total'),
name: 'total', name: 'total',
align: 'left', align: 'left',
}, },
@ -196,7 +196,7 @@ onUnmounted(() => (stateStore.rightDrawer = false));
<QCard class="q-pa-sm color-vn-text" bordered flat style="border-color: black"> <QCard class="q-pa-sm color-vn-text" bordered flat style="border-color: black">
<QCardSection horizontal> <QCardSection horizontal>
<span class="text-weight-bold text-subtitle1 text-center full-width"> <span class="text-weight-bold text-subtitle1 text-center full-width">
{{ t('ticketComponents.total') }} {{ t('basicData.total') }}
</span> </span>
</QCardSection> </QCardSection>
<QCardSection horizontal> <QCardSection horizontal>
@ -238,9 +238,7 @@ onUnmounted(() => (stateStore.rightDrawer = false));
</span> </span>
</QCardSection> </QCardSection>
<QCardSection horizontal> <QCardSection horizontal>
<span class="q-mr-xs color-vn-label"> <span class="q-mr-xs color-vn-label"> {{ t('basicData.price') }}: </span>
{{ t('ticketComponents.price') }}:
</span>
<span>{{ toCurrency(ticketData?.zonePrice, 'EUR', 2) }}</span> <span>{{ toCurrency(ticketData?.zonePrice, 'EUR', 2) }}</span>
</QCardSection> </QCardSection>
<QCardSection horizontal> <QCardSection horizontal>
@ -250,18 +248,14 @@ onUnmounted(() => (stateStore.rightDrawer = false));
<span>{{ toCurrency(ticketData?.zoneBonus, 'EUR', 2) }}</span> <span>{{ toCurrency(ticketData?.zoneBonus, 'EUR', 2) }}</span>
</QCardSection> </QCardSection>
<QCardSection horizontal> <QCardSection horizontal>
<span class="q-mr-xs color-vn-label"> <span class="q-mr-xs color-vn-label"> {{ t('ticketList.zone') }}: </span>
{{ t('ticketComponents.zone') }}:
</span>
<span class="link"> <span class="link">
{{ dashIfEmpty(ticketData?.zone?.name) }} {{ dashIfEmpty(ticketData?.zone?.name) }}
<ZoneDescriptorProxy :id="ticketData?.zone?.id" /> <ZoneDescriptorProxy :id="ticketData?.zone?.id" />
</span> </span>
</QCardSection> </QCardSection>
<QCardSection v-if="ticketData?.zone?.isVolumetric" horizontal> <QCardSection v-if="ticketData?.zone?.isVolumetric" horizontal>
<span class="q-mr-xs color-vn-label"> <span class="q-mr-xs color-vn-label"> {{ t('volume.volume') }}: </span>
{{ t('ticketComponents.volume') }}:
</span>
<span>{{ ticketVolume }}</span> <span>{{ ticketVolume }}</span>
</QCardSection> </QCardSection>
<QCardSection horizontal> <QCardSection horizontal>

View File

@ -32,10 +32,7 @@ const attendersOptions = ref([]);
> >
<template #form-inputs="{ data }"> <template #form-inputs="{ data }">
<VnRow> <VnRow>
<VnInput <VnInput v-model="data.description" :label="t('basicData.description')" />
v-model="data.description"
:label="t('purchaseRequest.description')"
/>
<VnSelect <VnSelect
:label="t('purchaseRequest.atender')" :label="t('purchaseRequest.atender')"
v-model="data.attenderFk" v-model="data.attenderFk"
@ -48,13 +45,13 @@ const attendersOptions = ref([]);
<VnRow> <VnRow>
<VnInput <VnInput
v-model="data.quantity" v-model="data.quantity"
:label="t('purchaseRequest.quantity')" :label="t('basicData.quantity')"
type="number" type="number"
min="1" min="1"
/> />
<VnInput <VnInput
v-model="data.price" v-model="data.price"
:label="t('purchaseRequest.price')" :label="t('basicData.price')"
type="number" type="number"
min="0" min="0"
/> />

View File

@ -34,7 +34,7 @@ onMounted(async () => {
<VnRow> <VnRow>
<VnInput <VnInput
ref="nameInputRef" ref="nameInputRef"
:label="t('service.description')" :label="t('basicData.description')"
v-model="data.name" v-model="data.name"
:required="true" :required="true"
/> />

View File

@ -39,7 +39,7 @@ const onStateFkChange = (formData) => (formData.userFk = user.value.id);
<VnRow> <VnRow>
<VnSelect <VnSelect
v-model="data.stateFk" v-model="data.stateFk"
:label="t('tracking.state')" :label="t('ticketList.state')"
:options="statesOptions" :options="statesOptions"
@update:model-value="onStateFkChange(data)" @update:model-value="onStateFkChange(data)"
hide-selected hide-selected
@ -47,7 +47,7 @@ const onStateFkChange = (formData) => (formData.userFk = user.value.id);
option-value="id" option-value="id"
/> />
<VnSelect <VnSelect
:label="t('tracking.worker')" :label="t('expedition.worker')"
v-model="data.userFk" v-model="data.userFk"
url="Workers/search" url="Workers/search"
fields=" ['id', 'name']" fields=" ['id', 'name']"

View File

@ -81,7 +81,7 @@ const columns = computed(() => [
}, },
}, },
{ {
label: t('expedition.item'), label: t('basicData.item'),
name: 'packagingItemFk', name: 'packagingItemFk',
align: 'left', align: 'left',
cardVisible: true, cardVisible: true,
@ -131,7 +131,7 @@ const columns = computed(() => [
format: (row) => toDateTimeFormat(row.created), format: (row) => toDateTimeFormat(row.created),
}, },
{ {
label: t('expedition.state'), label: t('ticketList.state'),
name: 'state', name: 'state',
align: 'left', align: 'left',
cardVisible: true, cardVisible: true,
@ -153,7 +153,7 @@ const columns = computed(() => [
const logTableColumns = computed(() => [ const logTableColumns = computed(() => [
{ {
label: t('expedition.state'), label: t('ticketList.state'),
name: 'state', name: 'state',
field: 'state', field: 'state',
align: 'center', align: 'center',

View File

@ -88,7 +88,7 @@ async function handleSave() {
:disable="!!row.id" :disable="!!row.id"
/> />
<VnInput <VnInput
:label="t('ticketNotes.description')" :label="t('basicData.description')"
v-model="row.description" v-model="row.description"
class="col" class="col"
@keyup.enter="handleSave" @keyup.enter="handleSave"

View File

@ -93,7 +93,7 @@ watch(
</template> </template>
</VnSelect> </VnSelect>
<VnInput <VnInput
:label="t('package.quantity')" :label="t('basicData.quantity')"
v-model.number="row.quantity" v-model.number="row.quantity"
class="col" class="col"
type="number" type="number"

View File

@ -81,7 +81,7 @@ const crudModelFilter = reactive({
const columns = computed(() => [ const columns = computed(() => [
{ {
align: 'left', align: 'left',
label: t('purchaseRequest.id'), label: t('ticketList.id'),
name: 'id', name: 'id',
chip: { chip: {
condition: () => true, condition: () => true,
@ -90,13 +90,13 @@ const columns = computed(() => [
}, },
{ {
align: 'left', align: 'left',
label: t('purchaseRequest.description'), label: t('basicData.description'),
name: 'description', name: 'description',
columnClass: 'expand', columnClass: 'expand',
}, },
{ {
align: 'left', align: 'left',
label: t('purchaseRequest.created'), label: t('expedition.created'),
name: 'created', name: 'created',
format: (row) => toDateFormat(row.created), format: (row) => toDateFormat(row.created),
cardVisible: true, cardVisible: true,
@ -117,12 +117,12 @@ const columns = computed(() => [
}, },
{ {
align: 'left', align: 'left',
label: t('purchaseRequest.quantity'), label: t('basicData.quantity'),
name: 'quantity', name: 'quantity',
}, },
{ {
align: 'left', align: 'left',
label: t('purchaseRequest.price'), label: t('basicData.price'),
name: 'price', name: 'price',
}, },
{ {
@ -133,7 +133,7 @@ const columns = computed(() => [
}, },
{ {
align: 'left', align: 'left',
label: t('purchaseRequest.state'), label: t('ticketList.state'),
name: 'isOk', name: 'isOk',
cardVisible: true, cardVisible: true,
}, },
@ -248,10 +248,7 @@ onMounted(() => (stateStore.rightDrawer = false));
</template> </template>
<template #more-create-dialog="{ data }"> <template #more-create-dialog="{ data }">
<VnInput <VnInput v-model="data.description" :label="t('basicData.description')" />
v-model="data.description"
:label="t('purchaseRequest.description')"
/>
<VnSelect <VnSelect
:label="t('purchaseRequest.atender')" :label="t('purchaseRequest.atender')"
v-model="data.attenderFk" v-model="data.attenderFk"
@ -262,13 +259,13 @@ onMounted(() => (stateStore.rightDrawer = false));
/> />
<VnInput <VnInput
v-model="data.quantity" v-model="data.quantity"
:label="t('purchaseRequest.quantity')" :label="t('basicData.quantity')"
type="number" type="number"
min="1" min="1"
/> />
<VnInput <VnInput
v-model="data.price" v-model="data.price"
:label="t('purchaseRequest.price')" :label="t('basicData.price')"
type="number" type="number"
min="0" min="0"
/> />

View File

@ -90,25 +90,25 @@ const columns = computed(() => [
}, },
{ {
align: 'left', align: 'left',
label: t('ticketSale.id'), label: t('ticketList.id'),
name: 'itemFk', name: 'itemFk',
}, },
{ {
align: 'left', align: 'left',
label: t('ticketSale.quantity'), label: t('basicData.quantity'),
name: 'quantity', name: 'quantity',
format: (row) => toCurrency(row.quantity), format: (row) => toCurrency(row.quantity),
}, },
{ {
align: 'left', align: 'left',
label: t('ticketSale.item'), label: t('basicData.item'),
name: 'item', name: 'item',
format: (row) => row?.item?.name, format: (row) => row?.item?.name,
columnClass: 'expand', columnClass: 'expand',
}, },
{ {
align: 'left', align: 'left',
label: t('ticketSale.price'), label: t('basicData.price'),
name: 'price', name: 'price',
format: (row) => toCurrency(row.price), format: (row) => toCurrency(row.price),
}, },
@ -120,7 +120,7 @@ const columns = computed(() => [
}, },
{ {
align: 'left', align: 'left',
label: t('ticketSale.amount'), label: t('ticketList.amount'),
name: 'amount', name: 'amount',
format: (row) => parseInt(row.amount * row.quantity), format: (row) => parseInt(row.amount * row.quantity),
}, },
@ -516,7 +516,7 @@ watch(
<QBtnDropdown <QBtnDropdown
ref="stateBtnDropdownRef" ref="stateBtnDropdownRef"
color="primary" color="primary"
:label="t('ticketSale.state')" :label="t('ticketList.state')"
:disable="!isTicketEditable" :disable="!isTicketEditable"
> >
<VnSelect <VnSelect
@ -587,7 +587,7 @@ watch(
}}</span> }}</span>
</QCardSection> </QCardSection>
<QCardSection class="justify-end text-weight-bold text-subtitle1" horizontal> <QCardSection class="justify-end text-weight-bold text-subtitle1" horizontal>
<span class="q-mr-xs color-vn-label"> {{ t('ticketSale.total') }}: </span> <span class="q-mr-xs color-vn-label"> {{ t('basicData.total') }}: </span>
<span>{{ toCurrency(store.data?.totalWithVat) }}</span> <span>{{ toCurrency(store.data?.totalWithVat) }}</span>
</QCardSection> </QCardSection>
</div></QDrawer </div></QDrawer
@ -753,7 +753,7 @@ watch(
> >
<VnInput <VnInput
v-model.number="edit.price" v-model.number="edit.price"
:label="t('ticketSale.price')" :label="t('basicData.price')"
type="number" type="number"
/> />
</TicketEditManaProxy> </TicketEditManaProxy>

View File

@ -42,19 +42,19 @@ const columns = computed(() => [
sortable: true, sortable: true,
}, },
{ {
label: t('ticketSaleTracking.item'), label: t('basicData.item'),
name: 'item', name: 'item',
align: 'left', align: 'left',
sortable: true, sortable: true,
}, },
{ {
label: t('ticketSaleTracking.description'), label: t('basicData.description'),
name: 'description', name: 'description',
align: 'left', align: 'left',
sortable: true, sortable: true,
}, },
{ {
label: t('ticketSaleTracking.quantity'), label: t('basicData.quantity'),
name: 'quantity', name: 'quantity',
field: 'quantity', field: 'quantity',
align: 'left', align: 'left',
@ -78,7 +78,7 @@ const columns = computed(() => [
const logTableColumns = computed(() => [ const logTableColumns = computed(() => [
{ {
label: t('ticketSaleTracking.quantity'), label: t('basicData.quantity'),
name: 'quantity', name: 'quantity',
field: 'quantity', field: 'quantity',
align: 'left', align: 'left',
@ -92,20 +92,20 @@ const logTableColumns = computed(() => [
sortable: true, sortable: true,
}, },
{ {
label: t('ticketSaleTracking.worker'), label: t('expedition.worker'),
name: 'worker', name: 'worker',
align: 'left', align: 'left',
sortable: true, sortable: true,
}, },
{ {
label: t('ticketSaleTracking.state'), label: t('ticketList.state'),
name: 'state', name: 'state',
field: 'state', field: 'state',
align: 'left', align: 'left',
sortable: true, sortable: true,
}, },
{ {
label: t('ticketSaleTracking.created'), label: t('expedition.created'),
name: 'created', name: 'created',
field: 'created', field: 'created',
align: 'left', align: 'left',
@ -116,13 +116,13 @@ const logTableColumns = computed(() => [
const shelvingsTableColumns = computed(() => [ const shelvingsTableColumns = computed(() => [
{ {
label: t('ticketSaleTracking.quantity'), label: t('basicData.quantity'),
name: 'quantity', name: 'quantity',
align: 'left', align: 'left',
sortable: true, sortable: true,
}, },
{ {
label: t('ticketSaleTracking.worker'), label: t('expedition.worker'),
name: 'worker', name: 'worker',
align: 'left', align: 'left',
sortable: true, sortable: true,
@ -140,7 +140,7 @@ const shelvingsTableColumns = computed(() => [
sortable: true, sortable: true,
}, },
{ {
label: t('ticketSaleTracking.created'), label: t('expedition.created'),
name: 'created', name: 'created',
field: 'created', field: 'created',
align: 'left', align: 'left',

View File

@ -85,21 +85,21 @@ const getDefaultTaxClass = async () => {
const columns = computed(() => [ const columns = computed(() => [
{ {
name: 'description', name: 'description',
label: t('service.description'), label: t('basicData.description'),
field: (row) => row.ticketServiceTypeFk, field: (row) => row.ticketServiceTypeFk,
sortable: true, sortable: true,
align: 'left', align: 'left',
}, },
{ {
name: 'quantity', name: 'quantity',
label: t('service.quantity'), label: t('basicData.quantity'),
field: (row) => row.quantity, field: (row) => row.quantity,
sortable: true, sortable: true,
align: 'left', align: 'left',
}, },
{ {
name: 'price', name: 'price',
label: t('service.price'), label: t('basicData.price'),
field: (row) => row.price, field: (row) => row.price,
sortable: true, sortable: true,
align: 'left', align: 'left',

View File

@ -52,19 +52,19 @@ const paginateFilter = reactive({
const columns = computed(() => [ const columns = computed(() => [
{ {
label: t('tracking.state'), label: t('ticketList.state'),
name: 'state', name: 'state',
field: 'state', field: 'state',
align: 'left', align: 'left',
format: (val) => val.name, format: (val) => val.name,
}, },
{ {
label: t('tracking.worker'), label: t('expedition.worker'),
name: 'worker', name: 'worker',
align: 'left', align: 'left',
}, },
{ {
label: t('tracking.created'), label: t('expedition.created'),
name: 'created', name: 'created',
field: 'created', field: 'created',
align: 'left', align: 'left',

View File

@ -33,19 +33,19 @@ const _transfer = ref();
const transferLinesColumns = computed(() => [ const transferLinesColumns = computed(() => [
{ {
label: t('ticketSale.id'), label: t('ticketList.id'),
name: 'itemFk', name: 'itemFk',
field: 'itemFk', field: 'itemFk',
align: 'left', align: 'left',
}, },
{ {
label: t('ticketSale.item'), label: t('basicData.item'),
name: 'item', name: 'item',
field: 'concept', field: 'concept',
align: 'left', align: 'left',
}, },
{ {
label: t('ticketSale.quantity'), label: t('basicData.quantity'),
name: 'quantity', name: 'quantity',
field: 'quantity', field: 'quantity',
align: 'left', align: 'left',
@ -54,26 +54,26 @@ const transferLinesColumns = computed(() => [
const destinationTicketColumns = computed(() => [ const destinationTicketColumns = computed(() => [
{ {
label: t('ticketSale.id'), label: t('ticketList.id'),
name: 'id', name: 'id',
field: 'id', field: 'id',
align: 'left', align: 'left',
}, },
{ {
label: t('ticketSale.shipped'), label: t('ticketList.shipped'),
name: 'item', name: 'item',
field: 'shipped', field: 'shipped',
align: 'left', align: 'left',
format: (val) => toDateFormat(val), format: (val) => toDateFormat(val),
}, },
{ {
label: t('ticketSale.agency'), label: t('basicData.agency'),
name: 'agency', name: 'agency',
field: 'agencyName', field: 'agencyName',
align: 'left', align: 'left',
}, },
{ {
label: t('ticketSale.address'), label: t('basicData.address'),
name: 'address', name: 'address',
field: 'address', field: 'address',
align: 'left', align: 'left',

View File

@ -39,7 +39,7 @@ const packingTypeVolume = ref([]);
const columns = computed(() => [ const columns = computed(() => [
{ {
align: 'left', align: 'left',
label: t('volume.item'), label: t('basicData.item'),
name: 'itemFk', name: 'itemFk',
chip: { chip: {
condition: () => true, condition: () => true,
@ -48,7 +48,7 @@ const columns = computed(() => [
}, },
{ {
align: 'left', align: 'left',
label: t('volume.description'), label: t('basicData.description'),
name: 'concept', name: 'concept',
columnClass: 'expand', columnClass: 'expand',
cardVisible: true, cardVisible: true,
@ -62,7 +62,7 @@ const columns = computed(() => [
}, },
{ {
align: 'left', align: 'left',
label: t('volume.quantity'), label: t('basicData.quantity'),
name: 'quantity', name: 'quantity',
cardVisible: true, cardVisible: true,
}, },

View File

@ -127,7 +127,7 @@ const ticketColumns = computed(() => [
format: (val) => dashIfEmpty(val), format: (val) => dashIfEmpty(val),
}, },
{ {
label: t('advanceTickets.state'), label: t('ticketList.state'),
name: 'state', name: 'state',
align: 'left', align: 'left',
sortable: true, sortable: true,

View File

@ -95,7 +95,7 @@ const ticketColumns = computed(() => [
columnFilter: null, columnFilter: null,
}, },
{ {
label: t('futureTickets.ticketId'), label: t('advanceTickets.ticketId'),
name: 'ticketId', name: 'ticketId',
align: 'center', align: 'center',
sortable: true, sortable: true,
@ -118,7 +118,7 @@ const ticketColumns = computed(() => [
columnFilter: null, columnFilter: null,
}, },
{ {
label: t('futureTickets.ipt'), label: t('advanceTickets.ipt'),
name: 'ipt', name: 'ipt',
field: 'ipt', field: 'ipt',
align: 'left', align: 'left',
@ -139,14 +139,14 @@ const ticketColumns = computed(() => [
format: (val) => dashIfEmpty(val), format: (val) => dashIfEmpty(val),
}, },
{ {
label: t('futureTickets.state'), label: t('ticketList.state'),
name: 'state', name: 'state',
align: 'left', align: 'left',
sortable: true, sortable: true,
columnFilter: null, columnFilter: null,
}, },
{ {
label: t('futureTickets.liters'), label: t('advanceTickets.liters'),
name: 'liters', name: 'liters',
field: 'liters', field: 'liters',
align: 'left', align: 'left',
@ -162,7 +162,7 @@ const ticketColumns = computed(() => [
}, },
}, },
{ {
label: t('futureTickets.import'), label: t('advanceTickets.import'),
field: 'import', field: 'import',
name: 'import', name: 'import',
align: 'left', align: 'left',
@ -186,7 +186,7 @@ const ticketColumns = computed(() => [
format: (val) => dashIfEmpty(val), format: (val) => dashIfEmpty(val),
}, },
{ {
label: t('futureTickets.futureId'), label: t('advanceTickets.futureId'),
name: 'futureId', name: 'futureId',
align: 'left', align: 'left',
sortable: true, sortable: true,
@ -211,7 +211,7 @@ const ticketColumns = computed(() => [
}, },
{ {
label: t('futureTickets.futureIpt'), label: t('advanceTickets.futureIpt'),
name: 'futureIpt', name: 'futureIpt',
field: 'futureIpt', field: 'futureIpt',
align: 'left', align: 'left',
@ -232,7 +232,7 @@ const ticketColumns = computed(() => [
format: (val) => dashIfEmpty(val), format: (val) => dashIfEmpty(val),
}, },
{ {
label: t('futureTickets.futureState'), label: t('advanceTickets.futureState'),
name: 'futureState', name: 'futureState',
align: 'right', align: 'right',
sortable: true, sortable: true,
@ -259,7 +259,7 @@ const moveTicketsFuture = async () => {
let params = { tickets: ticketsToMove }; let params = { tickets: ticketsToMove };
await axios.post('Tickets/merge', params); await axios.post('Tickets/merge', params);
notify(t('futureTickets.moveTicketSuccess'), 'positive'); notify(t('advanceTickets.moveTicketSuccess'), 'positive');
selectedTickets.value = []; selectedTickets.value = [];
arrayData.fetch({ append: false }); arrayData.fetch({ append: false });
} catch (error) { } catch (error) {
@ -333,14 +333,14 @@ onMounted(async () => {
colspan="8" colspan="8"
translate translate
> >
{{ t('futureTickets.origin') }} {{ t('advanceTickets.origin') }}
</QTh> </QTh>
<QTh <QTh
class="horizontal-separator text-uppercase color-vn-label" class="horizontal-separator text-uppercase color-vn-label"
colspan="4" colspan="4"
translate translate
> >
{{ t('futureTickets.destination') }} {{ t('advanceTickets.destination') }}
</QTh> </QTh>
</QTr> </QTr>
<QTr> <QTr>
@ -409,7 +409,7 @@ onMounted(async () => {
size="xs" size="xs"
> >
<QTooltip> <QTooltip>
{{ t('futureTickets.noVisible') }} {{ t('ticketSale.noVisible') }}
</QTooltip> </QTooltip>
</QIcon> </QIcon>
<QIcon <QIcon

View File

@ -47,7 +47,7 @@ const columns = computed(() => [
{ {
align: 'left', align: 'left',
name: 'clientFk', name: 'clientFk',
label: t('weeklyTickets.client'), label: t('ticketList.client'),
isTitle: true, isTitle: true,
cardVisible: true, cardVisible: true,
component: 'select', component: 'select',
@ -79,7 +79,7 @@ const columns = computed(() => [
}, },
{ {
align: 'left', align: 'left',
label: t('weeklyTickets.agency'), label: t('basicData.agency'),
name: 'agencyModeFk', name: 'agencyModeFk',
cardVisible: true, cardVisible: true,
columnFilter: { columnFilter: {
@ -95,7 +95,7 @@ const columns = computed(() => [
{ {
align: 'left', align: 'left',
name: 'warehouseFk', name: 'warehouseFk',
label: t('weeklyTickets.warehouse'), label: t('ticketList.warehouse'),
cardVisible: true, cardVisible: true,
columnFilter: { columnFilter: {
component: 'select', component: 'select',

View File

@ -2,16 +2,12 @@ card:
search: Search tickets search: Search tickets
searchInfo: You can search by ticket id or alias searchInfo: You can search by ticket id or alias
volume: volume:
item: Item
description: Description
packingType: Packing Type packingType: Packing Type
quantity: Quantity
volumeQuantity: m³ per quantity volumeQuantity: m³ per quantity
type: Type type: Type
volume: Volume volume: Volume
ticketNotes: ticketNotes:
observationType: Observation type observationType: Observation type
description: Description
removeNote: Remove note removeNote: Remove note
addNote: Add note addNote: Add note
observationTypes: observationTypes:
@ -25,29 +21,18 @@ ticketNotes:
DropOff: Drop Off DropOff: Drop Off
Sustitución: Sustitution Sustitución: Sustitution
ticketSale: ticketSale:
id: Id
visible: Visible visible: Visible
available: Available available: Available
quantity: Quantity
item: Item
price: Price
discount: Disc discount: Disc
amount: Amount
packaging: Packaging packaging: Packaging
subtotal: Subtotal subtotal: Subtotal
tax: VAT tax: VAT
total: Total
history: History history: History
claim: Claim claim: Claim
reserved: Reserved reserved: Reserved
noVisible: Not visible
hasComponentLack: Component lack hasComponentLack: Component lack
ok: Ok ok: Ok
state: State
more: More more: More
shipped: Shipped
agency: Agency
address: Address
advanceTickets: advanceTickets:
preparation: Preparation preparation: Preparation
origin: Origin origin: Origin
@ -56,7 +41,6 @@ advanceTickets:
destinationAgency: 'Destination agency: {agency}' destinationAgency: 'Destination agency: {agency}'
ticketId: ID ticketId: ID
ipt: IPT ipt: IPT
state: State
liters: Liters liters: Liters
lines: Lines lines: Lines
import: Import import: Import
@ -81,17 +65,9 @@ advanceTickets:
searchInfo: Search advance tickets by ID or client ID searchInfo: Search advance tickets by ID or client ID
futureTickets: futureTickets:
problems: Problems problems: Problems
ticketId: ID
shipped: Date shipped: Date
ipt: IPT
state: State
liters: Liters
import: Import
availableLines: Available lines availableLines: Available lines
futureId: ID
futureShipped: Date futureShipped: Date
futureIpt: IPT
futureState: State
noVerified: No verified data noVerified: No verified data
noVisible: Not visible noVisible: Not visible
purchaseRequest: Purchase request purchaseRequest: Purchase request
@ -99,11 +75,8 @@ futureTickets:
componentLack: Component lack componentLack: Component lack
rounding: Rounding rounding: Rounding
risk: Risk risk: Risk
origin: Origin
destination: Destination
moveTicketTitle: Move tickets moveTicketTitle: Move tickets
moveTicketDialogSubtitle: 'Do you want to move {selectedTickets} tickets to the future?' moveTicketDialogSubtitle: 'Do you want to move {selectedTickets} tickets to the future?'
moveTicketSuccess: Tickets moved successfully!
searchInfo: Search future tickets by date searchInfo: Search future tickets by date
futureTicket: Future tickets futureTicket: Future tickets
FREE: Free FREE: Free
@ -113,17 +86,14 @@ futureTickets:
DELIVERED: Delivered DELIVERED: Delivered
expedition: expedition:
id: Expedition id: Expedition
item: Item
name: Name name: Name
packageType: Package type packageType: Package type
counter: Counter counter: Counter
externalId: external Id externalId: external Id
created: Created created: Created
state: State
historyAction: Status log historyAction: Status log
newTicketWithRoute: New ticket with route newTicketWithRoute: New ticket with route
newTicketWithoutRoute: New ticket without route newTicketWithoutRoute: New ticket without route
landed: Landed
routeId: Route id routeId: Route id
deleteExpedition: Delete expedition deleteExpedition: Delete expedition
expeditionRemoved: Expedition removed expeditionRemoved: Expedition removed
@ -138,17 +108,12 @@ basicData:
next: Next next: Next
back: Back back: Back
finalize: Finalize finalize: Finalize
client: Client
warehouse: Warehouse
address: Address address: Address
inactive: (Inactive) inactive: (Inactive)
noDeliveryZoneAvailable: No delivery zone available for this landing date noDeliveryZoneAvailable: No delivery zone available for this landing date
editAddress: Edit address editAddress: Edit address
alias: Alias alias: Alias
company: Company
agency: Agency agency: Agency
zone: Zone
shipped: Shipped
landed: Landed landed: Landed
shippedHour: Shipped hour shippedHour: Shipped hour
priceDifference: Price difference priceDifference: Price difference
@ -171,37 +136,22 @@ basicData:
chooseAnOption: Choose an option chooseAnOption: Choose an option
unroutedTicket: The ticket has been unrouted unroutedTicket: The ticket has been unrouted
purchaseRequest: purchaseRequest:
id: Id
description: Description
created: Created
requester: Requester requester: Requester
atender: Atender atender: Atender
quantity: Quantity
price: Price
saleFk: Item id saleFk: Item id
state: State
newRequest: New request newRequest: New request
weeklyTickets: weeklyTickets:
id: Ticket ID id: Ticket ID
client: Client
shipment: Shipment shipment: Shipment
agency: Agency
warehouse: Warehouse
salesperson: Salesperson salesperson: Salesperson
search: Search weekly tickets search: Search weekly tickets
searchInfo: Search weekly tickets by id or client id searchInfo: Search weekly tickets by id or client id
ticketSaleTracking: ticketSaleTracking:
isChecked: Is checked isChecked: Is checked
item: Item
description: Description
quantity: Quantity
parking: Parking parking: Parking
historyAction: Log states historyAction: Log states
shelvingAction: Shelvings sale shelvingAction: Shelvings sale
original: Original original: Original
worker: Worker
state: State
created: Created
shelving: Shelving shelving: Shelving
saleGroupDetail: sale group detail saleGroupDetail: sale group detail
previousSelected: previous selected previousSelected: previous selected
@ -210,40 +160,25 @@ ticketSaleTracking:
checked: checked checked: checked
service: service:
pay: Pay pay: Pay
description: Description
quantity: Quantity
price: Price
removeService: Remove service removeService: Remove service
newService: New service type newService: New service type
addService: Add service addService: Add service
quantityInfo: To create services with negative amounts mark the service on the source ticket and press the pay button. quantityInfo: To create services with negative amounts mark the service on the source ticket and press the pay button.
createRefundSuccess: 'The following refund ticket have been created: { ticketId }' createRefundSuccess: 'The following refund ticket have been created: { ticketId }'
ticketComponents: ticketComponents:
item: Item
description: Description
quantity: Quantity
serie: Serie serie: Serie
components: Components components: Components
import: Import
total: Total
baseToCommission: Base to commission baseToCommission: Base to commission
totalWithoutVat: Total without VAT totalWithoutVat: Total without VAT
zoneBreakdown: Zone breakdown zoneBreakdown: Zone breakdown
price: Price
bonus: Bonus bonus: Bonus
zone: Zone
volume: Volume
theoricalCost: Theorical cost theoricalCost: Theorical cost
totalPrice: Total price totalPrice: Total price
packages: Packages packages: Packages
tracking: tracking:
state: State
worker: Worker
created: Created
addState: Add state addState: Add state
package: package:
package: Package package: Package
quantity: Quantity
added: Added added: Added
addPackage: Add package addPackage: Add package
removePackage: Remove package removePackage: Remove package

View File

@ -1,32 +1,22 @@
service: service:
pay: Abonar pay: Abonar
description: Descripción
quantity: Cantidad
price: Precio
removeService: Quitar servicio removeService: Quitar servicio
newService: Nuevo tipo de servicio newService: Nuevo tipo de servicio
addService: Añadir servicio addService: Añadir servicio
quantityInfo: Para crear sevicios con cantidades negativas marcar servicio en el ticket origen y apretar el boton abonar. quantityInfo: Para crear sevicios con cantidades negativas marcar servicio en el ticket origen y apretar el boton abonar.
createRefundSuccess: 'Se ha creado siguiente ticket de abono: { ticketId }' createRefundSuccess: 'Se ha creado siguiente ticket de abono: { ticketId }'
tracking: tracking:
state: Estado
worker: Trabajador
created: Fecha creación
addState: Añadir estado addState: Añadir estado
card: card:
search: Buscar tickets search: Buscar tickets
searchInfo: Buscar tickets por identificador o alias searchInfo: Buscar tickets por identificador o alias
volume: volume:
item: Artículo
description: Descripción
packingType: Encajado packingType: Encajado
quantity: Cantidad
volumeQuantity: m³ por cantidad volumeQuantity: m³ por cantidad
type: Tipo type: Tipo
volume: Volumen volume: Volumen
ticketNotes: ticketNotes:
observationType: Tipo de observación observationType: Tipo de observación
description: Descripción
removeNote: Quitar nota removeNote: Quitar nota
addNote: Añadir nota addNote: Añadir nota
observationTypes: observationTypes:
@ -42,31 +32,20 @@ ticketNotes:
Accepted: Aceptado Accepted: Aceptado
Denied: Denegado Denied: Denegado
purchaseRequest: purchaseRequest:
Id: Id
description: Descripción
created: Fecha creación
requester: Solicitante requester: Solicitante
atender: Comprador atender: Comprador
quantity: Cantidad
price: Precio
saleFk: Id artículo saleFk: Id artículo
state: Estado
newRequest: Crear petición newRequest: Crear petición
basicData: basicData:
next: Siguiente next: Siguiente
back: Anterior back: Anterior
finalize: Finalizar finalize: Finalizar
client: Cliente
warehouse: Almacén
address: Consignatario address: Consignatario
inactive: (Inactivo) inactive: (Inactivo)
noDeliveryZoneAvailable: No hay una zona de reparto disponible para la fecha de envío seleccionada noDeliveryZoneAvailable: No hay una zona de reparto disponible para la fecha de envío seleccionada
editAddress: Editar dirección editAddress: Editar dirección
alias: Alias alias: Alias
company: Empresa
agency: Agencia agency: Agencia
zone: Zona
shipped: F. Envío
landed: F. Entrega landed: F. Entrega
shippedHour: Hora de envío shippedHour: Hora de envío
priceDifference: Diferencia de precio priceDifference: Diferencia de precio
@ -90,10 +69,7 @@ basicData:
unroutedTicket: El ticket ha sido desenrutado unroutedTicket: El ticket ha sido desenrutado
weeklyTickets: weeklyTickets:
id: ID Ticket id: ID Ticket
client: Cliente
shipment: Salida shipment: Salida
agency: Agencia
warehouse: Almacén
salesperson: Comercial salesperson: Comercial
search: Buscar por tickets programados search: Buscar por tickets programados
searchInfo: Buscar tickets programados por el identificador o el identificador del cliente searchInfo: Buscar tickets programados por el identificador o el identificador del cliente
@ -105,7 +81,6 @@ advanceTickets:
destinationAgency: 'Agencia destino: {agency}' destinationAgency: 'Agencia destino: {agency}'
ticketId: ID ticketId: ID
ipt: IPT ipt: IPT
state: Estado
liters: Litros liters: Litros
lines: Líneas lines: Líneas
import: Importe import: Importe
@ -130,29 +105,17 @@ advanceTickets:
searchInfo: Buscar tickets adelantados por el identificador o el identificador del cliente searchInfo: Buscar tickets adelantados por el identificador o el identificador del cliente
futureTickets: futureTickets:
problems: Problemas problems: Problemas
ticketId: ID
shipped: Fecha shipped: Fecha
ipt: IPT
state: Estado
liters: Litros
import: Importe
availableLines: Líneas disponibles availableLines: Líneas disponibles
futureId: ID
futureShipped: Fecha futureShipped: Fecha
futureIpt: IPT
futureState: Estado
noVerified: Sin datos comprobados noVerified: Sin datos comprobados
noVisible: No visible
purchaseRequest: Petición de compra purchaseRequest: Petición de compra
clientFrozen: Cliente congelado clientFrozen: Cliente congelado
risk: Riesgo risk: Riesgo
componentLack: Faltan componentes componentLack: Faltan componentes
rounding: Redondeo rounding: Redondeo
origin: Origen
destination: Destino
moveTicketTitle: Mover tickets moveTicketTitle: Mover tickets
moveTicketDialogSubtitle: '¿Desea mover {selectedTickets} tickets hacia el futuro?' moveTicketDialogSubtitle: '¿Desea mover {selectedTickets} tickets hacia el futuro?'
moveTicketSuccess: Tickets movidos correctamente
searchInfo: Buscar tickets por fecha searchInfo: Buscar tickets por fecha
futureTicket: Tickets a futuro futureTicket: Tickets a futuro
FREE: Libre FREE: Libre
@ -161,60 +124,40 @@ futureTickets:
PACKED: Encajado PACKED: Encajado
DELIVERED: Servido DELIVERED: Servido
ticketSale: ticketSale:
id: Id
visible: Visible visible: Visible
available: Disponible available: Disponible
quantity: Cantidad
item: Artículo
price: Precio
discount: Dto discount: Dto
amount: Importe
packaging: Encajado packaging: Encajado
subtotal: Subtotal subtotal: Subtotal
tax: IVA tax: IVA
total: Total
history: Historial history: Historial
claim: Reclamación claim: Reclamación
reserved: Reservado reserved: Reservado
noVisible: No visible noVisible: No visible
hasComponentLack: Faltan componentes hasComponentLack: Faltan componentes
ok: Ok ok: Ok
state: Estado
more: Más more: Más
shipped: F. Envío
agency: Agencia
address: Consignatario address: Consignatario
ticketComponents: ticketComponents:
item: Artículo
description: Descripción
quantity: Cantidad
serie: Serie serie: Serie
components: Componentes components: Componentes
import: Importe
total: Total
baseToCommission: Base comisionable baseToCommission: Base comisionable
totalWithoutVat: Total sin IVA totalWithoutVat: Total sin IVA
zoneBreakdown: Desglose zona zoneBreakdown: Desglose zona
price: Precio
bonus: Bonificación bonus: Bonificación
zone: Zona
volume: Volúmen
theoricalCost: Porte teórico theoricalCost: Porte teórico
totalPrice: Precio total totalPrice: Precio total
packages: Bultos packages: Bultos
expedition: expedition:
id: Expedición id: Expedición
item: Artículo
name: Nombre name: Nombre
packageType: Embalaje packageType: Embalaje
counter: Contador counter: Contador
externalId: ID externo externalId: ID externo
created: Fecha creación created: Fecha creación
state: Estado
historyAction: Historial de estados historyAction: Historial de estados
newTicketWithRoute: Nuevo ticket con ruta newTicketWithRoute: Nuevo ticket con ruta
newTicketWithoutRoute: Nuevo ticket sin ruta newTicketWithoutRoute: Nuevo ticket sin ruta
landed: F. entrega
routeId: Id ruta routeId: Id ruta
deleteExpedition: Eliminar expedición deleteExpedition: Eliminar expedición
expeditionRemoved: Expedición eliminada expeditionRemoved: Expedición eliminada
@ -227,22 +170,15 @@ expedition:
removeExpedition: Eliminar expedición removeExpedition: Eliminar expedición
package: package:
package: Embalaje package: Embalaje
quantity: Cantidad
added: Añadido added: Añadido
addPackage: Añadir embalaje addPackage: Añadir embalaje
removePackage: Quitar embalaje removePackage: Quitar embalaje
ticketSaleTracking: ticketSaleTracking:
isChecked: Comprobado isChecked: Comprobado
item: Artículo
description: Descripción
quantity: Cantidad
parking: Parking parking: Parking
historyAction: Historial estados historyAction: Historial estados
shelvingAction: Carros línea shelvingAction: Carros línea
original: Original original: Original
worker: Trabajador
state: Estado
created: Fecha creación
shelving: Matrícula shelving: Matrícula
saleGroupDetail: detalle grupo líneas saleGroupDetail: detalle grupo líneas
previousSelected: previa seleccionado previousSelected: previa seleccionado

View File

@ -32,7 +32,7 @@ const warehousesOptions = ref([]);
<VnRow> <VnRow>
<div class="col"> <div class="col">
<VnSelect <VnSelect
:label="t('warehouses.warehouse')" :label="t('list.warehouse')"
v-model="ZoneWarehouseFormData.warehouseFk" v-model="ZoneWarehouseFormData.warehouseFk"
:options="warehousesOptions" :options="warehousesOptions"
option-value="id" option-value="id"

View File

@ -57,11 +57,11 @@ const setData = (entity) => {
<ZoneDescriptorMenuItems :zone="entity" /> <ZoneDescriptorMenuItems :zone="entity" />
</template> </template>
<template #body="{ entity }"> <template #body="{ entity }">
<VnLv :label="t('summary.agency')" :value="entity.agencyMode.name" /> <VnLv :label="t('list.agency')" :value="entity.agencyMode.name" />
<VnLv :label="t('summary.closeHour')" :value="toTimeFormat(entity.hour)" /> <VnLv :label="t('zone.closing')" :value="toTimeFormat(entity.hour)" />
<VnLv :label="t('summary.travelingDays')" :value="entity.travelingDays" /> <VnLv :label="t('zone.travelingDays')" :value="entity.travelingDays" />
<VnLv :label="t('summary.price')" :value="toCurrency(entity.price)" /> <VnLv :label="t('list.price')" :value="toCurrency(entity.price)" />
<VnLv :label="t('summary.bonus')" :value="toCurrency(entity.bonus)" /> <VnLv :label="t('zone.bonus')" :value="toCurrency(entity.bonus)" />
</template> </template>
</CardDescriptor> </CardDescriptor>
</template> </template>

View File

@ -186,8 +186,8 @@ onMounted(() => {
class="q-mr-sm" class="q-mr-sm"
@click=" @click="
openConfirmationModal( openConfirmationModal(
t('eventsPanel.deleteTitle'), t('zone.deleteTitle'),
t('eventsPanel.deleteSubtitle'), t('zone.deleteSubtitle'),
() => deleteEvent() () => deleteEvent()
) )
" "

View File

@ -153,7 +153,7 @@ onMounted(() => {
<div class="col flex justify-center"> <div class="col flex justify-center">
<VnInputDate <VnInputDate
v-if="inclusionType === 'day'" v-if="inclusionType === 'day'"
:label="t('eventsInclusionForm.day')" :label="t('eventsExclusionForm.day')"
v-model="eventInclusionFormData.dated" v-model="eventInclusionFormData.dated"
class="full-width" class="full-width"
/> />
@ -176,11 +176,11 @@ onMounted(() => {
<VnRow> <VnRow>
<VnInputTime <VnInputTime
v-model="eventInclusionFormData.hour" v-model="eventInclusionFormData.hour"
:label="t('eventsInclusionForm.closing')" :label="t('zone.closing')"
/> />
<VnInput <VnInput
v-model="eventInclusionFormData.travelingDays" v-model="eventInclusionFormData.travelingDays"
:label="t('eventsInclusionForm.travelingDays')" :label="t('zone.travelingDays')"
type="number" type="number"
min="0" min="0"
/> />
@ -188,13 +188,13 @@ onMounted(() => {
<VnRow> <VnRow>
<VnInput <VnInput
v-model="eventInclusionFormData.price" v-model="eventInclusionFormData.price"
:label="t('eventsInclusionForm.price')" :label="t('list.price')"
type="number" type="number"
min="0" min="0"
/> />
<VnInput <VnInput
v-model="eventInclusionFormData.bonus" v-model="eventInclusionFormData.bonus"
:label="t('eventsInclusionForm.bonus')" :label="t('zone.bonus')"
type="number" type="number"
min="0" min="0"
/> />
@ -202,7 +202,7 @@ onMounted(() => {
<VnRow> <VnRow>
<VnInput <VnInput
v-model="eventInclusionFormData.m3Max" v-model="eventInclusionFormData.m3Max"
:label="t('eventsInclusionForm.m3Max')" :label="t('zone.m3Max')"
type="number" type="number"
min="0" min="0"
/> />
@ -224,8 +224,8 @@ onMounted(() => {
class="q-mr-sm" class="q-mr-sm"
@click=" @click="
openConfirmationModal( openConfirmationModal(
t('eventsPanel.deleteTitle'), t('zone.deleteTitle'),
t('eventsPanel.deleteSubtitle'), t('zone.deleteSubtitle'),
() => deleteEvent() () => deleteEvent()
) )
" "

View File

@ -150,31 +150,31 @@ onMounted(async () => {
</span> </span>
</div> </div>
<span class="color-vn-label"> <span class="color-vn-label">
{{ t('eventsPanel.closing') }}: {{ t('zone.closing') }}:
<span class="color-vn-text q-ml-xs"> <span class="color-vn-text q-ml-xs">
{{ dashIfEmpty(toTimeFormat(event.hour)) }} {{ dashIfEmpty(toTimeFormat(event.hour)) }}
</span> </span>
</span> </span>
<span class="color-vn-label"> <span class="color-vn-label">
{{ t('eventsPanel.travelingDays') }}: {{ t('zone.travelingDays') }}:
<span class="color-vn-text"> <span class="color-vn-text">
{{ dashIfEmpty(event.travelingDays) }} {{ dashIfEmpty(event.travelingDays) }}
</span> </span>
</span> </span>
<span class="color-vn-label"> <span class="color-vn-label">
{{ t('eventsPanel.price') }}: {{ t('list.price') }}:
<span class="color-vn-text"> <span class="color-vn-text">
{{ dashOrCurrency(event.price)() }}</span {{ dashOrCurrency(event.price)() }}</span
> >
</span> </span>
<span class="color-vn-label"> <span class="color-vn-label">
{{ t('eventsPanel.bonus') }}: {{ t('zone.bonus') }}:
<span class="color-vn-text"> <span class="color-vn-text">
{{ dashOrCurrency(event.bonus)() }}</span {{ dashOrCurrency(event.bonus)() }}</span
> >
</span> </span>
<span class="color-vn-label"> <span class="color-vn-label">
{{ t('eventsPanel.m3Max') }}: {{ t('zone.m3Max') }}:
<span class="color-vn-text"> {{ dashIfEmpty(event.m3Max) }}</span> <span class="color-vn-text"> {{ dashIfEmpty(event.m3Max) }}</span>
</span> </span>
</QItemSection> </QItemSection>
@ -187,8 +187,8 @@ onMounted(async () => {
color="primary" color="primary"
@click.stop=" @click.stop="
openConfirmationModal( openConfirmationModal(
t('eventsPanel.deleteTitle'), t('zone.deleteTitle'),
t('eventsPanel.deleteSubtitle'), t('zone.deleteSubtitle'),
() => deleteEvent(event.id) () => deleteEvent(event.id)
) )
" "

View File

@ -23,7 +23,7 @@ const onSelected = async (val, node) => {
<template> <template>
<QPage class="column items-center q-pa-md"> <QPage class="column items-center q-pa-md">
<QCard class="full-width q-pa-md" style="max-width: 800px"> <QCard class="full-width q-pa-md" style="max-width: 800px">
<ZoneLocationsTree :root-label="t('zoneLocations.locations')"> <ZoneLocationsTree :root-label="t('zone.pageTitles.locations')">
<template #content="{ node }"> <template #content="{ node }">
<span v-if="!node.id">{{ node.name }}</span> <span v-if="!node.id">{{ node.name }}</span>
<QCheckbox <QCheckbox

View File

@ -40,7 +40,7 @@ const filter = computed(() => {
const columns = computed(() => [ const columns = computed(() => [
{ {
label: t('summary.name'), label: t('list.name'),
name: 'name', name: 'name',
field: 'warehouse', field: 'warehouse',
align: 'left', align: 'left',
@ -82,22 +82,22 @@ onMounted(async () => {
<template #body="{ entity: zone }"> <template #body="{ entity: zone }">
<QCard class="vn-one"> <QCard class="vn-one">
<VnTitle :url="zoneUrl + `basic-data`" :text="t('summary.basicData')" /> <VnTitle :url="zoneUrl + `basic-data`" :text="t('summary.basicData')" />
<VnLv :label="t('summary.agency')" :value="zone.agencyMode?.name" /> <VnLv :label="t('list.agency')" :value="zone.agencyMode?.name" />
<VnLv :label="t('summary.price')" :value="toCurrency(zone.price)" /> <VnLv :label="t('list.price')" :value="toCurrency(zone.price)" />
<VnLv :label="t('summary.bonus')" :value="toCurrency(zone.bonus)" /> <VnLv :label="t('zone.bonus')" :value="toCurrency(zone.bonus)" />
</QCard> </QCard>
<QCard class="vn-one"> <QCard class="vn-one">
<VnTitle :url="zoneUrl + `basic-data`" :text="t('summary.basicData')" /> <VnTitle :url="zoneUrl + `basic-data`" :text="t('summary.basicData')" />
<VnLv :label="t('summary.closeHour')" :value="toTimeFormat(zone.hour)" /> <VnLv :label="t('summary.closeHour')" :value="toTimeFormat(zone.hour)" />
<VnLv :label="t('summary.travelingDays')" :value="zone.travelingDays" /> <VnLv :label="t('zone.travelingDays')" :value="zone.travelingDays" />
<QCheckbox <QCheckbox
:label="t('summary.volumetric')" :label="t('zone.volumetric')"
v-model="zone.isVolumetric" v-model="zone.isVolumetric"
:disable="true" :disable="true"
/> />
</QCard> </QCard>
<QCard class="full-width"> <QCard class="full-width">
<VnTitle :url="zoneUrl + `warehouses`" :text="t('summary.warehouse')" /> <VnTitle :url="zoneUrl + `warehouses`" :text="t('list.warehouse')" />
<QTable <QTable
:columns="columns" :columns="columns"
:rows="warehouses" :rows="warehouses"

View File

@ -90,14 +90,14 @@ const openCreateWarehouseForm = () => createWarehouseDialogRef.value.show();
color="primary" color="primary"
@click=" @click="
openConfirmationModal( openConfirmationModal(
t('warehouses.deleteTitle'), t('zone.deleteTitle'),
t('warehouses.deleteSubtitle'), t('zone.deleteSubtitle'),
() => deleteWarehouse(row, rows, rowIndex) () => deleteWarehouse(row, rows, rowIndex)
) )
" "
> >
<QTooltip> <QTooltip>
{{ t('warehouses.delete') }} {{ t('eventsPanel.delete') }}
</QTooltip> </QTooltip>
</QIcon> </QIcon>
</QTd> </QTd>

View File

@ -23,28 +23,28 @@ defineProps({
const columns = computed(() => [ const columns = computed(() => [
{ {
label: t('zoneClosingTable.id'), label: t('list.id'),
name: 'id', name: 'id',
field: 'id', field: 'id',
sortable: true, sortable: true,
align: 'left', align: 'left',
}, },
{ {
label: t('zoneClosingTable.name'), label: t('list.name'),
name: 'name', name: 'name',
field: 'name', field: 'name',
sortable: true, sortable: true,
align: 'left', align: 'left',
}, },
{ {
label: t('zoneClosingTable.agency'), label: t('list.agency'),
name: 'agency', name: 'agency',
field: 'agencyModeName', field: 'agencyModeName',
sortable: true, sortable: true,
align: 'left', align: 'left',
}, },
{ {
label: t('zoneClosingTable.closing'), label: t('zone.closing'),
name: 'close', name: 'close',
field: 'hour', field: 'hour',
sortable: true, sortable: true,
@ -52,7 +52,7 @@ const columns = computed(() => [
format: (val) => toTimeFormat(val), format: (val) => toTimeFormat(val),
}, },
{ {
label: t('zoneClosingTable.price'), label: t('list.price'),
name: 'price', name: 'price',
field: 'price', field: 'price',
sortable: true, sortable: true,
@ -73,7 +73,7 @@ const redirectToZoneSummary = (id) => {
<template> <template>
<div> <div>
<div class="header"> <div class="header">
<span>{{ t('zoneClosingTable.zones') }}</span> <span>{{ t('zone.pageTitles.zones') }}</span>
</div> </div>
<QTable <QTable
:rows="rows" :rows="rows"

View File

@ -54,13 +54,13 @@ const redirectToZoneLocations = (_, { id }) => {
<VnRow> <VnRow>
<VnInput <VnInput
v-model="data.name" v-model="data.name"
:label="t('create.name')" :label="t('list.name')"
:required="true" :required="true"
/> />
</VnRow> </VnRow>
<VnRow> <VnRow>
<VnSelect <VnSelect
:label="t('create.warehouse')" :label="t('list.warehouse')"
:options="warehousesOptions" :options="warehousesOptions"
hide-selected hide-selected
option-label="name" option-label="name"
@ -68,7 +68,7 @@ const redirectToZoneLocations = (_, { id }) => {
v-model="data.warehouseFk" v-model="data.warehouseFk"
/> />
<VnSelect <VnSelect
:label="t('create.agency')" :label="t('list.agency')"
:options="agencyOptions" :options="agencyOptions"
hide-selected hide-selected
option-label="name" option-label="name"
@ -80,7 +80,7 @@ const redirectToZoneLocations = (_, { id }) => {
<VnRow> <VnRow>
<VnInput <VnInput
v-model="data.travelingDays" v-model="data.travelingDays"
:label="t('create.travelingDays')" :label="t('zone.travelingDays')"
type="number" type="number"
min="0" min="0"
/> />
@ -90,20 +90,20 @@ const redirectToZoneLocations = (_, { id }) => {
<VnRow> <VnRow>
<VnInput <VnInput
v-model="data.price" v-model="data.price"
:label="t('create.price')" :label="t('list.price')"
type="number" type="number"
min="0" min="0"
/> />
<VnInput <VnInput
v-model="data.bonus" v-model="data.bonus"
:label="t('create.bonus')" :label="t('zone.bonus')"
type="number" type="number"
min="0" min="0"
/> />
</VnRow> </VnRow>
<VnRow> <VnRow>
<QCheckbox <QCheckbox
:label="t('create.volumetric')" :label="t('zone.volumetric')"
v-model="data.isVolumetric" v-model="data.isVolumetric"
:toggle-indeterminate="false" :toggle-indeterminate="false"
/> />

View File

@ -117,7 +117,7 @@ watch(
<VnSelect <VnSelect
data-key="delivery" data-key="delivery"
v-if="deliveryMethodFk == 'delivery'" v-if="deliveryMethodFk == 'delivery'"
:label="t('deliveryPanel.agency')" :label="t('list.agency')"
v-model="formData.agencyModeFk" v-model="formData.agencyModeFk"
url="AgencyModes/isActive" url="AgencyModes/isActive"
:fields="['id', 'name']" :fields="['id', 'name']"
@ -132,7 +132,7 @@ watch(
/> />
<VnSelect <VnSelect
v-else v-else
:label="t('deliveryPanel.warehouse')" :label="t('list.warehouse')"
v-model="formData.agencyModeFk" v-model="formData.agencyModeFk"
url="AgencyModes/isActive" url="AgencyModes/isActive"
:fields="['id', 'name']" :fields="['id', 'name']"

View File

@ -38,11 +38,7 @@ const agencies = ref([]);
<template #body="{ params, searchFn }"> <template #body="{ params, searchFn }">
<QItem> <QItem>
<QItemSection> <QItemSection>
<VnInput <VnInput :label="t('list.name')" v-model="params.name" is-outlined />
:label="t('filterPanel.name')"
v-model="params.name"
is-outlined
/>
</QItemSection> </QItemSection>
</QItem> </QItem>
<QItem> <QItem>

View File

@ -174,13 +174,13 @@ onMounted(() => (stateStore.rightDrawer = true));
/> />
<VnInput <VnInput
v-model="data.bonus" v-model="data.bonus"
:label="t('list.bonus')" :label="t('zone.bonus')"
min="0" min="0"
type="number" type="number"
/> />
<VnInput <VnInput
v-model="data.travelingDays" v-model="data.travelingDays"
:label="t('list.travelingDays')" :label="t('zone.travelingDays')"
type="number" type="number"
min="0" min="0"
/> />

View File

@ -22,13 +22,13 @@ const columns = computed(() => [
align: 'left', align: 'left',
}, },
{ {
label: t('upcomingDeliveries.closing'), label: t('zone.closing'),
name: 'closing', name: 'closing',
field: 'hour', field: 'hour',
align: 'left', align: 'left',
}, },
{ {
label: t('upcomingDeliveries.id'), label: t('list.id'),
name: 'id', name: 'id',
field: 'zoneFk', field: 'zoneFk',
align: 'left', align: 'left',

View File

@ -8,6 +8,13 @@ zone:
upcomingDeliveries: Upcoming deliveries upcomingDeliveries: Upcoming deliveries
warehouses: Warehouses warehouses: Warehouses
calendar: Calendar calendar: Calendar
m3Max: Max m³
deleteTitle: This item will be deleted
deleteSubtitle: Are you sure you want to continue?
volumetric: Volumetric
bonus: Bonus
closing: Closing
travelingDays: Traveling days
list: list:
clone: Clone clone: Clone
id: Id id: Id
@ -22,74 +29,38 @@ list:
searchInfo: Search zone by id or name searchInfo: Search zone by id or name
confirmCloneTitle: All it's properties will be copied confirmCloneTitle: All it's properties will be copied
confirmCloneSubtitle: Do you want to clone this zone? confirmCloneSubtitle: Do you want to clone this zone?
travelingDays: Traveling days
warehouse: Warehouse warehouse: Warehouse
bonus: Bonus
isVolumetric: Volumetric
createZone: Create zone createZone: Create zone
zoneSummary: Summary zoneSummary: Summary
create: create:
name: Name name: Name
warehouse: Warehouse
agency: Agency
travelingDays: Traveling days
closingHour: Closing hour closingHour: Closing hour
price: Price
bonus: Bonus
volumetric: Volumetric
itemMaxSize: Max m³ itemMaxSize: Max m³
inflation: Inflation inflation: Inflation
summary: summary:
agency: Agency
price: Price
basicData: Basic data basicData: Basic data
bonus: Bonus
closeHour: Close hour closeHour: Close hour
travelingDays: Traveling days
volumetric: Volumetric
warehouse: Warehouse
name: Name
filterPanel: filterPanel:
name: Name
agencyModeFk: Agency agencyModeFk: Agency
zoneLocations:
locations: Locations
deliveryPanel: deliveryPanel:
pickup: Pick up pickup: Pick up
delivery: Delivery delivery: Delivery
postcode: Postcode postcode: Postcode
agency: Agency
warehouse: Warehouse
query: Query query: Query
noEventsWarning: No service for the specified zone noEventsWarning: No service for the specified zone
zoneClosingTable: zoneClosingTable:
id: Id
name: Name
agency: Agency
closing: Closing
price: Price
preview: Preview preview: Preview
zones: Zones
warehouses: warehouses:
delete: Delete
deleteTitle: This item will be deleted deleteTitle: This item will be deleted
deleteSubtitle: Are you sure you want to continue? deleteSubtitle: Are you sure you want to continue?
warehouse: Warehouse
add: Add add: Add
eventsPanel: eventsPanel:
editMode: Edit mode editMode: Edit mode
include: Include include: Include
exclude: Exclude exclude: Exclude
events: Events events: Events
closing: Closing
travelingDays: Traveling days
price: Price
bonus: Bonus
m3Max: Max m³
everyday: Everyday everyday: Everyday
delete: Delete delete: Delete
deleteTitle: This item will be deleted
deleteSubtitle: Are you sure you want to continue?
eventsExclusionForm: eventsExclusionForm:
addExclusion: Add exclusion addExclusion: Add exclusion
editExclusion: Edit exclusion editExclusion: Edit exclusion
@ -103,15 +74,8 @@ eventsInclusionForm:
oneDay: One day oneDay: One day
indefinitely: Indefinitely indefinitely: Indefinitely
rangeOfDates: Range of dates rangeOfDates: Range of dates
day: Day
closing: Closing
travelingDays: Traveling days
price: Price
bonus: Bonus
m3Max: Max m³
from: From from: From
to: To to: To
upcomingDeliveries: upcomingDeliveries:
province: Province province: Province
closing: Closing closing: Closing
id: Id

View File

@ -8,6 +8,13 @@ zone:
upcomingDeliveries: Próximos repartos upcomingDeliveries: Próximos repartos
warehouses: Almacenes warehouses: Almacenes
calendar: Calendario calendar: Calendario
m3Max: Medida máxima
deleteTitle: Este elemento será eliminado
deleteSubtitle: ¿Seguro que quieres continuar?
volumetric: Volumétrico
bonus: Bonificación
closing: Cierre
travelingDays: Días de viaje
list: list:
clone: Clonar clone: Clonar
id: Id id: Id
@ -22,76 +29,38 @@ list:
searchInfo: Buscar zonas por identificador o nombre searchInfo: Buscar zonas por identificador o nombre
confirmCloneTitle: Todas sus propiedades serán copiadas confirmCloneTitle: Todas sus propiedades serán copiadas
confirmCloneSubtitle: ¿Seguro que quieres clonar esta zona? confirmCloneSubtitle: ¿Seguro que quieres clonar esta zona?
travelingDays: Días de viaje
warehouse: Almacén warehouse: Almacén
bonus: Bonus
isVolumetric: Volumétrico isVolumetric: Volumétrico
createZone: Crear zona createZone: Crear zona
zoneSummary: Resumen zoneSummary: Resumen
create: create:
name: Nombre
warehouse: Almacén
agency: Agencia
travelingDays: Días de viaje
closingHour: Hora de cierre closingHour: Hora de cierre
price: Precio
bonus: Bonificación
volumetric: Volumétrico
itemMaxSize: Medida máxima itemMaxSize: Medida máxima
inflation: Inflación inflation: Inflación
summary: summary:
agency: Agencia
price: Precio
basicData: Datos básicos basicData: Datos básicos
bonus: Bonificación
closeHour: Hora de cierre closeHour: Hora de cierre
travelingDays: Días de viaje
volumetric: Volumétrico
warehouse: Almacén
name: Nombre
filterPanel: filterPanel:
name: Nombre
agencyModeFk: Agencia agencyModeFk: Agencia
zoneLocations:
locations: Localizaciones
deliveryPanel: deliveryPanel:
pickup: Recogida pickup: Recogida
delivery: Entrega delivery: Entrega
postcode: Código postal postcode: Código postal
agency: Agencia
warehouse: Almacén
query: Consultar query: Consultar
noEventsWarning: No hay servicio para la zona especificada noEventsWarning: No hay servicio para la zona especificada
zoneClosingTable: zoneClosingTable:
id: Id
name: Nombre
agency: Agencia
closing: Cierre
preview: Vista previa preview: Vista previa
price: Precio
zones: Zonas
Search zones: Buscar zonas Search zones: Buscar zonas
You can search by zone reference: Puedes buscar por referencia de la zona You can search by zone reference: Puedes buscar por referencia de la zona
warehouses: warehouses:
delete: Eliminar
deleteTitle: Este elemento será eliminado
deleteSubtitle: ¿Seguro que quieres continuar?
warehouse: Almacén
add: Añadir add: Añadir
eventsPanel: eventsPanel:
editMode: Modo edición editMode: Modo edición
include: Incluir include: Incluir
exclude: Excluir exclude: Excluir
events: Eventos events: Eventos
closing: Cierre
travelingDays: Días de viaje
price: Precio
bonus: Bonificación
m3Max: Medida máxima
everyday: Todos los días everyday: Todos los días
delete: Eliminar delete: Eliminar
deleteTitle: Este elemento será eliminado
deleteSubtitle: ¿Seguro que quieres continuar?
eventsExclusionForm: eventsExclusionForm:
addExclusion: Añadir exclusión addExclusion: Añadir exclusión
editExclusion: Editar exclusión editExclusion: Editar exclusión
@ -105,15 +74,7 @@ eventsInclusionForm:
oneDay: Un día oneDay: Un día
indefinitely: Indefinido indefinitely: Indefinido
rangeOfDates: Rango de fechas rangeOfDates: Rango de fechas
day: Día
closing: Cierre
travelingDays: Días de viaje
price: Precio
bonus: Bonificación
m3Max: Medida máxima
from: Desde from: Desde
to: Hasta to: Hasta
upcomingDeliveries: upcomingDeliveries:
province: Provincia province: Provincia
closing: Cierre
id: Id