Table of Contents
Project: Sales and Inventory Management System in PHP CodeIgniter and MySQL with Source Code
About Sales and Inventory Management System
This is a Sales and Inventory Management System project developed using CodeIgniter PHP Framework and MDB Bootstrap Template. This project aims to help a particular company manage its sales transactions and stock monitoring. The system stores the product data and relevant information to collect the stocks and sales transactions such as the supplier list, customer list, price list, etc. The system can also create a Purchase Order and received a purchased product to update the stock quantity. Talking about the system’s price management, the system administrator can modify each product’s prices dynamically and has an effective date. This system also generates a simple report for the sales and purchases.
Related Projects: Computer Sales and Inventory System in PHP MySQL, Grocery Sales and Inventory System in PHP MySQL
Features of Sales and Inventory Management System
The Sales and Inventory Management System is packed with features that are essential for effective inventory management. Here are some of the standout functionalities:
- User Authentication: Secure login/logout feature to protect sensitive data.
- Dashboard Overview: A dynamic dashboard providing an overview of monthly sales statistics and summaries.
- Supplier Management: Efficient management of supplier information and their associated products.
- Customer Management: Maintain a detailed list of customers and their transaction histories.
- Product Management: Manage product details, including specifications, pricing, and stock levels.
- Purchasing and Receiving Management: Create and manage purchase orders, and track received products.
- Inventory Management: Monitor stock levels and update as sales and purchases occur.
- Price Management: Dynamic adjustment of product prices with the option to set effective dates.
- Salesman Management: Track individual sales performance by managing salesman accounts.
- Reporting Features: Generate detailed sales and purchases reports, aiding in business analytics.
System Architecture and Technologies Used
The Sales and Inventory Management System is built on a powerful tech stack to ensure efficient performance and scalability. Below is a breakdown of the technologies utilized in its development:
- Framework: CodeIgniter, a PHP framework noted for its speed and flexibility.
- Database: MySQL, providing a robust relational database for data storage and retrieval.
- Frontend Technologies:
- Bootstrap: For responsive design that ensures usability across devices.
- JavaScript, jQuery, and AJAX: Enhance interactivity and user experience.
Screenshots
The user interface of the Sales and Inventory Management System is designed with the user in mind. It is sleek, intuitive, and responsive. Below are some screenshots demonstrating the various modules within the application:
- Login Screen: Secure access point for users.
- Dashboard: Visual representation of current sales statistics.
- Product Management Page: Interface for adding and modifying product information.
- Sales Report Page: Detailed report generation based on various filters.
Sales and Inventory Management System Flowchart
- Login: Users start by entering their credentials, and the system identifies their role as either Admin (Manager) or Cashier.
- Admin Dashboard: If the user is an Admin, they can manage products, inventory, and generate reports.
- Manage Products: Allows Admins to add or update product details.
- Manage Inventory: Admins can adjust stock by adding or removing items.
- Generate Reports: Admins can create sales and purchase reports.
- Cashier Dashboard: If the user is a Cashier, they process sales transactions.
- Process Sales: Cashiers handle customer sales and record transactions.
Sales and Inventory Management System ER Diagram
- Admin (Manager):
- Handles all purchase transactions, linking them to Suppliers and managing product restocking.
- Each Purchase involves multiple items, represented by the PURCHASE_ITEM entity, which tracks the Product and quantity procured.
- Cashier:
- Records sales transactions linked to Customers through the SALES entity. Each sale can contain multiple PRODUCTS, tracked through SALES_ITEM.
- Product:
- The Product entity connects to both SALES_ITEM and PURCHASE_ITEM, ensuring that the inventory accurately reflects both sales and purchases.
- Customer & Supplier:
- Customers place orders, while Suppliers fulfill purchase requests. Each entity interacts with SALES and PURCHASE, respectively.
This diagram reflects real-world interconnectivity in inventory management, where each entity has meaningful relationships with others.
Installation and Running the System
Above all, to run this project you must have installed a virtual server i.e XAMPP on your PC. Sales and Inventory Management System in PHP and MySQL with source code is free to download, Use for educational purposes only!
Follow the following steps after Starting Apache and MySQL in XAMPP:
1st Step: Firstly, Extract the file
2nd Step: After that, Copy the main project folder
3rd Step: So, you need to Paste in xampp/htdocs/
Further, Now Connecting Database
4th Step: So, for now, Open a browser and go to URL “http://localhost/phpmyadmin/”
5th Step: After that, Click on the databases tab
6th Step: So, Create a database naming “sims_db” and then click on the import tab
7th Step: Certainly, Click on browse file and select “sims_db.sql” file which is inside the “db” folder
8th Step: Meanwhile, click on Go button.
After Creating Database,
9th Step: Moreover, Open a browser and go to URL “http://localhost/sims”
**LOGIN DETAILS**
Admin
Username: admin
Password: admin123
Following these steps will set up the system for use on your local environment.
Conclusion
The Sales and Inventory Management System provides a complete solution for businesses looking to automate their inventory and sales tracking. With a user-friendly interface and real-time reporting, businesses can optimize their operational efficiency, reduce stock wastage, and improve overall sales performance.
Free Download Sales and Inventory Management System
Download Here
Codacamps@
If anyone wants this or other point of sale just Whatsapp me in reasonable price
+923071475693
You have removed the waterwark for this open-source application. This will result to delete the application directory of the source code but dont worry your changes our saved as compressed file inside the fbup directory
Fatal error: Uncaught Error: Call to undefined function each() in C:\xampp\htdocs\sims\system\core\crazy_loader.php:27 Stack trace: #0 C:\xampp\htdocs\sims\index.php(317): include() #1 {main} thrown in C:\xampp\htdocs\sims\system\core\crazy_loader.php on line 27
Every time I try to the existing admin I cant login
Hello,
I have this error when try installing program :
Severity: 8192
Message: Creation of dynamic property CI_URI::$config is deprecated
Filename: core/URI.php
Line Number: 101
Backtrace:
File: C:\xampp\htdocs\index.php
Line: 320
Function: require_once
can you help me how to fixing this issue ?
thank you
Error :
A PHP Error was encountered
Severity: 8192
Message: Creation of dynamic property CI_URI::$config is deprecated
Filename: core/URI.php
Line Number: 101
Backtrace:
File: C:\xampp\htdocs\index.php
Line: 320
Function: require_once
A PHP Error was encountered
Severity: 8192
Message: Creation of dynamic property CI_Router::$uri is deprecated
Filename: core/Router.php
Line Number: 127
Backtrace:
File: C:\xampp\htdocs\index.php
Line: 320
Function: require_once
Fatal error: Uncaught Error: Call to undefined function each() in C:\xampp\htdocs\sims\system\core\crazy_loader.php:27 Stack trace: #0 C:\xampp\htdocs\sims\index.php(317): include() #1 {main} thrown in C:\xampp\htdocs\sims\system\core\crazy_loader.php on line 27
i have the same problem, folder path error ? is there something i am doing wrong ?
Severity: 8192
Message: strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior
Filename: MX/Router.php
Line Number: 239
Backtrace:
File: C:\xampp\htdocs\sales-inventory-ci\application\third_party\MX\Router.php
Line: 239
Function: strpos
File: C:\xampp\htdocs\sales-inventory-ci\application\third_party\MX\Router.php
Line: 72
Function: set_class
File: C:\xampp\htdocs\sales-inventory-ci\index.php
Line: 315
Function: require_once
//help me with this one sir pls thank you
I too receive same error sir. Please help me.
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator at wampserver@wampserver.invalid to inform them of the time this error occurred, and the actions you performed just before this error.
More information about this error may be available in the server error log.
Apache/2.4.46 (Win32) PHP/7.3.21 Server at localhost Port 80
hello friend can you help me?
when I login, loading Not complete properly and when i try to reload the page i received this error,
Your application folder path does not appear to be set correctly. Please open the following file and correct this: index.php
hello friend can you help me?
when I login, loading Not complete properly and when i try to reload the page i received this error,
Your application folder path does not appear to be set correctly. Please open the following file and correct this: index.php
Error
SQL query:
— ——————————————————–
—
— Table structure for table `products`
—
CREATE TABLE `products` (
`id` int(30) NOT NULL,
`sku` varchar(15) NOT NULL,
`name` text NOT NULL,
`description` text NOT NULL,
`unit` varchar(50) NOT NULL,
`convert_qty` int(10) NOT NULL,
`is_bulk` tinyint(1) NOT NULL DEFAULT 0 COMMENT ‘0 = no , 1= Yes’,
`convert_unit` varchar(50) NOT NULL,
`parent_id` int(30) NOT NULL,
`status` tinyint(1) NOT NULL DEFAULT 1,
`date_created` date NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4
MySQL said: Documentation
#1067 – Invalid default value for ‘date_created’
please help me with this error… thanks
Run this on php version 7.30 not 8.0+
I too receive same error sir. Please help me.
Same Problem With Me