Modern Grocery POS & Retail ERP System / Elegant Finds | Portfolio Project | Anuradha Herath
Featured Project
Modern Grocery POS & Retail ERP System / Elegant Finds
A comprehensive enterprise Point of Sale (POS) and Retail Enterprise Resource Planning (ERP) platform built with Laravel 12 and Tailwind CSS. Features real-time POS cashier workflows, fault-tolerant cart persistence, double-entry accounting, inventory batching, and automated payroll management.
About this Project
Background & Goals
Retail grocery operations require high-speed transaction handling, strict inventory tracking, fault-tolerant cashier terminals, and comprehensive financial accountability. This project was engineered to deliver an end-to-end POS and business management ecosystem capable of handling high-frequency checkout operations while maintaining real-time auditability across inventory, financial ledgers, and staff operations.
Key Features & User Flows
Fault-Tolerant POS Terminal: Lightning-fast cashier interface with barcode scanning, custom item pricing, customer selection, instant discount & voucher application, and receipt generation. Includes a 3-tier real-time activity logger with browser localStorage state recovery to ensure zero data loss during page reloads or network hiccups.
Inventory & Batch Tracking: Complete inventory control featuring damaged item batch management, low-stock alerts, supplier purchase order tracking, shipment imports (CSV), and automated barcode label rendering.
Double-Entry Accounting System: Chart of Accounts, Journal Entries, Bank Reconciliation, automated POS transaction imports, and financial statements (Profit & Loss, Balance Sheet, Cash Flow).
HR & Payroll Management: Employee attendance tracking, leave request approval workflows, salary advances, and automated payslip compilation with secure public share links.
Real-Time Executive & Live Dashboards: Standalone live operational dashboard monitoring active cashiers, recent sales streams, shift closures, and store performance indicators.
Architecture & Design Decisions
Backend Framework: Built on Laravel 12 utilizing robust PSR-4 architecture, granular Role-Based Access Control (RBAC) via custom page-access middleware, and secure signed URLs for external receipt and payslip sharing.
Frontend & Styling: Integrated with Vite and modern Tailwind CSS v4, utilizing dynamic JavaScript modules for real-time DOM updates and non-invasive wrapper integrations for cashier activity logging.
Data Integrity & Exporting: Integrated phpoffice/phpspreadsheet for CSV/Excel data migrations, barryvdh/laravel-dompdf for printable PDF invoices and payslips, and picqer/php-barcode-generator for inline product barcode label generation.
Challenges Solved
Cart Data Loss & Suspicious Action Detection: Engineered a client-server real-time activity logging system (POSActivityLogger) that automatically snapshots cart states every 30 seconds and logs granular actions (item additions, removals, clear cart events, tab visibility changes). Prevents data loss upon browser crash/refresh while logging audit trails to flag suspicious cashier actions.
Unified Accounting Automation: Designed automatic journal entry generation mapping daily POS sales, payment types, supplier credits, and expense vouchers into double-entry accounting ledgers without manual bookkeeping overhead.