Skip to main content

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

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.
  • app/View/Composers/SidebarComposer.php
  • app/Livewire/SuperAdmin/MembershipInquiries
  • app/Services/MembershipInquiryService.php
Last modified on May 26, 2026