mirror of
https://github.com/frappe/erpnext.git
synced 2026-08-28 22:28:24 +00:00
Co-authored-by: diptanilsaha <diptanil@frappe.io>
This commit is contained in:
@@ -901,7 +901,9 @@ def send():
|
|||||||
|
|
||||||
@frappe.whitelist()
|
@frappe.whitelist()
|
||||||
def get_digest_msg(name):
|
def get_digest_msg(name):
|
||||||
return frappe.get_doc("Email Digest", name).get_msg_html()
|
email_digest = frappe.get_doc("Email Digest", name)
|
||||||
|
email_digest.check_permission()
|
||||||
|
return email_digest.get_msg_html()
|
||||||
|
|
||||||
|
|
||||||
def get_incomes_expenses_for_period(account, from_date, to_date):
|
def get_incomes_expenses_for_period(account, from_date, to_date):
|
||||||
|
|||||||
Reference in New Issue
Block a user