{% extends 'adminsection/base.html' %} {% load static %} {% block content %}

View Appointment

View Appointment:

Appointment Number {{ Appoinment.id}}
Name {{ Appoinment.Name}}
Email {{ Appoinment.Email }}
Mobile Number {{ Appoinment.PhoneNumber }}
Appointment Date {{ Appoinment.AppoinmentDate }}
Appointment Time {{ Appoinment.AppoinmentTine|date:"H i A"}}
Services {% for service in Appoinment.Service.all %} {{ service.ServiceName }} {% endfor %}
Apply Date {{ Appoinment.ApplyDate }}
Status {% if Appoinment.Remark %} {% if Appoinment.Remark == '1' %} Accected {% else %} Rejected {% endif %} {% else %} Not Confirm {% endif %}
{% if not Appoinment.Remark %} {% csrf_token %} {% for field in form %} {% if field.name == 'Remark' %} {% else %} {% endif %} {% endfor %}
Status :
Note :
{% endif %} {% if Appoinment.Remark %}
Remark {{ Appoinment.Note }}
Remark date {{ Appoinment.RemarkDate }}
{% endif %}
{% endblock %}