feat: Partner hierarchy backoffice page (F41-F44 partial)
Some checks failed
Architecture Governance / architecture (push) Has been cancelled

New nav entry, route, page. Renders the four-level tree
(Company/Project/Store/PaymentPoint) via AdminPartnerHierarchyFacade on top
of the core built in the previous commit - TEST/LIVE toggle, suspend/activate,
disable behind a confirmation (terminal + cascading, per contract §2), and a
read-only credentials list stating plainly that only the public key is ever
held.

Reload-after-action rather than local patch on suspend/activate/disable:
disable cascades to descendants server-side, so a local patch would leave
children showing a status they no longer have.

Company id is a constant for now (DEFAULT_COMPANY_ID) - company creation is
out of band per contract §4.3, and there is no company-selector UI yet.

Verified: 139/139 unit tests, arch:check clean, production build succeeds.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
sdarbinyan
2026-08-18 21:00:46 +04:00
parent 7e7a015ff6
commit a116c4f592
10 changed files with 462 additions and 0 deletions

View File

@@ -2058,6 +2058,7 @@ export const en: Translations = {
integrations: 'Integrations',
finance: 'Payments & Finance',
marketplaces: 'Marketplaces',
partnerHierarchy: 'Partner hierarchy',
audit: 'Audit & Security',
reviews: 'Reviews',
reports: 'Reports',

View File

@@ -2052,6 +2052,7 @@ export const hy: Translations = {
integrations: 'Ինտեգրումներ',
finance: 'Վճարումներ և ֆինանսներ',
marketplaces: 'Մարկետփլեյսներ',
partnerHierarchy: 'Գործընկերոջ հիերարխիա',
audit: 'Աուդիտ և անվտանգություն',
transactions: 'Գործարքներ',
reviews: 'Կարծիքներ',

View File

@@ -2052,6 +2052,7 @@ export const ru: Translations = {
integrations: 'Интеграции',
finance: 'Платежи и финансы',
marketplaces: 'Маркетплейсы',
partnerHierarchy: 'Иерархия партнёра',
audit: 'Аудит и безопасность',
transactions: 'Транзакции',
reviews: 'Отзывы',

View File

@@ -2067,6 +2067,7 @@ export interface Translations {
integrations: string;
finance: string;
marketplaces: string;
partnerHierarchy: string;
audit: string;
reports: string;
partnersGroup: string;