Added email
This commit is contained in:
parent
df1a5a9633
commit
fa4a2a53e8
@ -39,7 +39,8 @@ class Appointment(Document):
|
||||
self.create_calendar_event()
|
||||
else:
|
||||
# Send email to confirm
|
||||
# frappe.sendmail(recipients=[self.email],message='https:/',subject="")
|
||||
verify_url = ''.join([frappe.utils.get_url(),'/book-appointment/verify?email=',self.email,"&appoitnment=",self.name]))
|
||||
frappe.sendmail(recipients=[self.email],message=verify_url',self.email,"&appoitnment=",self.name),subject="")
|
||||
frappe.msgprint("Please check your email to confirm the appointment")
|
||||
|
||||
def set_verified(self,email):
|
||||
|
Loading…
Reference in New Issue
Block a user