mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-01 04:28:27 +00:00
Codacy corrections
This commit is contained in:
@@ -29,7 +29,7 @@ frappe.ui.form.on('Bank Account', {
|
||||
frm.add_custom_button(__("Unlink external integrations"), function() {
|
||||
frappe.confirm(__("This action will unlink this account from any external service integrating ERPNext with your bank accounts. It cannot be undone. Are you certain ?"), function() {
|
||||
frm.set_value("integration_id", "");
|
||||
})
|
||||
});
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
@@ -62,7 +62,7 @@ erpnext.integrations.plaidLink = class plaidLink {
|
||||
el.addEventListener('error', reject);
|
||||
el.addEventListener('abort', reject);
|
||||
document.head.appendChild(el);
|
||||
})
|
||||
});
|
||||
}
|
||||
|
||||
onScriptLoaded(me) {
|
||||
@@ -72,7 +72,7 @@ erpnext.integrations.plaidLink = class plaidLink {
|
||||
key: me.plaid_public_key,
|
||||
onSuccess: me.plaid_success,
|
||||
product: me.product
|
||||
})
|
||||
});
|
||||
}
|
||||
|
||||
onScriptError(error) {
|
||||
|
||||
Reference in New Issue
Block a user