Item Description
# Salnazi POS | Professional Point of Sale System
A modern, high-performance Point of Sale system built with **PHP**, **MySQL**, and **Material Design 3 (M3)** principles. This system features a sleek "Glassmorphism" interface, real-time inventory tracking, and a dedicated thermal receipt printing module.
## 🚀 Key Features
* **Glassmorphism UI:** Built using a custom Material Design 3 framework with soft elevation, high-density 32px corners, and transparent blurred containers.
* **Rupee Currency (₹) Integration:** Fully localized for Indian business standards, including GST calculation and Rupee-formatted receipts.
* **Dual-Zone Scan/Check-in:** A professional `scan_checkin.php` page featuring:
* 50/50 vertical split layout.
* Hardware scanning zone (light grey zone) and manual software zone.
* Vertically shallow design to fit tablet screens without scrolling.
* "Guest Verified" card animation upon successful scan.
* **Thermal Receipt Printing:** Optimized for 80mm/58mm printers with dynamic headers (Company Name, Address) pulled directly from system settings.
* **Inventory Management:** Real-time stock alerts (Red highlighting for low stock) and product diversity tracking.
---
## 🛠️ Tech Stack
* **Backend:** PHP 8.x
* **Database:** MySQL (InnoDB)
* **Frontend:** Bootstrap 5, Material Design 3 (M3) Logic, Google Material Icons
* **Styling:** Custom CSS for Glassmorphism & Thermal Layouts
---
## 📂 Database Architecture
The system uses a prefixed table structure defined in `db_connect.php`. Below is the primary schema layout:
| Table | Description |
| :--- | :--- |
| `_sales` | Master table for transactions (Grand Totals, Tax). |
| `_items` | Line items for each sale linked via `sale_id`. |
| `_products` | Inventory catalog with pricing and stock levels. |
| `_settings` | Global configuration (Company Name, Address, Tax %). |
| `_users` | User management with role-based access (Admin/Biller). |
---
## ⚙️ Installation & Setup
1. **Clone the Repository:**
2. **Database Connection:**
Configure your credentials in `db_connect.php`.
3. **Initialization:**
Run `db_setup.php` in your browser. This will:
* Drop existing tables (**Clean Reset**).
* Create the schema with the defined prefix.
* Seed default products and an admin account (`admin` / `admin`).
4. **Hardware Prep:**
Ensure your thermal printer is set as the default system printer for the `print_receipt.php` auto-print feature to work seamlessly.
---
## 📸 Interface Preview
* **Dashboard:** Real-time revenue cards with trending indicators and Rupee formatting.
* **Inventory:** High-density tables with action modals for adding and deleting products.
* **Check-in:** Interactive 50/50 split screen with a locked manual input width (280px) and high-density corners.
---
## 📄 License
This project is developed for internal business use. All UI components are optimized for **Salnazi POS** branding.
Support : salnazi@gmail.com
A modern, high-performance Point of Sale system built with **PHP**, **MySQL**, and **Material Design 3 (M3)** principles. This system features a sleek "Glassmorphism" interface, real-time inventory tracking, and a dedicated thermal receipt printing module.
## 🚀 Key Features
* **Glassmorphism UI:** Built using a custom Material Design 3 framework with soft elevation, high-density 32px corners, and transparent blurred containers.
* **Rupee Currency (₹) Integration:** Fully localized for Indian business standards, including GST calculation and Rupee-formatted receipts.
* **Dual-Zone Scan/Check-in:** A professional `scan_checkin.php` page featuring:
* 50/50 vertical split layout.
* Hardware scanning zone (light grey zone) and manual software zone.
* Vertically shallow design to fit tablet screens without scrolling.
* "Guest Verified" card animation upon successful scan.
* **Thermal Receipt Printing:** Optimized for 80mm/58mm printers with dynamic headers (Company Name, Address) pulled directly from system settings.
* **Inventory Management:** Real-time stock alerts (Red highlighting for low stock) and product diversity tracking.
---
## 🛠️ Tech Stack
* **Backend:** PHP 8.x
* **Database:** MySQL (InnoDB)
* **Frontend:** Bootstrap 5, Material Design 3 (M3) Logic, Google Material Icons
* **Styling:** Custom CSS for Glassmorphism & Thermal Layouts
---
## 📂 Database Architecture
The system uses a prefixed table structure defined in `db_connect.php`. Below is the primary schema layout:
| Table | Description |
| :--- | :--- |
| `_sales` | Master table for transactions (Grand Totals, Tax). |
| `_items` | Line items for each sale linked via `sale_id`. |
| `_products` | Inventory catalog with pricing and stock levels. |
| `_settings` | Global configuration (Company Name, Address, Tax %). |
| `_users` | User management with role-based access (Admin/Biller). |
---
## ⚙️ Installation & Setup
1. **Clone the Repository:**
2. **Database Connection:**
Configure your credentials in `db_connect.php`.
3. **Initialization:**
Run `db_setup.php` in your browser. This will:
* Drop existing tables (**Clean Reset**).
* Create the schema with the defined prefix.
* Seed default products and an admin account (`admin` / `admin`).
4. **Hardware Prep:**
Ensure your thermal printer is set as the default system printer for the `print_receipt.php` auto-print feature to work seamlessly.
---
## 📸 Interface Preview
* **Dashboard:** Real-time revenue cards with trending indicators and Rupee formatting.
* **Inventory:** High-density tables with action modals for adding and deleting products.
* **Check-in:** Interactive 50/50 split screen with a locked manual input width (280px) and high-density corners.
---
## 📄 License
This project is developed for internal business use. All UI components are optimized for **Salnazi POS** branding.
Support : salnazi@gmail.com
Item Description
# Salnazi POS | Professional Point of Sale System
A modern, high-performance Point of Sale system built with **PHP**, **MySQL**, and **Material Design 3 (M3)** principles. This system features a sleek "Glassmorphism" interface, real-time inventory tracking, and a dedicated thermal receipt printing module.
## 🚀 Key Features
* **Glassmorphism UI:** Built using a custom Material Design 3 framework with soft elevation, high-density 32px corners, and transparent blurred containers.
* **Rupee Currency (₹) Integration:** Fully localized for Indian business standards, including GST calculation and Rupee-formatted receipts.
* **Dual-Zone Scan/Check-in:** A professional `scan_checkin.php` page featuring:
* 50/50 vertical split layout.
* Hardware scanning zone (light grey zone) and manual software zone.
* Vertically shallow design to fit tablet screens without scrolling.
* "Guest Verified" card animation upon successful scan.
* **Thermal Receipt Printing:** Optimized for 80mm/58mm printers with dynamic headers (Company Name, Address) pulled directly from system settings.
* **Inventory Management:** Real-time stock alerts (Red highlighting for low stock) and product diversity tracking.
---
## 🛠️ Tech Stack
* **Backend:** PHP 8.x
* **Database:** MySQL (InnoDB)
* **Frontend:** Bootstrap 5, Material Design 3 (M3) Logic, Google Material Icons
* **Styling:** Custom CSS for Glassmorphism & Thermal Layouts
---
## 📂 Database Architecture
The system uses a prefixed table structure defined in `db_connect.php`. Below is the primary schema layout:
| Table | Description |
| :--- | :--- |
| `_sales` | Master table for transactions (Grand Totals, Tax). |
| `_items` | Line items for each sale linked via `sale_id`. |
| `_products` | Inventory catalog with pricing and stock levels. |
| `_settings` | Global configuration (Company Name, Address, Tax %). |
| `_users` | User management with role-based access (Admin/Biller). |
---
## ⚙️ Installation & Setup
1. **Clone the Repository:**
2. **Database Connection:**
Configure your credentials in `db_connect.php`.
3. **Initialization:**
Run `db_setup.php` in your browser. This will:
* Drop existing tables (**Clean Reset**).
* Create the schema with the defined prefix.
* Seed default products and an admin account (`admin` / `admin`).
4. **Hardware Prep:**
Ensure your thermal printer is set as the default system printer for the `print_receipt.php` auto-print feature to work seamlessly.
---
## 📸 Interface Preview
* **Dashboard:** Real-time revenue cards with trending indicators and Rupee formatting.
* **Inventory:** High-density tables with action modals for adding and deleting products.
* **Check-in:** Interactive 50/50 split screen with a locked manual input width (280px) and high-density corners.
---
## 📄 License
This project is developed for internal business use. All UI components are optimized for **Salnazi POS** branding.
Support : salnazi@gmail.com
A modern, high-performance Point of Sale system built with **PHP**, **MySQL**, and **Material Design 3 (M3)** principles. This system features a sleek "Glassmorphism" interface, real-time inventory tracking, and a dedicated thermal receipt printing module.
## 🚀 Key Features
* **Glassmorphism UI:** Built using a custom Material Design 3 framework with soft elevation, high-density 32px corners, and transparent blurred containers.
* **Rupee Currency (₹) Integration:** Fully localized for Indian business standards, including GST calculation and Rupee-formatted receipts.
* **Dual-Zone Scan/Check-in:** A professional `scan_checkin.php` page featuring:
* 50/50 vertical split layout.
* Hardware scanning zone (light grey zone) and manual software zone.
* Vertically shallow design to fit tablet screens without scrolling.
* "Guest Verified" card animation upon successful scan.
* **Thermal Receipt Printing:** Optimized for 80mm/58mm printers with dynamic headers (Company Name, Address) pulled directly from system settings.
* **Inventory Management:** Real-time stock alerts (Red highlighting for low stock) and product diversity tracking.
---
## 🛠️ Tech Stack
* **Backend:** PHP 8.x
* **Database:** MySQL (InnoDB)
* **Frontend:** Bootstrap 5, Material Design 3 (M3) Logic, Google Material Icons
* **Styling:** Custom CSS for Glassmorphism & Thermal Layouts
---
## 📂 Database Architecture
The system uses a prefixed table structure defined in `db_connect.php`. Below is the primary schema layout:
| Table | Description |
| :--- | :--- |
| `_sales` | Master table for transactions (Grand Totals, Tax). |
| `_items` | Line items for each sale linked via `sale_id`. |
| `_products` | Inventory catalog with pricing and stock levels. |
| `_settings` | Global configuration (Company Name, Address, Tax %). |
| `_users` | User management with role-based access (Admin/Biller). |
---
## ⚙️ Installation & Setup
1. **Clone the Repository:**
2. **Database Connection:**
Configure your credentials in `db_connect.php`.
3. **Initialization:**
Run `db_setup.php` in your browser. This will:
* Drop existing tables (**Clean Reset**).
* Create the schema with the defined prefix.
* Seed default products and an admin account (`admin` / `admin`).
4. **Hardware Prep:**
Ensure your thermal printer is set as the default system printer for the `print_receipt.php` auto-print feature to work seamlessly.
---
## 📸 Interface Preview
* **Dashboard:** Real-time revenue cards with trending indicators and Rupee formatting.
* **Inventory:** High-density tables with action modals for adding and deleting products.
* **Check-in:** Interactive 50/50 split screen with a locked manual input width (280px) and high-density corners.
---
## 📄 License
This project is developed for internal business use. All UI components are optimized for **Salnazi POS** branding.
Support : salnazi@gmail.com