{% load static %} HealthStack
{% include 'patient_navbar.html' %}
{% include 'patient-sidebar.html' %}
{% for appointment in appointments %} {% if appointment.appointment_type == 'checkup' %} {% else %} {% endif %} {% endfor %}
Doctor Appt Date Type Amount Status Payment Status Action

User Image {{ appointment.doctor.name }} {{appointment.doctor.department_name}}

{{appointment.date}} {{appointment.time}} {{appointment.appointment_type}}{{appointment.doctor.consultation_fee}} BDT{{appointment.doctor.report_fee}} BDT {% if appointment.appointment_status == 'pending' %} Pending {% endif %} {% if appointment.appointment_status == 'confirmed' %} Confirm {% endif %} {% if appointment.appointment_status == 'cancelled' %} Cancelled {% endif %} {% if appointment.payment_status == 'pending' %} Pending {% endif %} {% if appointment.payment_status == 'VALID' %} Paid {% endif %}
{% if appointment.payment_status == 'pending' %} {% else %} Paid {% endif %}
{% for prescription in prescription %} {% endfor %}
Prescription ID Doctor Name Doctor Action
{{prescription.prescription_id}} {{prescription.doctor.name }}

User Image Dr. {{prescription.doctor}}{{prescription.doctor.department_name }}

{% for report in report %} {% endfor %}
Report ID Delivery Date Doctor Action
{{report.report_id}} {{report.delivery_date }}

User Image Dr.{{report.doctor}}{{report.doctor.department_name }}

{% for payment in payments %} {% endfor %}
Doctor Tranx ID Tranx Date Amount Card Type Card Issuer Payment Status

User Image {{payment.appointment.doctor.name}} {{payment.appointment.doctor.department}}

{{payment.transaction_id}} {{payment.transaction_date}} {{payment.currency_amount}} BDT {{payment.card_type}} {{payment.card_issuer}} {% if payment.status == 'VALID' %} Success {% else %} Pending {% endif %}
{% include 'footer.html' %}
{% if messages %} {% endif %}