#7663 setWeight #2817
|
@ -373,5 +373,6 @@
|
|||
"Too many records": "Demasiados registros",
|
||||
"Original invoice not found": "Factura original no encontrada",
|
||||
"The entry has no lines or does not exist": "La entrada no tiene lineas o no existe",
|
||||
"Weight already set": "El peso ya está establecido"
|
||||
"Weight already set": "El peso ya está establecido",
|
||||
"This ticket is not allocated to your department": "Este ticket no está asignado a tu departamento"
|
||||
}
|
|
@ -59,7 +59,7 @@ module.exports = Self => {
|
|||
workerDepartments.length == 2 &&
|
||||
workerDepartments[0].departmentFk != workerDepartments[1].departmentFk
|
||||
)
|
||||
throw new UserError('You don\'t have enough privileges');
|
||||
throw new UserError('This ticket is not allocated to your department');
|
||||
jorgep marked this conversation as resolved
Outdated
|
||||
}
|
||||
|
||||
await ticket.updateAttribute('weight', weight, myOptions);
|
||||
|
|
Loading…
Reference in New Issue
Yo daria un error mas especifico diciendo que no pueden pq no son del mismo equipo