Перейти к основному содержимому

Экраны

Общие правила UI

  • Финансовые и PII-блоки скрываются без permission.
  • UI показывает источник каждого read-model блока.
  • Опасные действия требуют confirmation и reason.
  • Все financial actions показывают audit trace.
  • Empty states различают: нет данных, нет доступа, источник недоступен, данные устарели.

Навигация

Разделы:

  • клиенты;
  • лиды;
  • сделки;
  • заказы;
  • счета и платежи;
  • возвраты и корректировки;
  • доступы;
  • обращения;
  • payroll;
  • sync logs;
  • audit;
  • settings.

Список клиентов

Фильтры:

  • owner;
  • status;
  • risk flags;
  • debt;
  • active entitlement;
  • source;
  • last interaction;
  • duplicate candidates.

Действия:

  • создать account;
  • открыть карточку;
  • назначить owner;
  • экспорт, если есть permission.

Карточка клиента

Блоки:

  • header: display name, status, owner, risk flags;
  • people: payer, parent, student, contacts;
  • leads/deals/orders;
  • billing summary;
  • entitlements;
  • learning summary from LMS;
  • tickets/interactions;
  • notes;
  • timeline;
  • audit highlights.

Права:

  • contacts маскируются без разрешения;
  • billing скрывается без crm.billing.read;
  • restricted notes скрываются без роли.

Billing block

Содержит:

  • invoices;
  • payments;
  • refunds;
  • balance entries;
  • debt;
  • adjustments;
  • payment webhook status.

Действия:

  • создать invoice;
  • issue invoice;
  • создать refund;
  • создать adjustment;
  • посмотреть balance history.

Entitlement screen

Фильтры:

  • target domain;
  • product;
  • status;
  • user/student;
  • source type;
  • expires soon.

Действия:

  • создать entitlement;
  • activate/suspend/revoke;
  • sync with target domain;
  • открыть source invoice/payment/order.

Leads and deals

Lead board:

  • status columns;
  • source/campaign;
  • owner;
  • duplicate warning;
  • convert action.

Deal board:

  • status;
  • amount;
  • expected product;
  • linked order/invoice;
  • won/lost reasons.

Support tickets

Список:

  • status;
  • priority;
  • assignee;
  • account;
  • SLA;
  • source.

Карточка:

  • subject;
  • messages/notes;
  • linked account;
  • timeline;
  • resolution.

Payroll

Экраны:

  • teacher rates;
  • payout periods;
  • payout details;
  • adjustment form;
  • approval queue;
  • teacher self-view.

Права:

  • rates and full payroll require finance/payroll permission;
  • teacher self-view показывает только свой payout summary.

Integrations and sync logs

Блоки:

  • storefront leads;
  • payment webhooks;
  • LMS entitlement sync;
  • identity updates;
  • failed retries.

Действия:

  • retry failed sync;
  • mark ignored with reason;
  • open related entity.

Audit

Фильтры:

  • actor;
  • action;
  • entity type;
  • entity id;
  • date range;
  • request id.

Права:

  • требует crm.audit.read;
  • просмотр audit logs сам пишется в audit.

Admin settings

Разделы:

  • lead sources;
  • deal statuses;
  • payment providers;
  • refund reasons;
  • adjustment reasons;
  • entitlement rules;
  • payroll rates and templates;
  • export policies.