您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 

15 行
418 B

  1. # Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
  2. # See license.txt
  3. import frappe
  4. no_cache = True
  5. def get_context(context):
  6. token = frappe.local.form_dict.token
  7. doc = frappe.get_doc(frappe.local.form_dict.doctype, frappe.local.form_dict.docname)
  8. context.payment_message = ''
  9. if hasattr(doc, 'get_payment_success_message'):
  10. context.payment_message = doc.get_payment_success_message()