Project

Anabia Traders

Next.jsReactTypeScriptTailwind CSSNode.jsPostgreSQLPrismaCloudinary
Anabia Traders

About this project

  • Distribution Management System is a complete distribution ERP built for real-world business workflows — from stock intake to final delivery, every step of the pipeline is automated. Each module feeds into the next, creating one seamless workflow instead of a set of disconnected tools.
  • Inventory Management
    • Dynamic Categories & Units: Organize products with custom categories and units of measure, structured exactly how the business operates.
    • Dual Pricing: Maintain separate purchase and selling prices per product with margin visibility at a glance.
    • Current vs. Available Stock: Track physical stock separately from allocated stock so quantities never get double-counted.
    • Low Stock Alerts: Threshold-based alerts surface products at risk of stocking out before sales are affected.
    • Image Uploads via Cloudinary: Product imagery is uploaded and transformed through Cloudinary to keep the catalog visual.
  • Orders & Fulfillment
    • Smart Order Creation: Create orders for shops with automatic stock allocation reserved at the moment of confirmation.
    • Price Validation: Warnings prevent selling below purchase price, protecting margins at data entry rather than after the fact.
    • Differential Recalculation: Editing a confirmed order automatically recalculates the difference and re-syncs stock and ledger.
    • POS Receipt Printing: Print instant point-of-sale receipts for both admin and counter use.
  • Shop Ledger & Collections
    • Area-Based Zoning: Organize distribution zones by area, then attach shops to their zone for cleaner routing.
    • Live Account Balance: Every shop carries a running balance of total dues, historical orders, and collections.
    • Flexible Payment Recording: Record payments against a specific order or directly against a shop ledger.
    • Bulk Payments: Settle multiple unpaid orders in one action to make field collection runs fast.
  • Delivery & Returns
    • Full Lifecycle Tracking: Orders move through PENDING → READY → OUT FOR DELIVERY → DELIVERED.
    • Status Change Log: Every transition is recorded, giving a clear accountability trail for disputes.
    • Instant Returns: Processing a return restores inventory and credits the shop ledger in the same transaction.
  • Reports & Analytics
    • Order Reports: Filterable order history per shop, per area, and per date range.
    • Daily Stock Reports: Movement-based stock summaries for end-of-day reconciliation.
    • Daily Profit Analysis: Automated profit reporting derived from purchase cost versus selling revenue.
    • PDF & CSV Export: Export any report for audits, accountant handover, or further analysis in a spreadsheet.
  • Dashboard & Data Integrity
    • 8 Key Metrics at a Glance: Total orders, today's collections, outstanding dues, and low stock alerts in one view.
    • Live Revenue Tracking: Revenue and collection performance update as transactions are posted.
    • ACID Transactions: Order creation, stock allocation, and ledger updates commit atomically, so a failure mid-flow can never leave stock and dues out of sync.