mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-18 20:49:19 +00:00
fix: name 'patient' is not defined
possible escape while refactoring, fixed in develop added here. Reported via - https://discuss.erpnext.com/t/healthcare-outpatient-sms-alert-error/60812
This commit is contained in:
@@ -352,7 +352,7 @@ def send_message(doc, message):
|
|||||||
|
|
||||||
# jinja to string convertion happens here
|
# jinja to string convertion happens here
|
||||||
message = frappe.render_template(message, context)
|
message = frappe.render_template(message, context)
|
||||||
number = [patient.mobile]
|
number = [patient_mobile]
|
||||||
send_sms(number, message)
|
send_sms(number, message)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user