Gocardless integration (#13008)
* GoCardless integration * Addition of a method for determining if the email should be sent or not * Correction for Tests * Codacy fix * Documents moved to ERPNext * Codacy fix * Codacy fixes * Remove method where not necessary and replace with hasattr
This commit is contained in:
committed by
Rushabh Mehta
parent
3fecbb98c5
commit
bc7a549fdb
22
erpnext/config/erpnext_integrations.py
Normal file
22
erpnext/config/erpnext_integrations.py
Normal file
@@ -0,0 +1,22 @@
|
||||
from __future__ import unicode_literals
|
||||
from frappe import _
|
||||
|
||||
def get_data():
|
||||
return [
|
||||
{
|
||||
"label": _("Payments"),
|
||||
"icon": "fa fa-star",
|
||||
"items": [
|
||||
{
|
||||
"type": "doctype",
|
||||
"name": "GoCardless Settings",
|
||||
"description": _("GoCardless payment gateway settings"),
|
||||
},
|
||||
{
|
||||
"type": "doctype",
|
||||
"name": "GoCardless Mandate",
|
||||
"description": _("GoCardless SEPA Mandate"),
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user