Skip to content

Invoice Management System A comprehensive, modern invoice management system specifically designed for travel agencies. Built with PHP, MySQL, and Bootstrap 5, this system streamlines booking management, invoice generation, and financial reporting for travel businesses.

Notifications You must be signed in to change notification settings

UdaraIrunika/Simple-php-Invoice-Management-System

Repository files navigation

🏝️ Invoice Management System

A comprehensive, modern invoice management system specifically designed for travel agencies. Built with PHP, MySQL, and Bootstrap 5, this system streamlines booking management, invoice generation, and financial reporting for travel businesses.

PHP MySQL Bootstrap Chart.js


✨ Features

🧾 Core Functionality

  • Invoice Management - Create, view, edit, and delete invoices
  • Booking System - Manage travel bookings with automatic invoice generation
  • Payment Tracking - Track paid, pending, and overdue invoices
  • Tax & Discount Calculation - Automatic calculation of totals with tax and discounts
  • Multi-currency Support - 130+ currencies with automatic formatting

πŸ“Š Analytics & Reporting

  • Dashboard Overview - Real-time statistics and revenue charts
  • Financial Reports - Comprehensive financial summaries and trends
  • Package Performance - Track most profitable travel packages
  • Customer Insights - Top customers and spending patterns

🎨 User Experience

  • Modern UI/UX - Beautiful gradient design with glass morphism effects
  • Responsive Design - Works perfectly on desktop, tablet, and mobile
  • Real-time Calculations - Instant total calculations as you type
  • Interactive Charts - Beautiful data visualizations with Chart.js

πŸ”§ Administrative Features

  • Role-based Access - Admin and Staff user roles
  • System Settings - Customizable company info, tax rates, and invoice templates
  • Activity Logging - Complete audit trail of all system actions
  • Email Configuration - SMTP setup for invoice emailing

πŸš€ Quick Start

Prerequisites

  • PHP 8.0 or higher
  • MySQL 5.7 or higher
  • Web server (Apache/Nginx)
  • Composer (optional)

Installation

git clone https://github.com/your-username/royal-travel-invoices.git cd royal-travel-invoices

Set up the database:

mysql -u username -p < database/schema.sql

Configure the application:

define('DB_HOST', 'localhost'); define('DB_USER', 'your_username'); define('DB_PASS', 'your_password'); define('DB_NAME', 'royal_travel_invoices');

Set file permissions:

chmod 755 uploads/ chmod 644 config.php

Access the application:

http://localhost/royal-travel-invoices/login.php 

Default Login Credentials:

Username: admin Password: password 

πŸ“ Project Structure

royal-travel-invoices/ β”œβ”€β”€ config.php β”œβ”€β”€ login.php β”œβ”€β”€ dashboard.php β”œβ”€β”€ invoices.php β”œβ”€β”€ bookings.php β”œβ”€β”€ reports.php β”œβ”€β”€ settings.php β”œβ”€β”€ invoice_view.php β”œβ”€β”€ generate_pdf.php β”œβ”€β”€ logout.php └── database.sql └── style.css 

πŸ—„οΈ Database Schema

Core Tables

  • users
  • booking
  • invoice
  • invoice_items
  • system_log
  • settings

🎯 Key Features in Detail

Invoice Management

  • Auto-generated invoice numbers (RTT-INV-0001)
  • Dynamic tax and discount calculations
  • Multiple payment statuses (Pending, Paid, Overdue)
  • PDF export with professional formatting
  • Email integration for invoice delivery

Booking System

  • Pre-defined travel packages with automatic pricing
  • Duration-based price calculations
  • Booking status tracking
  • One-click invoice generation
  • Customer information management

Reporting & Analytics

  • Financial summary reports
  • Revenue trend analysis
  • Package performance metrics
  • Customer spending patterns
  • Export functionality (CSV, PDF)

Security Features

  • Secure authentication system
  • CSRF protection
  • SQL injection prevention
  • Role-based access control
  • Activity logging and audit trails

🌐 Multi-currency Support

Includes 130+ currencies such as: USD, EUR, GBP, JPY, CAD, AUD, CNY, INR, SGD, AED, ZAR, BTC, ETH, etc.


πŸ“± Responsive Design

  • Desktop: Full feature access
  • Tablet: Touch-friendly layouts
  • Mobile: Streamlined workflow

πŸ”’ Security Best Practices

  • Password hashing (bcrypt)
  • Session timeout & CSRF protection
  • SQL prepared statements
  • File upload sanitization

πŸ“ˆ Performance Optimizations

  • Efficient database indexing
  • Optimized images and caching
  • Minimal dependencies
  • Lazy-loaded content

🀝 Contributing

  1. Fork the repo
  2. Create your feature branch
  3. Commit your changes
  4. Push and open a Pull Request

πŸ“„ License

MIT License β€” see LICENSE file for details.


πŸ“„ Screenshots

Screenshot 2025-11-07 042640 Screenshot 2025-11-07 042654 Screenshot 2025-11-07 042709 Screenshot 2025-11-07 042718 Screenshot 2025-11-07 042726 Screenshot 2025-11-07 042732 Screenshot 2025-11-07 042741 Screenshot 2025-11-07 042754 Screenshot 2025-11-07 042801 Screenshot 2025-11-07 042808 Screenshot 2025-11-07 042814 Screenshot 2025-11-07 042822

πŸ†˜ Support

For questions or support:
πŸ“§ uiindustryprivetlimited@gmail.com

Project Link: GitHub Repo

Built with ❀️ for the travel industry.

About

Invoice Management System A comprehensive, modern invoice management system specifically designed for travel agencies. Built with PHP, MySQL, and Bootstrap 5, this system streamlines booking management, invoice generation, and financial reporting for travel businesses.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published