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

# Special Plan Inquiries

> ABC Collections needs a larger plan than the public options. They submit a special plan inquiry.

## Real-World Example

ABC Collections needs a larger plan than the public options. They submit a special plan inquiry. Super Admin sees the sidebar badge, reviews the request, and resolves it with an approved plan or closure.

## Visual Flow

```mermaid placement="top-right" actions={true} theme={"system"}
flowchart TD
    A["Creditor submits special plan inquiry"] --> B["Sidebar badge increases"]
    B --> C["Super Admin reviews inquiry"]
    C --> D{"Approve custom plan?"}
    D -->|Yes| E["Plan path is provided"]
    D -->|No| F["Inquiry is closed"]
    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 system;
    class D decision;
    class F risk;
    linkStyle default stroke:#94A3B8,stroke-width:2px;
```

## How It Should Work

* It should show new inquiries to Super Admin.
* It should allow Super Admin to review and resolve each inquiry.
* It should update the sidebar badge when inquiries are handled.

## How It Should Not Work

* It should not leave handled inquiries counted as new.
* It should not create or expose a custom plan without Super Admin action.
* It should not lose the request history.

## Developer Notes

* Badge counts depend on cached membership inquiry counts.
* Resolution actions should clear or update the badge state.

## Related App Areas

* `app/View/Composers/SidebarComposer.php`
* `app/Livewire/SuperAdmin/MembershipInquiries`
* `app/Services/MembershipInquiryService.php`
