refs#6721 MetodoPagoActivarTrabajadores
gitea/salix/pipeline/pr-dev This commit looks good Details

This commit is contained in:
Josep Domingo 2024-02-13 13:19:26 +01:00
parent 9bd8c21660
commit 35df439f14
1 changed files with 6 additions and 0 deletions

View File

@ -23,6 +23,12 @@ BEGIN
IF vOldBusinessFk IS NULL THEN
CALL account.account_enable(vSelf);
UPDATE client c
JOIN payMethod pm ON pm.code = 'bankDraft'
SET c.payMethodFk = pm.id
WHERE c.id = vSelf
AND c.iban;
END IF;
END$$
DELIMITER ;