feat(web): finance dashboard + statements + aging UI (#98/#99/#100)#105
Merged
Conversation
Surfaces the M3.5 accounting backend in the admin app (extends existing pages — no new routes). - admin/index.tsx: finance tiles — outstanding dues, collection rate, cash+bank. - admin/reports.tsx: statutory statements (Balance Sheet, I&E with mutual/ taxable split, Receipts & Payments, Trial Balance with balanced badges) each with PDF/Excel/CSV export buttons + a Tally XML export; and an aging section (0-30/31-60/61-90/90+ buckets + per-flat breakdown). - api.ts: getTrialBalance/getIncomeExpenditure/getBalanceSheet/ getReceiptsPayments/getAging + reportExportObjectUrl (auth-fetch downloads). - i18n: ~33 new keys (en + hi, parity test green). - Validated: web check-types, vite build, lint (0 errors), web tests 27 green.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
M3.5 · admin-UI pass (part 1) — finance dashboard, statements, aging
Surfaces the merged M3.5 accounting backend in the admin web app. Extends existing pages (
admin/index.tsx,admin/reports.tsx) — no new routes, no route-tree churn.Dashboard (
admin/index.tsx) — #100Finance tiles: outstanding dues, collection rate, cash + bank (reuses
/reports/finance+/bills/dues).Reports (
admin/reports.tsx) — #98 / #99 / #100Client + i18n
api.ts:getTrialBalance/getIncomeExpenditure/getBalanceSheet/getReceiptsPayments/getAging+reportExportObjectUrl(auth-fetch → object URL → open; browser downloads attachments).Validation
web
check-types✅ ·vite build✅ (route tree regenerated) · lint 0 errors ✅ · web tests 27 green ✅.Remaining UI (follow-up)
Expenses/vendor page (#94, new route), bill-config interest controls + apply-interest (#95), per-flat statement view + mobile
bills.tsx(#96).