> ## Documentation Index
> Fetch the complete documentation index at: https://docs.younegotiate.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Consumers

> A consumer says their payment plan is not showing correctly.

## Real-World Example

A consumer says their payment plan is not showing correctly. A Super Admin user searches the consumer, opens the record, confirms the creditor, reviews payment history, and checks the account status before escalating.

## Visual Flow

```mermaid placement="top-right" actions={true} theme={"system"}
flowchart TD
    A["Super Admin searches consumer"] --> B["System returns matching records"]
    B --> C["Super Admin opens consumer details"]
    C --> D["Review creditor, balance, status, and payments"]
    D --> E["Support decision is made"]
    classDef default fill:#F8FAFC,stroke:#64748B,stroke-width:1.5px,color:#0F172A;
    classDef actor fill:#E0F2FE,stroke:#0284C7,stroke-width:2px,color:#0C4A6E;
    classDef system fill:#F8FAFC,stroke:#64748B,stroke-width:1.5px,color:#0F172A;
    classDef decision fill:#FEF3C7,stroke:#D97706,stroke-width:2px,color:#78350F;
    classDef risk fill:#FEE2E2,stroke:#DC2626,stroke-width:2px,color:#7F1D1D;
    classDef outcome fill:#DCFCE7,stroke:#16A34A,stroke-width:2px,color:#14532D;
    class A actor;
    class B,E outcome;
    class C,D system;
    linkStyle default stroke:#94A3B8,stroke-width:2px;
```

## How It Should Work

* It should help Super Admin find and review consumer records.
* It should show consumer details in the context of the correct creditor.
* It should support investigations without losing account history.

## How It Should Not Work

* It should not display consumer records without their creditor context.
* It should not allow updates that break balances, payment history, or negotiation state.
* It should not hide deleted or historical context when Super Admin needs it for support.

## Developer Notes

* Super Admin may need broader visibility than creditors, but records still need creditor context.
* Consumer account history should remain explainable for support and compliance.

## Related App Areas

* `routes/superadmin.php`
* `app/Livewire/Creditor/ManageConsumers`
