fix: linting issues

This commit is contained in:
Shivam Mishra 2020-04-14 12:00:02 +05:30
parent d9ce5843e5
commit cb354685d5
3 changed files with 9 additions and 28 deletions

View File

@ -102,16 +102,16 @@ def create_member_subscription_order(user_details):
"""Summary
Args:
user_details (TYPE): Description
user_details (TYPE): Description
Returns:
Dictionary: Dictionary with subscription details
{
'subscription_details': {
'plan_id': 'plan_EXwyxDYDCj3X4v',
'billing_frequency': 24,
'customer_notify': 1
},
Dictionary: Dictionary with subscription details
{
'subscription_details': {
'plan_id': 'plan_EXwyxDYDCj3X4v',
'billing_frequency': 24,
'customer_notify': 1
},
'subscription_id': 'sub_EZycCvXFvqnC6p'
}
"""

View File

@ -124,18 +124,3 @@ Administrator""".format(get_link_to_form("Error Log", log.name))
sendmail_to_system_managers("[Important] [ERPNext] Razorpay membership webhook failed , please check.", content)
except:
pass

View File

@ -3,10 +3,6 @@
frappe.ui.form.on('Membership Settings', {
refresh: function(frm) {
// if (frm.doc.enable_razorpay) {
// frm.add_custom_button(__("Fetch Plans from RazorPay"), () => {
// frm.trigger("fetch_razorpay_plans")
// });
// }
}
});