A Laravel-based web portal for managing mobile phone sales, supporting multiple user roles: Cashiers, Admins, and Super Admins.
- 📱 Sell and manage mobile phones
- 👥 Role-based access control (Cashier, Admin, Super Admin)
- 📦 Inventory management
- 🧾 Invoice generation and printing
- 🛠️ Warranty claim handling
- 📊 Comprehensive reporting system
- 🔐 Secure authentication & authorization
- ⚙️ Admin and Super Admin dashboards with full control
-
Login
- Simple login using Email & Password.
-
Dashboard
- Displays shop name and number of products.
-
Inventory Management
- Add, view, search, edit, and delete products.
- View detailed product information.
-
Point of Sale (POS)
- View/search products, add custom price and quantity.
- Capture customer details, apply discount.
- Save and print invoice.
-
Invoices
- Total sales (this month & overall).
- Search, view, and print all invoices.
-
Warranty
- Search invoice by ID and validate warranty.
- Add claim (quantity cannot exceed purchase qty, within warranty period).
- Save and print claim invoice.
-
Claims
- Search claims by ID and view all claims.
-
Login
-
Dashboard
- Displays total number of shops under the admin.
-
Shops Management
- View, search, edit (name/email/password/access).
- View shop-specific inventory, sales, and warranty claims.
- Delete shop.
-
Reports
- Generate and download Sales, Warranty, Inventory, Revenue, and Discount reports.
- Filter by shop (all or selected), start date, and end date.
-
Login
-
Dashboard
- Overview of number of admins and shops.
-
Admins Management
- Add, edit (name, email, access), change password.
- Search and delete admins.
-
Shops Management
- Add, edit (name, email, password, access).
- Assign admins to shops.
- View assigned admins.
- View specific shop’s inventory, sales, and claims.
- Delete and search shops.
-
Reports
- Generate and download (Excel) Sales, Warranty, Inventory, Revenue, and Discount reports.
- Filterable by shop(s), start and end dates.
⚠️ Note: If a shop’s access is blocked by either Admin or Super Admin, the shop cannot log in.
- Backend: Laravel (PHP)
- Frontend: Blade (Laravel Templating Engine)
- Database: MySQL
- Clone the repository
git clone https://github.com/affan-ch/Mobile-Shop-POS.git
cd mobile-shop-pos- Install dependencies
composer install
npm install && npm run dev- Set up environment file
cp .env.example .env
php artisan key:generate-
Configure database Update your
.envfile with DB credentials. -
Run migrations
php artisan migrate- Start the server
php artisan serve| Role | Description |
|---|---|
| Cashier | Handles inventory, POS, invoices, warranty & claims |
| Admin | Manages shops, inventory, sales, and report generation |
| Super Admin | Full system control: admins, shops, access, and reporting |
This project is licensed under the MIT License.
Feel free to contribute or customize it to suit your mobile shop’s specific needs!