A Point of Sale (POS) system designed to manage sales, customers, and inventory efficiently. This project includes features like inventory management, customer management, holding sales, adding and removing items from the cart, and calculating totals with discounts.
- Inventory management
- Supplier, customers, and staff management
- Add items to cart
- Update item quantities in cart
- Remove items from cart
- Calculate subtotal and total payable amount
- Apply percentage and fixed discounts
- Hold sales for later completion
- Print sales reciept
- Payment management
- Reporting
-
Clone the repository:
git clone https://github.com/your-username/pos-system.git cd pos-system
-
Install dependencies:
composer install npm install
-
Create a copy of the
.env
file:cp .env.example .env
-
Generate application key:
php artisan key:generate
-
Set up the database and configure the
.env
file with your database credentials. -
Run migrations and seed the database:
php artisan migrate --seed
-
Serve the application:
php artisan serve
- Access the application at
http://localhost
. - Log in with the provided credentials or create a new account.
- Navigate through the POS interface to add products, manage cart items, and complete sales.
- Click on a product card to add the item to the cart.
- If the item already exists in the cart, the quantity will be updated.
- Click the red
X
icon next to the item to remove it from the cart.
- Enter a percentage discount or a fixed discount amount in the respective input fields.
- The total payable amount will be updated accordingly.
- Customize the product images, names, and prices in the
products
table. - Configure customer and store information in the respective tables.
We welcome contributions to improve this project! Here are some ways you can help:
- Report bugs and issues
- Suggest new features
- Submit pull requests
- Fork the repository.
- Create a new branch:
git checkout -b feature-name
- Make your changes.
- Commit your changes:
git commit -m 'Add some feature'
- Push to the branch:
git push origin feature-name
- Open a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.