+
+
{{ t('components.userPanel.settings') }}
-
+
{{ user.nickname }}
-
@{{ user.name }}
-
+
+ @{{ user.name }}
+
+
+
+
+
+
+
+
+
+
+ {{ `${opt.id}: ${opt.bank}` }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/components/common/SendEmailDialog.vue b/src/components/common/SendEmailDialog.vue
index e4fefe00f..501c48a4d 100644
--- a/src/components/common/SendEmailDialog.vue
+++ b/src/components/common/SendEmailDialog.vue
@@ -1,7 +1,9 @@
-
+
{{ t('Send email notification') }}
@@ -51,7 +54,7 @@ async function confirm() {
{{ t('The notification will be sent to the following address') }}
-
+
diff --git a/src/components/common/SendSmsDialog.vue b/src/components/common/SendSmsDialog.vue
new file mode 100644
index 000000000..269a4ec9a
--- /dev/null
+++ b/src/components/common/SendSmsDialog.vue
@@ -0,0 +1,156 @@
+
+
+
+
+
+
+ {{ title }}
+
+
+
+
+
+
+
+
+
+ {{
+ t(
+ 'Special characters like accents counts as a multiple'
+ )
+ }}
+
+
+
+
+
+ {{ t('Characters remaining') }}:
+
+ {{ charactersRemaining }}
+
+
+
+
+
+ {{ t('globals.cancel') }}
+
+ {{ t('Send') }}
+
+
+
+
+
+
+
+
+es:
+ Message: Mensaje
+ Send: Enviar
+ Characters remaining: Carácteres restantes
+ Special characters like accents counts as a multiple: Carácteres especiales como los acentos cuentan como varios
+ The destination can't be empty: El destinatario no puede estar vacio
+ The message can't be empty: El mensaje no puede estar vacio
+ The message it's too long: El mensaje es demasiado largo
+
diff --git a/src/components/common/TableVisibleColumns.vue b/src/components/common/TableVisibleColumns.vue
new file mode 100644
index 000000000..7aa696a07
--- /dev/null
+++ b/src/components/common/TableVisibleColumns.vue
@@ -0,0 +1,192 @@
+
+
+
+
+
+
+ {{ t('Check the columns you want to see') }}
+
+ {{ t('Visible columns') }}
+
+
+
+
+ {{
+ t('globals.save')
+ }}
+
+
+ {{ t('Visible columns') }}
+
+
+
+
+
+
+ es:
+ Check the columns you want to see: Marca las columnas que quieres ver
+ Visible columns: Columnas visibles
+
diff --git a/src/components/common/VnAccountNumber.vue b/src/components/common/VnAccountNumber.vue
new file mode 100644
index 000000000..f7273a72d
--- /dev/null
+++ b/src/components/common/VnAccountNumber.vue
@@ -0,0 +1,41 @@
+
+
+
+
+
diff --git a/src/components/common/VnBreadcrumbs.vue b/src/components/common/VnBreadcrumbs.vue
new file mode 100644
index 000000000..337507233
--- /dev/null
+++ b/src/components/common/VnBreadcrumbs.vue
@@ -0,0 +1,90 @@
+
+
+
+
+
+
+
+
+
+
diff --git a/src/components/common/VnCard.vue b/src/components/common/VnCard.vue
new file mode 100644
index 000000000..6d0badffb
--- /dev/null
+++ b/src/components/common/VnCard.vue
@@ -0,0 +1,78 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/components/common/VnCurrency.vue b/src/components/common/VnCurrency.vue
new file mode 100644
index 000000000..b892e5012
--- /dev/null
+++ b/src/components/common/VnCurrency.vue
@@ -0,0 +1,34 @@
+
+
+
+
+
+es:
+ amount: importe
+
diff --git a/src/components/common/VnDms.vue b/src/components/common/VnDms.vue
new file mode 100644
index 000000000..5432dea1e
--- /dev/null
+++ b/src/components/common/VnDms.vue
@@ -0,0 +1,210 @@
+
+
+ (warehouses = data)" auto-load />
+ (companies = data)" auto-load />
+
+ (allowedContentTypes = data.join(','))"
+ auto-load
+ />
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ t('globals.selectFile') }}
+
+
+ {{
+ t('contentTypesInfo', { allowedContentTypes })
+ }}
+
+
+
+
+
+
+
+
+
+
+en:
+ contentTypesInfo: Allowed file types {allowedContentTypes}
+ EntryDmsDescription: Reference {reference}
+ WorkersDescription: Working of employee id {reference}
+ SupplierDmsDescription: Reference {reference}
+es:
+ Generate identifier for original file: Generar identificador para archivo original
+ contentTypesInfo: Tipos de archivo permitidos {allowedContentTypes}
+ EntryDmsDescription: Referencia {reference}
+ WorkersDescription: Laboral del empleado {reference}
+ SupplierDmsDescription: Referencia {reference}
+
+
diff --git a/src/components/common/VnDmsList.vue b/src/components/common/VnDmsList.vue
new file mode 100644
index 000000000..e3cb2874a
--- /dev/null
+++ b/src/components/common/VnDmsList.vue
@@ -0,0 +1,395 @@
+
+
+
+
+
+
+
+
+
+ {{ props.value }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ col.label }}:
+ {{ col.value }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+en:
+ contentTypesInfo: Allowed file types {allowedContentTypes}
+es:
+ contentTypesInfo: Tipos de archivo permitidos {allowedContentTypes}
+ Generate identifier for original file: Generar identificador para archivo original
+
diff --git a/src/components/common/VnInput.vue b/src/components/common/VnInput.vue
new file mode 100644
index 000000000..684770e9c
--- /dev/null
+++ b/src/components/common/VnInput.vue
@@ -0,0 +1,103 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ en:
+ inputMin: Must be more than {value}
+ es:
+ inputMin: Debe ser mayor a {value}
+
diff --git a/src/components/common/VnInputDate.vue b/src/components/common/VnInputDate.vue
new file mode 100644
index 000000000..fe0866292
--- /dev/null
+++ b/src/components/common/VnInputDate.vue
@@ -0,0 +1,131 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/components/common/VnInputTime.vue b/src/components/common/VnInputTime.vue
new file mode 100644
index 000000000..4bd75eeaf
--- /dev/null
+++ b/src/components/common/VnInputTime.vue
@@ -0,0 +1,125 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+es:
+ Cancel: Cancelar
+
diff --git a/src/components/common/VnJsonValue.vue b/src/components/common/VnJsonValue.vue
new file mode 100644
index 000000000..a2e858d0d
--- /dev/null
+++ b/src/components/common/VnJsonValue.vue
@@ -0,0 +1,88 @@
+
+
+
+
+ {{ t }}
+
+
+
+
diff --git a/src/components/common/VnLocation.vue b/src/components/common/VnLocation.vue
new file mode 100644
index 000000000..9ed48ca15
--- /dev/null
+++ b/src/components/common/VnLocation.vue
@@ -0,0 +1,146 @@
+
+
+ handleFetch(data)"
+ />
+
+
+
+
+
+
+
+ {{ opt.code }}
+ {{ showLabel(opt) }}
+
+
+
+
+
+
+
+
+en:
+ search_by_postalcode: Search by postalcode, town, province or country
+es:
+ Location: Ubicación
+ search_by_postalcode: Buscar por código postal, ciudad o país
+
diff --git a/src/components/common/VnLog.vue b/src/components/common/VnLog.vue
index 1213c8bbc..340a9e550 100644
--- a/src/components/common/VnLog.vue
+++ b/src/components/common/VnLog.vue
@@ -1,128 +1,636 @@
-
-
- {{ t('Audit logs') }}
-
-
-
-
-
- {{ log.userName }} -
- {{
- toDate(log.created, {
- dateStyle: 'medium',
- timeStyle: 'short',
- })
- }}
-
-
-
- {{ t(`actions.${log.action}`) }}
-
- {{ t(`models.${log.model}`) }}
-
- (workers = data)"
+ auto-load
+ />
+
+ (actions = data.map((item) => {
+ return {
+ locale: useCapitalize(validations[item.changedModel].locale.name),
+ value: item.changedModel,
+ };
+ }))
+ "
+ auto-load
+ />
+
+
+
+ {{ useCapitalize(validations[props.model].locale.name) }}
+ #{{ originLog.originFk }}
+
+
+
+
+
+
+
+
+
+
-
-
-
+ #{{ modelLog.id }}
+
+ {{ modelLog.showValue }}
+
+
+
+
+
+
+
+
+
+ {{ toRelativeDate(log.creationDate) }}
+
+
+
- {{ t(col.label) }}
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+ {{ value.nameI18n }}:
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ prop.nameI18n }}:
+
+
+ ,
+
+
+
+
+
+
+ {{ prop.nameI18n }}:
+
+
+
+ #{{ prop.val.id }}
+
+
+ ←
+
+
+ #{{ prop.old.id }}
+
+
+
+
+
+
+ {{ log.description }}
+
+
+
+
+
+
+
-
+
{{ t('globals.collapseMenu') }}
@@ -131,28 +639,389 @@ function actionColor(action) {
-
+
+
+
+ selectFilter('search')"
+ @focusout="() => selectFilter('search')"
+ @clear="() => selectFilter('search')"
+ >
+
+
+ {{ t('tooltips.search') }}
+
+
+
+
+
+
+
+
+
+
+ {{ t(`Users.${label}`) }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ opt.name }}
+ {{ opt.nickname }}
+
+
+
+
+
+
+
+
+
+
+ {{
+ t('tooltips.changes')
+ }}
+
+
+
+
+
+
+
+
+ evt.target.blur()"
+ @clear="selectFilter('date', 'to')"
+ v-model="dateFrom"
+ clearable
+ clear-icon="close"
+ />
+
+
+ evt.target.blur()"
+ @clear="selectFilter('date', 'from')"
+ v-model="dateTo"
+ clearable
+ clear-icon="close"
+ />
+
+
+
+ {
+ dateFromDialog = false;
+ dateFrom = date.formatDate(value, 'DD-MM-YYYY');
+ selectFilter('date', 'from');
+ }
+ "
+ />
+
+
+ {
+ dateToDialog = false;
+ dateTo = date.formatDate(value, 'DD-MM-YYYY');
+ selectFilter('date', 'to');
+ }
+ "
+ />
+
+
+
+
-
en:
+ to: To
+ pointRecord: View record at this point in time
+ recordChanges: show all record changes
+ tooltips:
+ search: Search by id or concept
+ changes: Search by changes
actions:
- insert: Creates
- update: Updates
- delete: Deletes
- models:
- Claim: Claim
- ClaimDms: Document
- ClaimBeginning: Claimed Sales
- ClaimObservation: Observation
+ Creates: Creates
+ Edits: Edits
+ Deletes: Deletes
+ Accesses: Accesses
+ Users:
+ User: Usuario
+ All: Todo
+ System: Sistema
properties:
id: ID
claimFk: Claim ID
@@ -162,31 +1031,36 @@ en:
ticketCreated: Created
created: Created
isChargedToMana: Charged to mana
- hasToPickUp: Has to pick Up
+ pickup: Type of pickup
dmsFk: Document ID
text: Description
claimStateFk: Claim State
workerFk: Worker
clientFk: Customer
- rma: RMA
responsibility: Responsibility
packages: Packages
es:
- Audit logs: Registros de auditoría
+ to: Hasta
+ pointRecord: Ver el registro en este punto
+ recordChanges: Mostrar todos los cambios realizados en el registro
+ tooltips:
+ search: Buscar por identificador o concepto
+ changes: Buscar por cambios. Los atributos deben buscarse por su nombre interno, para obtenerlo situar el cursor sobre el atributo.
+ Audit logs: Historial
Property: Propiedad
Before: Antes
After: Después
Yes: Si
Nothing: Nada
actions:
- insert: Crea
- update: Actualiza
- delete: Elimina
- models:
- Claim: Reclamación
- ClaimDms: Documento
- ClaimBeginning: Línea reclamada
- ClaimObservation: Observación
+ Creates: Crea
+ Edits: Modifica
+ Deletes: Elimina
+ Accesses: Accede
+ Users:
+ User: Usuario
+ All: Todo
+ System: Sistema
properties:
id: ID
claimFk: ID reclamación
@@ -196,13 +1070,12 @@ es:
ticketCreated: Creado
created: Creado
isChargedToMana: Cargado a maná
- hasToPickUp: Se debe recoger
+ pickup: Se debe recoger
dmsFk: ID documento
text: Descripción
claimStateFk: Estado de la reclamación
workerFk: Trabajador
clientFk: Cliente
- rma: RMA
responsibility: Responsabilidad
packages: Bultos
diff --git a/src/components/common/VnLogFilter.vue b/src/components/common/VnLogFilter.vue
index 5f4dbf717..b5941239c 100644
--- a/src/components/common/VnLogFilter.vue
+++ b/src/components/common/VnLogFilter.vue
@@ -38,28 +38,26 @@ const workers = ref();
minimal
>
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
diff --git a/src/components/common/VnSelect.vue b/src/components/common/VnSelect.vue
new file mode 100644
index 000000000..e8083dec2
--- /dev/null
+++ b/src/components/common/VnSelect.vue
@@ -0,0 +1,193 @@
+
+
+
+ setOptions(data)"
+ :where="where || { [optionValue]: value }"
+ :limit="limit"
+ :sort-by="sortBy"
+ :fields="fields"
+ />
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/components/common/VnSelectDialog.vue b/src/components/common/VnSelectDialog.vue
new file mode 100644
index 000000000..3726691af
--- /dev/null
+++ b/src/components/common/VnSelectDialog.vue
@@ -0,0 +1,89 @@
+
+
+
+
+
+
+ {{ tooltip }}
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/components/common/VnSmsDialog.vue b/src/components/common/VnSmsDialog.vue
index ef25bbf4a..5b192f95d 100644
--- a/src/components/common/VnSmsDialog.vue
+++ b/src/components/common/VnSmsDialog.vue
@@ -1,7 +1,9 @@
-
+
@@ -92,16 +95,6 @@ async function send() {
-
-
-
-
-
-
-
-
-
+
-
+
@@ -157,6 +134,11 @@ async function send() {
@click="message = ''"
class="cursor-pointer"
/>
+
+
+ {{ t('messageTooltip') }}
+
+
@@ -196,30 +178,31 @@ async function send() {
en:
- CustomerDefaultLanguage: This customer uses {locale} as their default language
templates:
- pendingPayment: 'Your order is pending of payment.
+ pendingPayment: 'Your order is pending of payment.
Please, enter the website and make the payment with a credit card. Thank you.'
- minAmount: 'A minimum amount of 50€ (VAT excluded) is required for your order
+ minAmount: 'A minimum amount of 50€ (VAT excluded) is required for your order
{ orderId } of { shipped } to receive it without additional shipping costs.'
orderChanges: 'Order {orderId} of { shipped }: { changes }'
en: English
es: Spanish
fr: French
pt: Portuguese
+ messageTooltip: Special characters like accents counts as multiple
es:
Send SMS: Enviar SMS
- CustomerDefaultLanguage: Este cliente utiliza {locale} como idioma por defecto
Language: Idioma
Phone: Móvil
Subject: Asunto
Message: Mensaje
+ messageTooltip: Carácteres especiales como acentos cuentan como varios
templates:
- pendingPayment: 'Su pedido está pendiente de pago.
+ pendingPayment: 'Su pedido está pendiente de pago.
Por favor, entre en la página web y efectue el pago con tarjeta. Muchas gracias.'
- minAmount: 'Es necesario un importe mínimo de 50€ (Sin IVA) en su pedido
- { orderId } del día { shipped } para recibirlo sin portes adicionales.'
- orderChanges: 'Pedido {orderId} día { shipped }: { changes }'
+ minAmount: 'Te recordamos que tu pedido {orderId} es inferior a 50€.
+ Te recomendamos amplíes para no generar costes extra, provocarán un incremento de tu tarifa.
+ ¡Un saludo!'
+ orderChanges: 'Pedido {orderId} con llegada estimada día { landing }: { changes }'
en: Inglés
es: Español
fr: Francés
@@ -231,12 +214,14 @@ fr:
Phone: Mobile
Subject: Affaire
Message: Message
+ messageTooltip: Les caractères spéciaux comme les accents comptent comme plusieurs
templates:
- pendingPayment: 'Votre commande est en attente de paiement.
- Veuillez vous connecter sur le site web et effectuer le paiement par carte. Merci beaucoup.'
- minAmount: 'Un montant minimum de 50€ (TVA non incluse) est requis pour votre commande
- { orderId } du { shipped } afin de la recevoir sans frais de port supplémentaires.'
- orderChanges: 'Commande { orderId } du { shipped }: { changes }'
+ pendingPayment: 'Verdnatura : Commande en attente de règlement. Veuillez régler votre commande avant 9h.
+ Sinon elle sera décalée en fonction de vos jours de livraison . Merci'
+ minAmount: 'Verdnatura vous rappelle :
+ Montant minimum nécessaire de 50 euros pour recevoir la commande { orderId } livraison { landing }.
+ Merci.'
+ orderChanges: 'Commande {orderId} livraison {landing} indisponible/s. Désolés pour le dérangement.'
en: Anglais
es: Espagnol
fr: Français
@@ -248,12 +233,13 @@ pt:
Phone: Móvel
Subject: Assunto
Message: Mensagem
+ messageTooltip: Caracteres especiais como acentos contam como vários
templates:
- pendingPayment: 'Seu pedido está pendente de pagamento.
+ pendingPayment: 'Seu pedido está pendente de pagamento.
Por favor, acesse o site e faça o pagamento com cartão. Muito obrigado.'
- minAmount: 'É necessário um valor mínimo de 50€ (sem IVA) em seu pedido
- { orderId } do dia { shipped } para recebê-lo sem custos de envio adicionais.'
- orderChanges: 'Pedido { orderId } dia { shipped }: { changes }'
+ minAmount: 'É necessário um valor mínimo de 50€ (sem IVA) em seu pedido
+ { orderId } do dia { landing } para recebê-lo sem custos de envio adicionais.'
+ orderChanges: 'Pedido { orderId } com chegada dia { landing }: { changes }'
en: Inglês
es: Espanhol
fr: Francês
diff --git a/src/pages/Worker/Card/WorkerSummaryDialog.vue b/src/components/common/VnSummaryDialog.vue
similarity index 61%
rename from src/pages/Worker/Card/WorkerSummaryDialog.vue
rename to src/components/common/VnSummaryDialog.vue
index 59ea702e0..08fc8870d 100644
--- a/src/pages/Worker/Card/WorkerSummaryDialog.vue
+++ b/src/components/common/VnSummaryDialog.vue
@@ -1,21 +1,23 @@
-
-
-
+
+
diff --git a/src/components/common/VnTitle.vue b/src/components/common/VnTitle.vue
new file mode 100644
index 000000000..e772f3e37
--- /dev/null
+++ b/src/components/common/VnTitle.vue
@@ -0,0 +1,25 @@
+
+
+
+
+
+
+
diff --git a/src/components/common/vnDiscount.vue b/src/components/common/vnDiscount.vue
index 37cbd478f..b82923ad2 100644
--- a/src/components/common/vnDiscount.vue
+++ b/src/components/common/vnDiscount.vue
@@ -36,7 +36,7 @@ const props = defineProps({
const emit = defineEmits(['onUpdate']);
-const discount = ref(0);
+const discount = ref(0); // eslint-disable-line vue/no-dupe-keys
let canceller;
onMounted(() => {
diff --git a/src/components/ui/CardDescriptor.vue b/src/components/ui/CardDescriptor.vue
index 54123d087..d2ba21888 100644
--- a/src/components/ui/CardDescriptor.vue
+++ b/src/components/ui/CardDescriptor.vue
@@ -1,10 +1,12 @@
-
-