refs #6721 MetodoPagoActivarTrabajadores #2036
|
@ -23,6 +23,12 @@ BEGIN
|
||||||
|
|
||||||
IF vOldBusinessFk IS NULL THEN
|
IF vOldBusinessFk IS NULL THEN
|
||||||
CALL account.account_enable(vSelf);
|
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 IF;
|
||||||
END$$
|
END$$
|
||||||
DELIMITER ;
|
DELIMITER ;
|
||||||
|
|
Loading…
Reference in New Issue