{% extends "base.html" %} {% block content %}
{{ total_patients }}
{{ total_doctors }}
{{ scheduled_appointments }}
{{ total_medicines }}
Select a report type from the dropdown above to view detailed reports.
MR Number | Name | Age | Gender | Mobile | Created Date |
---|---|---|---|---|---|
{{ patient[0] }} | {{ patient[1] }} | {{ patient[2] }} | {{ patient[3] }} | {{ patient[4] }} | {{ patient[5] }} |
No patients found.
{% endif %} {% elif report_type == 'doctor_statistics' %}Doctor ID | Name | Specialization | Experience | Fee | Created Date |
---|---|---|---|---|---|
{{ doctor[0] }} | {{ doctor[1] }} | {{ doctor[2] }} | {{ doctor[3] }} years | ${{ "%.2f"|format(doctor[4]|float) }} | {{ doctor[5] }} |
No doctors found.
{% endif %} {% elif report_type == 'appointment_statistics' %}Appointment ID | Patient | Doctor | Date | Time | Status |
---|---|---|---|---|---|
{{ appointment[0] }} | {{ appointment[1] }} | {{ appointment[2] }} | {{ appointment[3] }} | {{ appointment[4] }} | {{ appointment[5] }} |
No appointments found.
{% endif %} {% elif report_type == 'revenue_report' %}Bill ID | Patient | Doctor | Total Amount | Net Amount | Status | Date |
---|---|---|---|---|---|---|
{{ bill[0] }} | {{ bill[1] }} | {{ bill[2] }} | ${{ "%.2f"|format(bill[3]|float) }} | ${{ "%.2f"|format(bill[4]|float) }} | {{ bill[5] }} | {{ bill[6] }} |
No billing records found.
{% endif %} {% elif report_type == 'medicine_inventory' %}Medicine ID | Name | Category | Stock | Unit Price | Expiry Date |
---|---|---|---|---|---|
{{ medicine[0] }} | {{ medicine[1] }} | {{ medicine[2] }} | {{ medicine[3] }} | ${{ "%.2f"|format(medicine[4]|float) }} | {{ medicine[5] if medicine[5] else 'N/A' }} |
No medicines found.
{% endif %} {% else %}Please select a report type.
{% endif %}