A lightning-fast Point of Sale system for South African spaza shops. Complete sales in seconds with instant product search, barcode scanning, automatic stock updates, cash/card/EFT payments, powerful reports, and cash management. Built with PHP, MySQL, Bootstrap 5.
# Spaza Shop POS System
## 🏪 Project Overview
A complete, production-ready Point of Sale (POS) system built specifically for South African spaza shops and small retail businesses. This system is designed for speed, simplicity, and accuracy, allowing cashiers to complete sales in seconds while providing shop owners with powerful reporting and inventory management tools.
## 🎯 Key Features
### 💨 Lightning-Fast POS
- **Instant Product Search** - Type and find products immediately with AJAX
- **One-Click Add to Cart** - No typing prices, everything comes from the database
- **Category Buttons** - Quick access to products by category
- **Barcode Scanner Support** - Scan barcodes to add products instantly
- **Keyboard Friendly** - Complete sales without touching the mouse
### 💰 Smart Payment System
- **Cash Payments** - Automatic change calculation
- **Card Payments** - No change calculation needed
- **EFT Payments** - Digital payment tracking
- **Split Payments** - Mix cash, card, and EFT in one transaction
- **Real-time Validation** - Prevents sales with insufficient payment
### 📦 Stock Management
- **Automatic Stock Deduction** - Stock updates in real-time
- **Low Stock Alerts** - Visual warnings when stock is low
- **Stock Movement History** - Complete audit trail
- **Flexible Items** - Support for airtime, electricity, vouchers with variable pricing
### 💵 Cash Management
- **Add Money In** - Track deposits and opening cash
- **Take Money Out** - Record withdrawals for restocking, expenses, wages
- **Cash Balance Tracking** - Real-time cash position
- **Transaction History** - Complete audit trail of all cash movements
### 📊 Powerful Reports
- **Sales Reports** - Filter by date, category, product, payment method
- **Category Reports** - Revenue, cost, and profit per category
- **Category Deductions** - Track expenses taken from specific categories
- **Profit Analysis** - Cost vs Revenue vs Profit calculations
- **Historical Pricing** - Prices are stored at time …