231801_test_to_master #1519

Merged
alexm merged 490 commits from 231801_test_to_master into master 2023-05-12 06:29:59 +00:00
67 changed files with 828 additions and 71 deletions
Showing only changes of commit 2a2d03e05a - Show all commits

View File

@ -0,0 +1,17 @@
name: account
columns:
id: id
name: name
roleFk: role
nickname: nickname
lang: lang
password: password
bcryptPassword: bcrypt password
active: active
email: email
emailVerified: email verified
created: created
updated: updated
image: image
hasGrant: has grant
userFk: user

View File

@ -0,0 +1,17 @@
name: cuenta
columns:
id: id
name: nombre
roleFk: rol
nickname: apodo
lang: idioma
password: contraseña
bcryptPassword: contraseña bcrypt
active: activo
email: email
emailVerified: email verificado
created: creado
updated: actualizado
image: imagen
hasGrant: tiene permiso
userFk: usuario

View File

@ -52,6 +52,7 @@ export default class Controller extends Section {
const oldValues = log.oldInstance || empty;
const newValues = log.newInstance || empty;
const locale = validations[log.changedModel]?.locale || empty;
log.changedModel = locale.name ? locale.name : log.changedModel
let props = Object.keys(oldValues).concat(Object.keys(newValues));
props = [...new Set(props)];
@ -59,7 +60,7 @@ export default class Controller extends Section {
log.props = [];
for (const prop of props) {
log.props.push({
name: locale[prop] || prop,
name: locale.columns?.[prop] || prop,
old: this.castValue(oldValues[prop]),
new: this.castValue(newValues[prop])
});

View File

@ -0,0 +1,7 @@
name: mail
columns:
id: id
receiver: receiver
replyTo: reply to
subject: subject
body: body

View File

@ -0,0 +1,7 @@
name: mail
columns:
id: id
receiver: receptor
replyTo: responder a
subject: asunto
body: cuerpo

View File

@ -0,0 +1,6 @@
name: claim beginning
columns:
id: id
quantity: quantity
claimFk: claim
saleFk: sale

View File

@ -0,0 +1,6 @@
name: comienzo reclamación
columns:
id: id
quantity: cantidad
claimFk: reclamación
saleFk: línea

View File

@ -0,0 +1,9 @@
name: claim development
columns:
id: id
claimFk: claim
claimResponsibleFk: responsible
claimReasonFk: reason
claimResultFk: result
claimRedeliveryFk: redelivery
workerFk: worker

View File

@ -0,0 +1,9 @@
name: desarrollo reclamación
columns:
id: id
claimFk: reclamación
claimResponsibleFk: responsable
claimReasonFk: motivo
claimResultFk: resultado
claimRedeliveryFk: reenvío
workerFk: trabajador

View File

@ -0,0 +1,4 @@
name: claim dms
columns:
dmsFk: dms
claimFk: claim

View File

@ -0,0 +1,4 @@
name: documento reclamación
columns:
dmsFk: dms
claimFk: reclamación

View File

@ -0,0 +1,7 @@
name: claim end
columns:
id: id
claimFk: claim
saleFk: sale
workerFk: worker
claimDestinationFk: destination

View File

@ -0,0 +1,7 @@
name: final reclamación
columns:
id: id
claimFk: reclamación
saleFk: línea
workerFk: trabajador
claimDestinationFk: destino

View File

@ -0,0 +1,7 @@
name: claim observation
columns:
id: id
claimFk: claim
text: text
created: created
workerFk: worker

View File

@ -0,0 +1,7 @@
name: observación reclamación
columns:
id: id
claimFk: reclamación
text: texto
created: creado
workerFk: tabajador

View File

@ -0,0 +1,16 @@
name: claim
columns:
id: id
observation: observation
ticketCreated: ticket created
isChargedToMana: charged to mana
created: created
responsibility: responsibility
hasToPickUp: has to pickUp
ticketFk: ticket
claimStateFk: claim state
workerFk: worker
packages: packages
rma: rma
clientFk: client
claimFk: claim

View File

@ -0,0 +1,16 @@
name: reclamación
columns:
id: id
observation: observación
ticketCreated: ticket creado
isChargedToMana: cargado al maná
created: creado
responsibility: responsabilidad
hasToPickUp: es recogida
ticketFk: ticket
claimStateFk: estado reclamación
workerFk: trabajador
packages: paquetes
rma: rma
clientFk: cliente
claimFk: reclamación

View File

@ -0,0 +1,20 @@
name: address
columns:
id: id
nickname: nickname
street: street
city: city
postalCode: postal code
phone: phone
mobile: mobile
isActive: active
longitude: longitude
latitude: latitude
isEqualizated: equalizated
isLogifloraAllowed: logiflora allowed
provinceFk: province
clientFk: client
agencyModeFk: agency
addressFk: address
incotermsFk: incoterms
customsAgentFk: customs agent

View File

@ -0,0 +1,20 @@
name: dirección
columns:
id: id
nickname: apodo
street: calle
city: ciudad
postalCode: código postal
phone: teléfono
mobile: móvil
isActive: activo
longitude: longitud
latitude: latitud
isEqualizated: igualado
isLogifloraAllowed: logiflora permitido
provinceFk: provincia
clientFk: cliente
agencyModeFk: agencia
addressFk: dirección
incotermsFk: incoterms
customsAgentFk: agente adunanas

View File

@ -0,0 +1,6 @@
name: client contact
columns:
id: id
name: name
phone: phone
clientFk: client

View File

@ -0,0 +1,6 @@
name: contacto cliente
columns:
id: id
name: nombre
phone: teléfono
clientFk: cliente

View File

@ -0,0 +1,4 @@
name: client dms
columns:
dmsFk: dms
clientFk: client

View File

@ -0,0 +1,4 @@
name: documento cliente
columns:
dmsFk: dms
clientFk: client

View File

@ -0,0 +1,7 @@
name: client observation
columns:
id: id
clientFk: client
text: text
created: created
workerFk: worker

View File

@ -0,0 +1,7 @@
name: observación cliente
columns:
id: id
clientFk: cliente
text: texto
created: creado
workerFk: trabajador

View File

@ -0,0 +1,8 @@
name: client sample
columns:
id: id
created: created
clientFk: client
typeFk: type
userFk: user
companyFk: company

View File

@ -0,0 +1,8 @@
name: muestra cliente
columns:
id: id
created: creado
clientFk: cliente
typeFk: tipo
userFk: usuario
companyFk: compañia

View File

@ -0,0 +1,50 @@
name: client
columns:
id: id
name: name
fi: fi
socialName: socialName
contact: contact
street: street
city: city
postcode: postcode
email: email
phone: phone
mobile: mobile
isActive: active
credit: credit
creditInsurance: credit insurance
iban: iban
dueDay: due day
isEqualizated: equalizated
isFreezed: freezed
hasToInvoiceByAddress: invoice by address
hasToInvoice: has to invoice
isToBeMailed: be mailed
hasSepaVnl: sepa nnl
hasLcr: lcr
hasCoreVnl: core vnl
hasCoreVnh: core vnh
hasIncoterms: incoterms
isTaxDataChecked: tax data checked
eypbc: eypbc
quality: quality
isVies: vies
isRelevant: relevant
accountingAccount: accounting account
created: created
sageTaxTypeFk: sage tax type
sageTransactionTypeFk: sage transaction type
businessTypeFk: business type
salesPersonFk: sales person
hasElectronicInvoice: electronic invoice
payMethodFk: pay method
provinceFk: province
countryFk: country
contactChannelFk: contact channel
clientTypeFk: client type
clientFk: client
defaultAddressFk: default address
bankEntityFk: bank entity
transferorFk: transferor

View File

@ -0,0 +1,50 @@
name: cliente
columns:
id: id
name: nombre
fi: fi
socialName: nombre social
contact: contacto
street: calle
city: ciudad
postcode: código postal
email: email
phone: teléfono
mobile: móvil
isActive: activo
credit: crédito
creditInsurance: seguro crédito
iban: iban
dueDay: día vencimiento
isEqualizated: igualado
isFreezed: congelado
hasToInvoiceByAddress: factura por dirección
hasToInvoice: tiene que facturar
isToBeMailed: envío por email
hasSepaVnl: sepa nnl
hasLcr: lcr
hasCoreVnl: centro vnl
hasCoreVnh: cenrto vnh
hasIncoterms: incoterms
isTaxDataChecked: datos fiscales comprobados
eypbc: eypbc
quality: calidad
isVies: vies
isRelevant: importante
accountingAccount: cuenta contable
created: creado
sageTaxTypeFk: tipo impuesto sage
sageTransactionTypeFk: tipo transacción sage
businessTypeFk: tipo negocio
salesPersonFk: comercial
hasElectronicInvoice: factura electrónica
payMethodFk: método pago
provinceFk: provincia
countryFk: país
contactChannelFk: canal de contacto
clientTypeFk: tipo de cliente
clientFk: cliente
defaultAddressFk: dirección predeterminada
bankEntityFk: entidad bancaria
transferorFk: cedente

View File

@ -0,0 +1,11 @@
name: greuge
columns:
id: id
description: description
amount: amount
shipped: shipped
created: created
greugeTypeFk: greuge type
clientFk: client
ticketFk: ticket
userFk: user

View File

@ -0,0 +1,11 @@
name: greuge
columns:
id: id
description: descripción
amount: cantidad
shipped: enviado
created: creado
greugeTypeFk: tipo de greuge
clientFk: cliente
ticketFk: ticket
userFk: usuario

View File

@ -0,0 +1,8 @@
name: recovery
columns:
id: id
started: started
finished: finished
amount: amount
period: period
clientFk: client

View File

@ -0,0 +1,8 @@
name: recuperación
columns:
id: id
started: comenzado
finished: terminado
amount: cantidad
period: período
clientFk: cliente

View File

@ -0,0 +1,15 @@
name: tpv transaction
columns:
id: id
merchantFk: merchant
clientFk: client
receiptFk: receipt
amount: amount
response: response
errorCode: error code
status: status
created: created
merchantParameters: merchant parameters
signature: signature
signatureVersion: signature version
responseError: response error

View File

@ -0,0 +1,15 @@
name: transacción tpv
columns:
id: id
merchantFk: comerciante
clientFk: cliente
receiptFk: recibo
amount: cantidad
response: respuesta
errorCode: código error
status: estado
created: creado
merchantParameters: parámetros comerciante
signature: firma
signatureVersion: versión firma
responseError: error de respuesta

View File

@ -0,0 +1,18 @@
name: buy
columns:
id: id
quantity: quantity
buyingValue: buying value
freightValue: freight value
packing: packing
grouping: grouping
stickers: stickers
groupingMode: grouping mode
comissionValue: comission value
packageValue: package value
price2: price2
price3: price3
weight: weight
entryFk: entry
itemFk: item
packageFk: package

View File

@ -0,0 +1,18 @@
name: compra
columns:
id: id
quantity: cantidad
buyingValue: valor compra
freightValue: valor flete
packing: embalaje
grouping: agrupación
stickers: pegatinas
groupingMode: modo agrupación
comissionValue: valor comisión
packageValue: valor paquete
price2: precio2
price3: precio3
weight: peso
entryFk: entrada
itemFk: artículo
packageFk: paquete

View File

@ -0,0 +1,6 @@
name: entry observation
columns:
id: id
description: description
entryFk: entry
observationTypeFk: observation type

View File

@ -0,0 +1,6 @@
name: observación entrada
columns:
id: id
description: descripción
entryFk: entrada
observationTypeFk: tipo observación

View File

@ -0,0 +1,26 @@
name: entry
columns:
id: id
dated: dated
reference: reference
invoiceNumber: invoice number
isBooked: booked
isExcludedFromAvailable: excluded from available
notes: notes
isConfirmed: confirmed
isVirtual: virtual
isRaid: raid
commission: commission
isOrdered: price3
created: created
observation: observation
isBlocked: blocked
loadPriority: load priority
supplierFk: supplier
travelFk: travel
companyFk: company
observationEditorFk: observation editor
supplierFk: supplier
travelFk: travel
companyFk: company
currencyFk: currency

View File

@ -0,0 +1,24 @@
name: entrada
columns:
id: id
dated: fecha
reference: referencia
invoiceNumber: número factura
isBooked: reservado
isExcludedFromAvailable: excluido del disponible
notes: notas
isConfirmed: confirmado
isVirtual: virtual
isRaid: incursión
commission: comisión
isOrdered: precio3
created: creado
observation: observación
isBlocked: bloqueado
loadPriority: prioridad de carga
supplierFk: proveedor
travelFk: envío
companyFk: empresa
observationEditorFk: editor observación
supplierFk: proveedor
currencyFk: moneda

View File

@ -0,0 +1,47 @@
name: item
columns:
id: id
name: name
quantity: quantity
size: size
category: category
typeFk: type
stems: stems
description: description
isActive: active
relevancy: relevancy
weightByPiece: weight by piece
stemMultiplier: stem multiplier
image: image
longName: long name
subName: sub name
tag5: tag5
value5: value5
tag6: tag6
value6: value6
tag7: tag7
value7: value7
tag8: tag8
value8: value8
tag9: tag9
value9: value9
tag10: tag10
value10: value10
itemPackingTypeFk: item packing type
hasKgPrice: has kg price
family: family
expenseFk: expense
minPrice: min price
packingOut: packing out
hasMinPrice: has min price
isFragile: fragile
isFloramondo: is floramondo
packingShelve: packing shelve
isLaid: laid
inkFk: ink
originFk: origin
producerFk: producer
intrastatFk: intrastat
genericFk: generic
itemFk: item

View File

@ -0,0 +1,47 @@
name: artículo
columns:
id: id
name: nombre
quantity: cantidad
size: tamaño
category: categoría
typeFk: tipo
stems: tallos
description: descripción
isActive: activo
relevancy: relevancia
weightByPiece: peso por pieza
stemMultiplier: multiplicador de tallo
image: imagen
longName: nombre largo
subName: subnombre
tag5: etiqueta5
value5: valor5
tag6: etiqueta6
value6: valor6
tag7: etiqueta7
value7: valor7
tag8: etiqueta8
value8: valor8
tag9: etiqueta9
value9: valor9
tag10: etiqueta10
value10: valor10
itemPackingTypeFk: embalaje del artículo
hasKgPrice: tiene precio kg
family: familia
expenseFk: gasto
minPrice: precio mínimo
packingOut: empaquetar
hasMinPrice: tiene precio mínimo
isFragile: frágil
isFloramondo: es floramondo
packingShelve: estantería embalaje
isLaid: puesto
inkFk: tinta
originFk: origen
producerFk: productor
intrastatFk: intrastat
genericFk: genérico
itemFk: artículo

View File

@ -0,0 +1,10 @@
name: expedition
columns:
id: id
freightItemFk: freight item
created: created
counter: counter
ticketFk: ticket
agencyModeFk: agency
workerFk: worker
packagingFk: packaging

View File

@ -0,0 +1,10 @@
name: expedición
columns:
id: id
freightItemFk: artículo de carga
created: creado
counter: contador
ticketFk: ticket
agencyModeFk: agencia
workerFk: trabajador
packagingFk: embalaje

View File

@ -1,3 +1,5 @@
name: sale
columns:
concept: concept
quantity: quantity
price: price

View File

@ -1,3 +1,5 @@
name: línea
columns:
concept: concepto
quantity: cantidad
price: precio

View File

@ -0,0 +1,4 @@
name: ticket dms
columns:
dmsFk: dms
ticketFk: ticket

View File

@ -0,0 +1,4 @@
name: documento ticket
columns:
dmsFk: dms
ticketFk: ticket

View File

@ -0,0 +1,6 @@
name: ticket observation
columns:
id: id
description: description
ticketFk: ticket
observationTypeFk: observation type

View File

@ -0,0 +1,6 @@
name: observación ticket
columns:
id: id
description: descripción
ticketFk: ticket
observationTypeFk: tipo observación

View File

@ -0,0 +1,8 @@
name: ticket packaging
columns:
id: id
quantity: quantity
created: created
pvp: pvp
ticketFk: ticket
packagingFk: packaging

View File

@ -0,0 +1,8 @@
name: embalaje ticket
columns:
id: id
quantity: cantidad
created: creado
pvp: pvp
ticketFk: ticket
packagingFk: embalaje

View File

@ -0,0 +1,5 @@
name: ticket refund
columns:
id: id
refundTicketFk: refund ticket
originalTicketFk: original ticket

View File

@ -0,0 +1,5 @@
name: ticket abono
columns:
id: id
refundTicketFk: ticket abono
originalTicketFk: ticket original

View File

@ -0,0 +1,15 @@
name: ticket request
columns:
id: id
description: description
created: created
quantity: quantity
price: price
isOk: Ok
response: response
saleFk: sale
ticketFk: ticket
attenderFk: attender
requesterFk: requester
itemFk: item

View File

@ -0,0 +1,15 @@
name: peticiones ticket
columns:
id: id
description: descripción
created: creado
quantity: cantidad
price: precio
isOk: Ok
response: respuesta
saleFk: línea
ticketFk: ticket
attenderFk: asistente
requesterFk: solicitante
itemFk: artículo

View File

@ -0,0 +1,10 @@
name: ticket service
columns:
id: id
ticketFk: ticket
description: description
quantity: quantity
price: price
taxClassFk: tax class
ticketServiceTypeFk: ticket service type

View File

@ -0,0 +1,10 @@
name: servicios ticket
columns:
id: id
ticketFk: ticket
description: descripción
quantity: cantidad
price: precio
taxClassFk: tipo impuestos
ticketServiceTypeFk: tipo servicio ticket

View File

@ -0,0 +1,7 @@
name: ticket tracking
columns:
id: id
created: created
ticketFk: ticket
stateFk: state
workerFk: worker

View File

@ -0,0 +1,7 @@
name: seguimiento ticket
columns:
id: id
created: creado
ticketFk: ticket
stateFk: estado
workerFk: trabajador

View File

@ -0,0 +1,5 @@
name: ticket weekly
columns:
ticketFk: ticket
weekDay: week day
agencyModeFk: agency

View File

@ -0,0 +1,5 @@
name: ticket semanal
columns:
ticketFk: ticket
weekDay: día semana
agencyModeFk: agencia

View File

@ -1,3 +1,5 @@
name: ticket
columns:
shipped: shipped
landed: landed
nickname: nickname

View File

@ -1,11 +1,13 @@
shipped: fecha salida
landed: fecha entrega
name: ticket
columns:
shipped: salida
landed: entrega
nickname: alias
location: ubicación
solution: solución
packages: embalajes
updated: fecha última actualización
isDeleted: esta eliminado
updated: última actualización
isDeleted: eliminado
priority: prioridad
zoneFk: zona
zonePrice: precio zona

View File

@ -0,0 +1,6 @@
name: worker dms
columns:
id: id
dmsFk: dms
workerFk: worker
isReadableByWorker: readable by worker

View File

@ -0,0 +1,6 @@
name: documento trabajador
columns:
id: id
dmsFk: dms
workerFk: trabajador
isReadableByWorker: legible por trabajador