refs #5925 user error
gitea/salix/pipeline/head There was a failure building this commit Details

This commit is contained in:
Carlos Satorres 2023-12-13 12:03:04 +01:00
parent 2393625a48
commit 4e8bec5684
2 changed files with 5 additions and 2 deletions

View File

@ -120,6 +120,8 @@ module.exports = Self => {
if (process.env.NODE_ENV != 'production')
throw new UserError('Action not allowed on the test environment');
if (!tablet.id)
throw new UserError('This user does not have an assigned tablet.');
// delete old
const docuwareFile = await models.Docuware.checkFile(id, fileCabinet, false);
if (docuwareFile) {

View File

@ -329,5 +329,6 @@
"The amount cannot be less than the minimum": "La cantidad no puede ser menor que la cantidad mínima",
"quantityLessThanMin": "La cantidad no puede ser menor que la cantidad mínima",
"Cannot past travels with entries": "No se pueden pasar envíos con entradas",
"It was not able to remove the next expeditions:": "No se pudo eliminar las siguientes expediciones: {{expeditions}}"
}
"It was not able to remove the next expeditions:": "No se pudo eliminar las siguientes expediciones: {{expeditions}}",
"This user does not have an assigned tablet.": "Este usuario no tiene tablet asignada"
}