Live central control panel powered by PostgreSQL views, triggers, and procedures.
Connected to PostgreSQL database hotel_management with parameterized queries, hashed passwords, foreign key constraints, views, and automated audit logging.
Add rooms, modify pricing, update room status, and handle safe deactivation.
| Room # | Category | Price / Night | Status | Active | Actions |
|---|
Manage customer profiles, inspect stay history, and reset guest passwords securely.
| ID | Customer Name | Email Address | Phone | Total Bookings | Total Spent | Registered Date | Actions |
|---|
Create staff accounts, assign roles (Admin / Receptionist), and manage active permissions.
| Staff ID | Name | Role | Status | Created At | Actions |
|---|
Inspect all guest bookings, edit dates/rooms with double-booking validation, and handle cancellations.
| Res ID | Guest Name | Room # | Dates | Guests | Special Requests | Est. Total | Status | Actions |
|---|
Manage services, adjust prices, edit descriptions, and toggle availability.
| Service ID | Service Name | Price | Description | Availability | Actions |
|---|
Monitor and fulfill room service orders placed by guests.
| Req ID | Room # | Guest Name | Service | Quantity | Total Price | Status | Actions |
|---|
Auto-generated checkout tasks and manual room cleaning dispatches.
| Task ID | Room # | Room Type | Task Type | Status | Notes | Created At | Actions |
|---|
Audit guest bills, view itemized charges, and process payment status.
| Bill ID | Guest Name | Room # | Room Charge | Service Charge | Tax (5%) | Total Amount | Status | Actions |
|---|
Reports computed via PostgreSQL views (vw_revenue_summary, vw_customer_loyalty_ranking, vw_service_popularity) & Materialized View (mv_monthly_financial_report).
| Room Category | Total Bookings | Room Tariff Collected | Service Revenue | Tax Collected | Grand Total |
|---|
| Guest | Bookings | Lifetime Spend | Tier |
|---|
| Service Item | Orders | Units | Revenue |
|---|
| Billing Month | Invoices Issued | Gross Room Revenue | Gross Service Revenue | Tax Collected | Net Revenue |
|---|
Real-time audit records populated by PostgreSQL trigger trg_audit_reservations, trg_audit_bills, and trg_audit_rooms.
| Log ID | Table Name | Operation | Record ID | Executed By | Timestamp | Details |
|---|
Review guest lost item reports, coordinate recovery, and log resolutions directly to PostgreSQL.
| Item ID | Photo | Item Name | Reported By | Lost Location | Date / Time | Status | Resolution Notes | Staff Action |
|---|---|---|---|---|---|---|---|---|
| Loading lost & found reports... | ||||||||