> ## 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.

# Cancelled Plan

> Jane cancels an active payment plan. The account should move to Cancelled Plan and the schedule should no longer behave like an active payment plan.

## Real-World Example

Jane cancels an active payment plan. The account should move to Cancelled Plan and the schedule should no longer behave like an active payment plan.

## Visual Flow

```mermaid placement="top-right" actions={true} theme={"system"}
flowchart TD
    A["Consumer or system cancels payment plan"] --> B["Portal updates plan status"]
    B --> C["Future scheduled activity is stopped or marked cancelled"]
    C --> D["Account appears under Cancelled Plan"]
    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,C system;
    class D outcome;
    linkStyle default stroke:#94A3B8,stroke-width:2px;
```

## How It Should Work

* It should separate cancelled plans from active payment plans and paid accounts.
* It should preserve agreement and payment history where available.
* It should stop future plan processing unless the plan is explicitly restarted by an allowed flow.

## How It Should Not Work

* It should not continue to process normal installments after cancellation.
* It should not delete agreement records the consumer may need to review.
* It should not show a cancelled plan as successfully completed.

## Developer Notes

* This tab maps to cancelled\_plan.
* Cancelled agreement documents are also visible from the Cancelled Agreements account tool.

## Related App Areas

* `app/Enums/ConsumerStatus.php`
* `app/Livewire/Consumer/CancelledPlanAgreements.php`
* `app/Livewire/Consumer/SchedulePlan.php`
