Merge pull request 'refs #6721 MetodoPagoActivarTrabajadores' (!2036) from 6721-método-de-pago-al-volver-a-activar-trabajadores into dev
gitea/salix/pipeline/head There was a failure building this commit
Details
gitea/salix/pipeline/head There was a failure building this commit
Details
Reviewed-on: #2036 Reviewed-by: Javi Gallego <jgallego@verdnatura.es>
This commit is contained in:
commit
da600c6ea5
|
@ -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