Skip to content

Bizwiz Module Guide — Table of Contents

Status: DRAFT TOC for review. Derived from the web app side navigation (bizwiz/resources/views/admin/includes/sidebar_includes/*.blade.php, 19 nav sections). This guide documents how Bizwiz works, module by module — independent of the AI research, but intended as its foundation. Author format: Markdown + Mermaid, layered for dev + non-dev readers.

Per-chapter template (every chapter follows this)

  1. Purpose — plain-language, non-dev readable
  2. Users & roles — who uses it + the permissions that gate it
  3. Processes — each mapped start→finish: trigger → steps/states → screens/routes → outcome
  4. Tables touched & key data — per process
  5. Interactions with other modules — the handoffs in and out
  6. Alternatives & variants — manual vs automated paths, flavor/tenant differences, edge cases
  7. Open questions to confirm — our inferences, flagged for user/dev validation
  8. Source references — files, for devs

Books & Chapters (~30 chapters, 7 books)

Book 1 — Sales & Revenue (from sales_and_receivables, 155 KB — split)

  1. Order Taking & Sales Invoicing
  2. Dispatch & Delivery
  3. POS / Cash Sales
  4. Customer Management
  5. Route Management
  6. Banking & Receivables Reconciliation

Book 2 — Inventory & Stock (from inventory, 111 KB — split)

  1. Item Master & Pricing
  2. Stock Operations (stock takes, breaks, adjustments)
  3. Goods Receiving & Returns (GRN)
  4. Inter-branch Transfers & Internal Requisitions
  5. Warehouse Special Stores — storec + overflow_stores ← investigate first, not assumed dead

Book 3 — Procurement & Suppliers

  1. Purchases & Requisitions (purchases)
  2. Accounts Payable (accounts_payable)
  3. Supplier Portal (supplier_portal)

Book 4 — Finance & Accounting

  1. General Ledger & Journals (general_ledger, split)
  2. Fixed Assets (from general_ledger)
  3. Petty Cash & Expenses (pettycash)

Book 5 — Fleet & Logistics (from fleet, 55 KB — split; + logistics)

  1. Vehicles & Tracking
  2. Fuel Management
  3. Tyre Management
  4. Vehicle Service & Route Compliance
  5. Logistics & Inbound Deliveries (logistics)

Book 6 — HR & Payroll (from hr, 55 KB — split)

  1. Employees & Payroll
  2. Benefits & Deductions
  3. Leave & Attendance
  4. Sacco

Book 7 — Platform & Admin

  1. System Administration — users, roles, permissions, settings (system_administration)
  2. CRM (crm)
  3. Help Desk (help_desk)
  4. Communication Centre (communication_centre)

Placeholders (listed, no deep dive) → 08_placeholders.md ✅

  • Manufacturing & Production (manufacturing_and_production) — feature-flagged ACTIVATE_MANUFACTURING_MODULE; built, gated off, deferred
  • Laboratory (laboratory) — feature-flagged ACTIVATE_LABORATORY_MODULE; built, gated off, deferred

Cross-cutting deliverables (produced after chapters)

  • Cross-module handoff map → 09_cross_module_handoff_map.md ✅ — end-to-end stitch across all 7 books (money-in, procure-to-pay, fleet, payroll → the shared wa_gl_trans / wa_stock_moves spines, wrapped by the Book 7 control plane); carries the one still-open cross-book loop (driver-incentive earnings → payslip)
  • Book indexes — one per book (00_bookN_index.md), each an index + reading guide + consolidated open questions

Status: COMPLETE ✅

All 30 chapters (7 books) + 7 book indexes + placeholders + cross-module handoff map are written and on disk. The guide now pivots to the AI-leverage research phase it was built to found.


Flags carried over from nav scout (to resolve during deep dives)

  • Disabled in nav: Budgeting, Cash Management (opacity/disabled CSS in general_ledger)
  • Legacy report sets: reports_olddd/*, commented-out salesman invoice / order-taking blocks in sales_and_receivables
  • Feature-flag / setting-gated visibility: SHOW_ROUTE_INTEGRATION_CODES, REQUIRE_APPROVAL_FOR_ROUTE_CUSTOMER_DEACTIVATION, SHOP_ONBOARDING_PHONE_REQUIRED, activate-subbins, enable-additional-cost-price-list-module, identify-sales-orders-from-normal-orders, allow-backend-invoice-order-taking

Proposed fan-out order (for early validation)

  1. Book 1 — Sales & Revenue (core + largest; validate early)
  2. Book 2 — Inventory & Stock (incl. storec/overflow investigation)
  3. Book 3 — Procurement & Suppliers
  4. Book 4 — Finance & Accounting
  5. Book 5 — Fleet & Logistics
  6. Book 6 — HR & Payroll
  7. Book 7 — Platform & Admin
  8. Placeholders + cross-cutting handoff map