Project: Simple Point of Sale System in PHP with source code
About Project
Simple Point of Sale System is developed using PHP, CSS, and JavaScript. Talking about the project, it contains an admin side from where a user can view all the information easily. From the admin panel, he/she can maintain cash, credit, sales report, customers, products, suppliers etc. The Admin plays an important role in the management of this system. In this project, the user has to perform all the main functions from the Admin side.
About System
In order to save cash records, the user simply has to select a product and enter its quantity with the discount amount. The same applies in maintaining credit record too. The admin can view sales report, collection report, and account receivable report. He/she can simply enter a customer’ account for customer ledger. To add products, the user has to provide product code, name, cost, price, supplier and quantity.
Other features are about adding customers, suppliers and purchases. While adding customers the user has to provide customer’s name, address, contact and membership number. And to add supplier’s information, he/she should provide supplier’s name, contact person, address and contact number. The last feature of this simple POS system is about purchases which can be added by providing date, invoice number, supplier and remarks.
Design of this project is pretty simple so that the user won’t find any difficulties while working on it. Simple Point of Sale System in PHP helps in easy management of product sale records. To run this project you must have installed virtual server i.e XAMPP on your PC (for Windows). Simple Point of Sale System in PHP with source code is free to download, Use for educational purposes only! For the project demo, have a look at the image slider below.
Features:
- Login system
- Sales Report
- Collection report
- Accounts receivable report
- Customer Ledger
- CRUD Customers, Product, Suppliers
- Manage Purchases, Cash and Credit
How To Run??
After Starting Apache and MySQL in XAMPP, follow the following steps
1st Step: Extract file
2nd Step: Copy the main project folder
3rd Step: Paste in xampp/htdocs/
Now Connecting Database
4th Step: Open a browser and go to URL “http://localhost/phpmyadmin/”
5th Step: Then, click on the databases tab
6th Step: Create a database naming “
7th Step: Click on browse file and select “salespos.sql” file which is inside “DATABASE” folder
8th Step: Click on go.
After Creating Database,
9th Step: Open a browser and go to URL “http://localhost/posphp/”
Provide the username and password which is provided inside the “Readme.txt” file.
error unable to select database
error unable to select database
I am getting this error when I log in. Fatal error: Uncaught Error: Call to undefined function mysql_connect() in C:\xampp\htdocs\POSphp\login.php:12 Stack trace: #0 {main} thrown in C:\xampp\htdocs\POSphp\login.php on line 12