CRM · Customer action log (dormant)

A per-customer log of interactions — calls, visits, emails, forms (manual) and automatic entries such as marketing info sent, reservations and rejections — each with a scheduled and a done date, a title and notes, attributed to a staff member. The code is complete but no template renders it.

AreaCRM
Routes(not mounted)
Centre modulescrm
Staff levelsn/a
Modelsaction · staff-member · user
UI labelactions.new / actions.edit
Coverage3 use cases · 1 happy · 3 failure

Known issues (2)

Missing translations

These keys are used on this screen but do not exist in translations.json, so users see the raw key:

  • actions.edit

How it works

row-actions supports create (pre-filled with now, the current staff member and the customer), edit, save (tracking USER_ACTION_LOGGED) and delete; the action model distinguishes scheduled from done (isDone). However, form-user/row-actions is not referenced from any template, so the feature is unreachable. Listed so it is not mistaken for missing — it is built and switched off.

Use cases

Why someone opens this (3)

  • Recording that a customer was called about a lost item.
  • Scheduling a follow-up visit and marking it done later.
  • Seeing the automatic history of marketing sent to a customer.

Path map

flowchart LR
    F(["Customer action log dormant"]):::feat
    F --> H1["If re-mounted: action logged"]:::ok
    F -.-> X1["Unreachable"]:::bad
    F -.-> X2["If re-mounted: save fails"]:::bad
    F -.-> X3["Raw translation key on screen"]:::bad
    classDef feat fill:#157068,stroke:#157068,color:#ffffff,font-weight:bold
    classDef ok fill:#e3f1ea,stroke:#0d6b42,color:#0d4a2e
    classDef bad fill:#f7e6e2,stroke:#9a2d1c,color:#6e1f13

Happy paths

If re-mounted: action logged

  1. Operator opens a customer and creates an action of type call.
  2. Fills title and notes and saves; the action appears in the customer’s list.

Failure paths

QA checklist

Tick these off while regression-testing this feature. The boxes are plain Markdown, so progress is visible in git diffs.

  • ✅ If re-mounted: action logged
  • ⛔ Unreachable
  • ⛔ If re-mounted: save fails
  • ⛔ Raw translation key on screen

Implementation


Generated from doc/feature-inventory.json · id crm-customer-action-log · commit 276788ca6