fix(payMethod): alter colums name #793

Merged
carlosjr merged 6 commits from 3379-payMethod_ibanRequired into dev 2021-11-22 14:55:34 +00:00
Contributor
No description provided.
vicent added the
CR / Tests passed
label 2021-11-19 09:22:36 +00:00
vicent added 1 commit 2021-11-19 09:22:37 +00:00
gitea/salix/pipeline/head This commit looks good Details
8f2e29787b
fix(payMethod): alter colums name
carlosjr added 1 commit 2021-11-19 11:40:12 +00:00
gitea/salix/pipeline/head This commit looks good Details
7eba2fe509
Merge branch 'dev' into 3379-payMethod_ibanRequired
carlosjr requested changes 2021-11-19 11:45:38 +00:00
@ -139,3 +139,3 @@
function hasIban(err, done) {
Self.app.models.PayMethod.findById(this.payMethodFk, (_, instance) => {
if (instance && instance.ibanRequiredForClients && !this.iban)
if (instance && instance.isIbanRequiredForClients && !this.iban)
Contributor

try extracting logic gates to constants like:

        const isMissingIban = instance && instance.ibanRequiredForClients && !this.iban;
        if (isMissingIban)
try extracting logic gates to constants like: const isMissingIban = instance && instance.ibanRequiredForClients && !this.iban; if (isMissingIban)
@ -81,3 +81,3 @@
const hasIban = supplierAccount && supplierAccount.iban;
if (payMethod && payMethod.ibanRequiredForSuppliers && !hasIban)
if (payMethod && payMethod.isIbanRequiredForSuppliers && !hasIban)
Contributor

same as above

same as above
carlosjr removed the
CR / Tests passed
label 2021-11-19 11:45:49 +00:00
vicent added 2 commits 2021-11-22 12:44:37 +00:00
vicent added the
CR / Tests passed
label 2021-11-22 13:10:51 +00:00
carlosjr added 1 commit 2021-11-22 13:32:28 +00:00
gitea/salix/pipeline/head This commit looks good Details
ff0a3acd6e
Merge branch 'dev' into 3379-payMethod_ibanRequired
carlosjr approved these changes 2021-11-22 13:32:42 +00:00
carlosjr left a comment
Contributor

LGTM

LGTM
carlosjr added 1 commit 2021-11-22 14:21:53 +00:00
gitea/salix/pipeline/head This commit looks good Details
cbcfdd33ec
Merge branch 'dev' into 3379-payMethod_ibanRequired
carlosjr merged commit c618b7c2ed into dev 2021-11-22 14:55:34 +00:00
carlosjr deleted branch 3379-payMethod_ibanRequired 2021-11-22 14:55:41 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: verdnatura/salix#793
No description provided.