mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-26 00:14:50 +00:00
chore: whitespace cleanup from codebase
This commit is contained in:
@@ -7,5 +7,3 @@ from frappe.model.document import Document
|
||||
|
||||
class ChapterMember(Document):
|
||||
pass
|
||||
|
||||
|
||||
|
||||
@@ -217,4 +217,3 @@ def notify_failure(log):
|
||||
sendmail_to_system_managers(_('[Important] [ERPNext] Razorpay donation webhook failed, please check.'), content)
|
||||
except Exception:
|
||||
pass
|
||||
|
||||
|
||||
@@ -13,4 +13,4 @@ def get_data():
|
||||
'items': ['Payment Entry']
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -73,4 +73,4 @@ def create_mode_of_payment():
|
||||
'company': '_Test Company',
|
||||
'default_account': 'Cash - _TC'
|
||||
}]
|
||||
}).insert()
|
||||
}).insert()
|
||||
|
||||
@@ -15,4 +15,3 @@ class Donor(Document):
|
||||
from frappe.utils import validate_email_address
|
||||
if self.email:
|
||||
validate_email_address(self.email.strip(), True)
|
||||
|
||||
|
||||
@@ -55,4 +55,4 @@ def send_grant_review_emails(grant_application):
|
||||
grant.save()
|
||||
frappe.db.commit()
|
||||
|
||||
frappe.msgprint(_("Review Invitation Sent"))
|
||||
frappe.msgprint(_("Review Invitation Sent"))
|
||||
|
||||
@@ -61,4 +61,4 @@ frappe.ui.form.on('Member', {
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
@@ -159,4 +159,4 @@ def get_subscription_payload():
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -15,4 +15,4 @@ class MembershipType(Document):
|
||||
frappe.throw(_("The Linked Item should be a service item"))
|
||||
|
||||
def get_membership_type(razorpay_id):
|
||||
return frappe.db.exists("Membership Type", {"razorpay_plan_id": razorpay_id})
|
||||
return frappe.db.exists("Membership Type", {"razorpay_plan_id": razorpay_id})
|
||||
|
||||
@@ -35,4 +35,4 @@ class NonProfitSettings(Document):
|
||||
def get_plans_for_membership(*args, **kwargs):
|
||||
controller = get_payment_gateway_controller("Razorpay")
|
||||
plans = controller.get_plans()
|
||||
return [plan.get("item") for plan in plans.get("items")]
|
||||
return [plan.get("item") for plan in plans.get("items")]
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
frappe.ready(function() {
|
||||
// bind events here
|
||||
});
|
||||
});
|
||||
|
||||
@@ -4,5 +4,3 @@ def get_context(context):
|
||||
context.no_cache = True
|
||||
context.parents = [dict(label='View All ',
|
||||
route='grant-application', title='View All')]
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user