feat: refs #7569 refs#7569 sendEmailNotification
gitea/salix/pipeline/pr-dev There was a failure building this commit
Details
gitea/salix/pipeline/pr-dev There was a failure building this commit
Details
This commit is contained in:
parent
b5e27707a7
commit
ef68884fe0
|
@ -395,5 +395,5 @@
|
|||
"Holidays to past days not available": "Las vacaciones a días pasados no están disponibles",
|
||||
"Incorrect delivery order alert on route": "Alerta de orden de entrega incorrecta en ruta: {{ route }} zona: {{ zone }}",
|
||||
"Ticket has been delivered out of order": "El ticket {{ticket}} {{{fullUrl}}} no ha sigo entregado en su orden.",
|
||||
"Price cannot be blank": "Price cannot be blank"
|
||||
"Price cannot be blank": "El precio no puede estar en blanco"
|
||||
}
|
|
@ -174,7 +174,7 @@ module.exports = Self => {
|
|||
WHERE t.id = ?)`
|
||||
, [ticket.routeFk, orderState.id, ticket.id], myOptions);
|
||||
|
||||
if (ticketIncorrect && ticketIncorrect.length > 0)
|
||||
if (ticketIncorrect?.length > 0)
|
||||
await sendMail(ctx, ticket.routeFk, ticket.id, ticket.zone().name);
|
||||
}
|
||||
|
||||
|
|
|
@ -60,7 +60,7 @@ describe('Ticket saveSign()', () => {
|
|||
expect(ticketTrackingAfter.name).toBe('Entregado en parte');
|
||||
});
|
||||
|
||||
fit('should send an email to notify that the delivery order is not correct', async() => {
|
||||
it('should send an email to notify that the delivery order is not correct', async() => {
|
||||
const tx = await models.Ticket.beginTransaction({});
|
||||
const ticketFk = 8;
|
||||
const priority = 5;
|
||||
|
|
Loading…
Reference in New Issue