mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-19 09:35:03 +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
|
||||
message = frappe.render_template(message, context)
|
||||
number = [patient.mobile]
|
||||
number = [patient_mobile]
|
||||
send_sms(number, message)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user