HOCO B2B
Team tasksAnis

DSH-20 — V2 — Finance pages (overdue, reminders, exports)

Overdue board, reminder history, credit policy editor, accounting exports.

FieldDetails
Task codeDSH-20
PhaseP4 — V2 evolutions
Product scopeV2
StatusPlanned
StartSun 14 Feb 2027
DueMon 15 Feb 2027
ResponsibleAnis — Full-stack developer
Co-responsible—
Effort1.5 person-day(s) planned · 3 from scratch · size S
Area · appBack-office · dashboard
Depends onSRV-32
Unblocks—
Milestones—

Summary

Overdue board, reminder history, credit policy editor, accounting exports.

Description

The V2 finance pages expose detailed credit and accounting features of SRV-32 (cahier §4.7; FIN-06, FIN-07, FIN-09): the overdue and reminders board (BO-47) with aging buckets, reseller-level drill-down, reminder history and manual reminders, the accounting exports page (BO-48), and the credit policy editor for payment terms and the over-limit policy, including the approval queue for over-limit orders. Out of scope: V1 finance pages (DSH-07).

Subtasks

#SubtaskOwner
1BO-47 overdue board: aging buckets, totals, reseller list with oldest due date, filters by wilaya and delegateAnis
2Reseller drill-down: overdue invoices, reminder history, « Envoyer un rappel »Anis
3Credit policy editor: payment terms per reseller or segment, over-limit policy (blocage / validation)Anis
4Over-limit approval queue with approve/refuse and reasonAnis
5BO-48 accounting exports: period, format, history and downloadsAnis

Deliverables

  • apps/dashboard/src/app/[locale]/(app)/finance/{overdue,exports,credit-policy}/…
  • apps/dashboard/src/features/finance/ (aging chart, reminder history)

Acceptance criteria

  • Aging bucket totals equal the API values for the same filters (FIN-06)
  • A manual reminder appears in the reminder history with channel and time (FIN-07)
  • An accounting export can be generated for a month and downloaded (FIN-09)
  • Only finance roles can open these pages (ACL-04)

Requirements covered

RequirementTitleRelease
FIN-06Detailed credit: payment terms, due dates, automatic blocking or approval when exceededV2
FIN-07Automatic reminders and unpaid alertsV2
FIN-09Accounting exports and financial reportsV2

Screens

ScreenNameApp
BO-47Overdue & remindersBO
BO-48Accounting exportsBO

API surface

Endpoint groupOperations
Finance12

Test measures

  • Playwright e2e: overdue invoice → manual reminder → history
  • Playwright e2e: monthly accounting export

KPI

  • Delivered by Mon 15 Feb 2027 within 1.5 person-day(s).
  • Every acceptance criterion above demonstrated before hand-off; linked requirements' acceptance criteria pass.
  • Zero open critical defects, permission gaps or data-integrity regressions at sign-off.

Generated from content/plan/tasks.json by scripts/generate-team-tasks.mjs. Dates are computed by the scheduler (Sunday–Thursday weeks, holidays excluded) — change the plan, not this page.

On this page