{% extends "base.html" %} {% block content %}

SRG Hospital

{% if session.get('role') %}

Welcome back, {{ session['username'] }}!
{{ session['role'] }}

{% else %}

Advanced Healthcare Management System

Sign In
{% endif %}
{% if session.get('role') %}
{% if session['role'] == 'admin' %}

Doctors

Manage doctor profiles, shifts, and schedules.

Manage

Patients

View patient records and active treatments.

View

Billing

Process payments and manage invoices safely.

Billing

Reports

Analytics, revenue, and hospital performance.

Analytics
{% elif session['role'] == 'doctor' %}

My Appointments

View your active patient schedule and bookings.

View Schedule

My Dashboard

Manage your shifts and hospital interactions.

Go to Dashboard
{% elif session['role'] == 'patient' %}

Appointments

Book, reschedule or view current medical sessions.

Appointments

My Billing

View detailed invoices and payment history.

My Bills
{% endif %}
{% endif %} {% endblock %}