https://github.com/nexusgksoftwares/isp
https://github.com/nexusgksoftwares/isp
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/nexusgksoftwares/isp
- Owner: NexusGKSoftwares
- Created: 2024-11-10T19:30:31.000Z (6 months ago)
- Default Branch: master
- Last Pushed: 2024-11-10T19:46:31.000Z (6 months ago)
- Last Synced: 2024-12-18T06:33:33.724Z (4 months ago)
- Language: PHP
- Size: 482 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
---
# π ISP Billing System Documentation
## 1. Introduction π
The ISP Billing System is an all-in-one solution for managing and automating essential operations for an Internet Service Provider (ISP). This system is designed to improve efficiency by handling WiFi package management, customer registration, payment tracking, and usage monitoring.
It consists of two main interfaces:
- **Admin Panel**: For ISP administrators to manage packages, users, and payments.
- **User Panel**: For customers to purchase packages, view usage, make payments, and track their account.---
## 2. System Features and Functionality π οΈ
### Admin Panel Features π
1. **Dashboard** π : Displays an overview of system activity, with real-time stats and graphs showing the number of users, packages, and payments made.
2. **Manage Packages** π¦: Allows admins to create, update, and delete WiFi packages. Each package has a speed, price, and duration for users to select from.
3. **Manage Users** π€: Enables admins to register new users, view customer data, and manage user accounts.
4. **Manage Payments** π³: Tracks payments, displays history, and provides a summary of revenue collected. Admins can also mark payments as confirmed or pending.
5. **Settings** βοΈ: Offers customization options, such as changing prices, adjusting package details, and updating system configurations.
6. **Reports and Analytics** π: Provides reports and analytics on user data, payments, and package usage. Admins can download reports for better decision-making.### User Panel Features π
1. **Dashboard** π : A personalized dashboard displaying the userβs active packages, payment history, and data usage summary.
2. **Purchase Packages** π¦: Users can view available WiFi packages, compare them, and select one to purchase based on their needs.
3. **Manage Account** π€: Users can view or update their account information.
4. **Payment History** π΅: Shows a detailed history of payments made, including receipts, and enables users to track their billing.
5. **Support & Assistance** π€: Users can submit tickets for support or contact customer service directly for issues or inquiries.---
## 3. Project Structure π
### **Admin Panel Structure** π οΈ
This part of the system is only accessible to admins. It provides tools to manage customers, packages, and payments effectively.```
admin_panel/
βββ index.php # Admin dashboard displaying graphs and summaries
βββ includes/
β βββ header.php # Top navigation bar with logo and logout option
β βββ sidebar.php # Sidebar with navigation links (Dashboard, Packages, Users, Payments, Settings)
β βββ footer.php # Footer for credits and scripts
βββ packages.php # CRUD operations for WiFi packages
βββ users.php # User management (view, add, edit, delete users)
βββ payments.php # Displays payment information and statuses
βββ reports.php # Downloadable reports and analytics
βββ settings.php # Modify system configurations
βββ assets/ # Holds CSS, JS, images, and icons
β βββ css/
β β βββ styles.css # Custom styles
β βββ js/
β βββ charts.js # Graphs and visualization scripts
βββ config.php # Database connection settings
```### **User Panel Structure** π
The user panel provides a simplified interface for customers to access and manage their account details.```
user_panel/
βββ index.php # User dashboard with available packages and quick access links
βββ includes/
β βββ header.php # Common header with navigation links and logo
β βββ sidebar.php # Sidebar with links to account, packages, payments, and support
β βββ footer.php # Footer for credits and additional scripts
βββ packages.php # List and purchase available WiFi packages
βββ my_packages.php # View details of purchased packages
βββ payments.php # Payment history and details
βββ account.php # Update user account details
βββ support.php # Contact form for customer support inquiries
βββ assets/ # CSS, JS, images, and icons
β βββ css/
β β βββ styles.css # Custom styles for user interface
β βββ js/
β βββ interactions.js# JavaScript for user interactions
βββ config.php # Database connection and configuration
```---
## 4. How the System Operates βοΈ
1. **Admin Workflow** π¨βπΌ:
- Admins log in through the **Admin Panel** and are presented with a dashboard summarizing the systemβs status.
- Using the navigation sidebar, admins can manage packages, users, and payments.
- The **Manage Packages** page lets admins add new packages with various speeds, prices, and durations.
- On the **Manage Users** page, admins can add new users, view user details, or edit and delete existing users.
- **Payments** are tracked on the **Manage Payments** page, where admins can view payment statuses and generate revenue reports.
- The **Settings** page allows system configurations and customization of package details.2. **User Workflow** π€:
- Users can register on the system, log in, and access the **User Panel**.
- On the **Dashboard**, users can view available packages, their current subscription, and recent payments.
- Users can browse and purchase packages through the **Purchase Packages** page, selecting a package that fits their needs.
- Payments are made through the **Payment** page, where users can see their transaction history and download payment receipts.
- For any issues, users can reach out to support on the **Support** page, where they can submit tickets or contact customer service.---
## 5. Database Design πΎ
The database stores essential information related to users, packages, payments, and configurations. Key tables include:
- `users`: Stores user profiles and login credentials.
- `packages`: Holds details about WiFi packages, such as speed, price, and duration.
- `payments`: Records payment history, including amount, status, and date.
- `admin_settings`: Holds system settings for configurations by admins.---
## 6. Technology Stack π»
The ISP Billing System leverages the following technologies:
- **Backend**: PHP for server-side logic.
- **Database**: MySQL for data storage.
- **Frontend**: HTML, CSS, and JavaScript for UI and interactivity.
- **Chart.js**: For creating visual graphs in the dashboard.---
## 7. Installation and Setup π§
1. **Clone the Repository**: Clone the ISP Billing System repository to your local machine.
2. **Database Setup**: Import the SQL file provided in the `database` folder to create tables.
3. **Configure Database Connection**: Update `config.php` in both panels with your database credentials.
4. **Launch the System**: Access the `index.php` file of both the admin and user panels to start using the system.---