fix(payMethod): alter colums name #793
No reviewers
Labels
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: verdnatura/salix#793
Loading…
Reference in New Issue
No description provided.
Delete Branch "3379-payMethod_ibanRequired"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@ -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)
try extracting logic gates to constants like:
@ -81,3 +81,3 @@
const hasIban = supplierAccount && supplierAccount.iban;
if (payMethod && payMethod.ibanRequiredForSuppliers && !hasIban)
if (payMethod && payMethod.isIbanRequiredForSuppliers && !hasIban)
same as above
LGTM