Merge pull request 'fix: refs #7335 hotFix cmrTicket' (!2549) from 7335-hotFixCmrTicket into master
gitea/salix/pipeline/head This commit looks good Details

Reviewed-on: #2549
Reviewed-by: Carlos Andrés <carlosap@verdnatura.es>
This commit is contained in:
Robert Ferrús 2024-06-05 11:50:25 +00:00
commit debfe15784
1 changed files with 3 additions and 1 deletions

View File

@ -8,7 +8,9 @@ BEGIN
SET hasNewRoute = TRUE
WHERE ticketFk = NEW.id;
CALL ticket_doCmr(NEW.id);
IF NEW.cmrFk THEN
CALL ticket_doCmr(NEW.id);
END IF;
END IF;
END$$
DELIMITER ;