Skip to content

Commit

Permalink
Merge pull request #21429 from akurungadam/patch-2
Browse files Browse the repository at this point in the history
fix: name 'patient' is not defined
  • Loading branch information
ruchamahabal committed Apr 26, 2020
2 parents 2b5bca4 + c2f9520 commit e1697fd
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -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)


Expand Down

0 comments on commit e1697fd

Please sign in to comment.