HOCO B2B
Team tasksAnis

SRV-50 — Loyalty notifications, dashboard data and rule versioning

Notification events, dashboard aggregates, full history, rule versions and recalculation.

FieldDetails
Task codeSRV-50
PhaseP4 — V2 evolutions
Product scopeV2
StatusPlanned
StartWed 17 Mar 2027
DueThu 18 Mar 2027
ResponsibleAnis — Full-stack developer
Co-responsible—
Effort2 person-day(s) planned · 5 from scratch · size M
Area · appServer · server
Depends onSRV-49, SRV-46
UnblocksDSH-22, QA-04
MilestonesV2 delivered

Summary

Notification events, dashboard aggregates, full history, rule versions and recalculation.

Description

Change request 04 (client loyalty document and letter of 6 Nov 2026), not yet accepted or priced by HOCO. Adds the loyalty notification events and templates, the dashboard aggregates, the combined history, the account views, LoyaltyRuleVersion, previewed recalculations and the nightly ledger reconciliation.

Subtasks

#SubtaskOwner
1Loyalty events and templates of the notification matrixAnis
2Dashboard aggregates and admin.loyalty.dashboardAnis
3loyalty.history and admin.loyalty.accounts.*Anis
4Rule versions, change scope, recalculation preview and runAnis
5loyalty.reconcileLedgers and manual adjustment of qualified purchasesAnis

Deliverables

  • apps/server/src/modules/loyalty/{history,dashboard,recalculation}.service.ts
  • Notification templates seed

Acceptance criteria

  • A rule change states its scope and leaves history intact (LOY-25)
  • Dashboard totals match the ledgers (LOY-24)
  • Web, app and back-office show the same data (LOY-22)
  • Each event of the matrix reaches the right channels under the caps (NOT-18)

Requirements covered

RequirementTitleRelease
LOY-22Full history: separate ledgers, one combined viewV2
LOY-23Back-office administration: every rule without a developer, reseller view, manual adjustmentsV2
LOY-24Programme dashboardV2
LOY-25Rule versioning: new operations only, or recalculationV2
LOY-26Mandatory tests before the programme is deliveredV2
NOT-18Loyalty-driven notifications: double points, new level, missions, gifts, anniversary, objective almost reached, challenge of the monthV2

API surface

Test measures

  • Recalculation preview equals the run
  • Reconciliation job test

KPI

  • Delivered by Thu 18 Mar 2027 within 2 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