HOCO B2B
Team tasksAnis

DSH-22 — Rules, levels and campaigns pages

Back-office pages for earning rules, cashback, levels, campaigns and rule versions.

FieldDetails
Task codeDSH-22
PhaseP4 — V2 evolutions
Product scopeV2
StatusPlanned
StartSun 21 Mar 2027
DueTue 23 Mar 2027
ResponsibleAnis — Full-stack developer
Co-responsible—
Effort2.5 person-day(s) planned · 5 from scratch · size M
Area · appBack-office · dashboard
Depends onDSH-21, SRV-50, DES-31
UnblocksDSH-23
Milestones—

Summary

Back-office pages for earning rules, cashback, levels, campaigns and rule versions.

Description

Change request 04 (client loyalty document and letter of 6 Nov 2026), not yet accepted or priced by HOCO. Builds BO-72 to BO-75 on the template pages: every rule can be created, changed, enabled or disabled, with the change scope on save, the simulator and the recalculation preview.

Subtasks

#SubtaskOwner
1BO-72 rules, cashback and simulatorAnis
2BO-73 levels with upkeepAnis
3BO-74 campaigns, beneficiaries, stackingAnis
4BO-75 versions and recalculationAnis
5Design QA notes for BO-72 to BO-75Akram

Deliverables

  • apps/dashboard/src/app/[locale]/(app)/loyalty/{rules,levels,campaigns,versions}/…

Acceptance criteria

  • A rule is created and activated with no developer (LOY-23)
  • Saving a rule asks for its change scope (LOY-25)
  • A level with resellers cannot be disabled without a target (LOY-03)

Requirements covered

RequirementTitleRelease
LOY-03Configurable levels: Standard at sign-up, then levels from qualified purchases over a configurable periodV2
LOY-08Earning rules: barème by product, category, brand, quantity or amount, set in the back-officeV2
LOY-09Order-value bonuses and bonuses on selected productsV2
LOY-10Occasion campaigns and Happy Days with Algiers time windowsV2
LOY-11Campaign stacking and the calculation orderV2
LOY-13New-product campaign for the first N buyersV2
LOY-14Cashback balance, earning and use at checkoutV2
LOY-20Level upkeep and drop with noticeV2
LOY-23Back-office administration: every rule without a developer, reseller view, manual adjustmentsV2
LOY-25Rule versioning: new operations only, or recalculationV2

Screens

ScreenNameApp
BO-72Earning rules, bonuses & cashbackBO
BO-73Loyalty levelsBO
BO-74Campaigns & Happy DaysBO
BO-75Rule versions & recalculationBO

API surface

Endpoint groupOperations
Promotions & loyalty41

Test measures

  • Playwright e2e: create a rule, simulate, activate

KPI

  • Delivered by Tue 23 Mar 2027 within 2.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