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

# Membership Create, Edit, and Show

> A platform operator creates a new membership plan, edits pricing, and reviews plan details.

## Real-World Example

A platform operator creates a new membership plan, edits pricing, and reviews plan details. The portal should protect active creditor subscriptions from accidental pricing or limit changes.

## Visual Flow

```mermaid placement="top-right" actions={true} theme={"system"}
flowchart TD
    A["Super Admin creates or edits membership"] --> B["Portal validates plan details"]
    B --> C{"Plan affects active creditors?"}
    C -->|Yes| D["Change requires careful handling"]
    C -->|No| E["Plan can be saved normally"]
    D --> F["Billing and subscription impact is reviewed"]
    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,D,E,F system;
    class C decision;
    class D risk;
    class E,F outcome;
    linkStyle default stroke:#94A3B8,stroke-width:2px;
```

## How It Should Work

* It should let Super Admin users create, edit, and review membership plans.
* It should make price, limits, renewal, and active subscription impact clear.
* It should keep failed or cancelled membership handling separate from normal plan setup.

## How It Should Not Work

* It should not silently change active creditor billing terms without a clear rule.
* It should not allow invalid pricing, limits, or renewal settings.
* It should not confuse membership plan configuration with a single creditor subscription record.

## Developer Notes

* Membership plan setup feeds creditor registration, renewal, failed renewal, and over-limit billing behavior.
* Changes should be reviewed with billing background jobs in mind.

## Related App Areas

* `app/Livewire/SuperAdmin/Memberships/CreatePage.php`
* `app/Livewire/SuperAdmin/Memberships/EditPage.php`
* `app/Livewire/SuperAdmin/Memberships/ShowPage.php`
* `app/Livewire/SuperAdmin/Forms/MembershipForm.php`
