Skip to content

feat(web): expenses & vendor management UI (#94)#106

Merged
ankitsejwal merged 1 commit into
mainfrom
feat/m3.5-expenses-ui
Jul 16, 2026
Merged

feat(web): expenses & vendor management UI (#94)#106
ankitsejwal merged 1 commit into
mainfrom
feat/m3.5-expenses-ui

Conversation

@ankitsejwal

Copy link
Copy Markdown
Member

M3.5 · admin-UI pass (part 2) — expenses & vendors (#94)

New /admin/expenses screen surfacing the expense / vendor / TDS backend (PR #98).

  • Vendors: add + list (name, PAN, GSTIN).
  • Expense entry: EXPENSE-head dropdown (from the chart of accounts), optional GST, optional TDS (194C/J/I section + rate), PAID/PAYABLE status, optional vendor. Mark paid settles a payable. A one-click Initialize accounts appears when the CoA hasn't been seeded.
  • TDS summary table (per-section totals, Form-26Q prep).
  • api.ts: vendor/expense/TDS + ledger (listAccounts, initLedger) client methods.
  • Nav entry (Wallet icon) + ~28 i18n keys (en + hi).

Validation

shared build ✅ · web check-types (route tree regenerated by vite build) ✅ · i18n-parity ✅ · lint 0 errors ✅.

routeTree.gen.ts is gitignored; CI regenerates it in the Build step before type-check. Visual QA needs the app running against a migrated DB with POST /ledger/init run.

New /admin/expenses admin screen surfacing the expense/vendor/TDS backend.

- Vendor management (add + list).
- Expense entry: EXPENSE-head dropdown (from chart of accounts), optional GST,
  optional TDS (194C/J/I section + rate), PAID/PAYABLE status, vendor; "Mark
  paid" to settle a payable; a one-click "Initialize accounts" when the CoA
  isn't seeded yet.
- TDS summary table (per-section totals).
- api.ts: vendor/expense/TDS + ledger (listAccounts, initLedger) client methods.
- Nav entry + ~28 i18n keys (en + hi, parity green).
- Validated: shared build, web check-types (route tree regenerated by vite
  build), i18n-parity, lint 0 errors.
@ankitsejwal
ankitsejwal merged commit 0dc518a into main Jul 16, 2026
1 check passed
@ankitsejwal
ankitsejwal deleted the feat/m3.5-expenses-ui branch July 16, 2026 14:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant