8282-testToMaster #1057

Merged
alexm merged 215 commits from 8282-testToMaster into master 2024-12-10 06:23:36 +00:00
1 changed files with 4 additions and 1 deletions
Showing only changes of commit 73b7fa7704 - Show all commits

View File

@ -213,7 +213,10 @@ const requestComponentUpdate = async (ticket, isWithoutNegatives) => {
warehouseFk: ticket.futureWarehouseFk,
});
if (!newLanded) throw new Error(t('advanceTickets.noDeliveryZone'));
if (!newLanded) {
notify(t('advanceTickets.noDeliveryZone'), 'negative');
throw new Error(t('advanceTickets.noDeliveryZone'));
}
ticket.landed = newLanded.landed;
ticket.zoneFk = newLanded.zoneFk;