A comprehensive desktop application for managing hotel operations, built with Python and Tkinter.
- Add, update, and remove rooms
- View room status and details
- Book rooms for guests
- Track room availability
- Create new bookings
- View booking history
- Search bookings by customer name
- Track check-in and check-out dates
- Generate bills for bookings
- Calculate taxes and discounts
- Generate payment QR codes
- Create and save invoices
- Multiple payment methods (Cash, Credit Card, QR Code)
- Add and manage staff members
- Process staff salaries
- Track salary history
- Manage staff status and details
- Request hotel services (cleaning, laundry, food, etc.)
- Manage service catalog
- Track service requests
- View service history
- Weekly analytics
- Monthly analytics
- Booking trends
- Revenue analysis
- Occupancy rates
- Python 3.6 or higher
tkinter (built-in)
sqlite3 (built-in)
qrcode==7.4.2
Pillow==10.0.0
- Clone the repository or download the source code
- Install the required libraries:
pip install qrcode pillow
The system uses SQLite database with the following tables:
-
rooms
- Room details and availability
- Room types and rates
-
bookings
- Guest booking information
- Check-in/out dates
- Total amounts
-
bills
- Billing information
- Payment details
- Tax and discount calculations
-
services
- Hotel service catalog
- Service prices and categories
-
service_requests
- Service request tracking
- Request status and details
-
staff
- Staff member information
- Employment details
-
salary_payments
- Staff salary records
- Payment history
-
analytics
- System analytics data
- Performance metrics
HMS/
├── hms.py # Main application file
├── hotel.db # SQLite database file
└── README.md # This file
- Run the application:
python hms.py
- Use the sidebar navigation to access different features:
- Room Management
- Booking History
- Billing System
- Staff Management
- Services
- Reports & Analytics
- Add new rooms with details (number, type, rate)
- Update room information
- Remove rooms from the system
- Book rooms for guests
- Track room availability status
- Create new bookings with guest details
- View and search booking history
- Track check-in and check-out dates
- Calculate booking amounts
- Generate bills for completed bookings
- Apply tax rates (10%)
- Add discounts
- Generate payment QR codes
- Create printable invoices
- Track payment status
- Add new staff members
- Track staff details and status
- Process monthly salaries
- View salary history
- Manage staff positions and roles
- Request various hotel services
- Track service requests
- Manage service catalog
- View service history
- Calculate service charges
- View weekly performance metrics
- Analyze monthly trends
- Track booking patterns
- Monitor revenue and occupancy
- Generate financial reports
- Built with Python and Tkinter
- Uses SQLite for data storage
- QR code generation using qrcode library
- Image processing with Pillow