3888-ticket.expedition_moveExpedition #1097
Labels
No Milestone
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: verdnatura/salix#1097
Loading…
Reference in New Issue
No description provided.
Delete Branch "3888-ticket.expedition_moveExpedition"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@ -237,2 +237,3 @@
"Modifiable password only via recovery or by an administrator": "Contraseña modificable solo a través de la recuperación o por un administrador",
"Not enough privileges to edit a client": "No tienes suficientes privilegios para editar un cliente"
"Not enough privileges to edit a client": "No tienes suficientes privilegios para editar un cliente",
"This route not exists": "Esta ruta no existe"
This route does not exists
@ -0,0 +33,4 @@
}
try {
const deletedExpeditions = await models.Expedition.destroyAll({
Utilizar destroyById() en un bucle. La función destroyAll() no es segura
@ -0,0 +75,4 @@
const ticket = await models.Ticket.new(ctx, myOptions);
const promises = [];
for (let expeditionsId of args.expeditionIds) {
const expeditionToUpdate = await models.Expedition.findById(expeditionsId);
pasar transacción null, myOptions
@ -2,0 +3,4 @@
Move: Mover
New ticket without route: Nuevo ticket sin ruta
New ticket with route: Nuevo ticket con ruta
Id route: Id ruta
Route id
Este PR ya había sido aprobado, solo se ha actualizado la rama.