refs #6721 MetodoPagoActivarTrabajadores #2036
|
@ -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 ;
|
||||
|
|
Loading…
Reference in New Issue