Addded status to appointment creation

This commit is contained in:
Pranav Nachanekar 2019-09-10 13:12:28 +05:30
parent 5c008ef023
commit 6f486f3719

View File

@ -93,6 +93,7 @@ def create_appointment(date, time, contact):
appointment.customer_phone_number = contact['number']
appointment.customer_skype = contact['skype']
appointment.customer_details = contact['notes']
appointment.status = 'Open'
appointment.insert()