Hide Queue Pro upgrade banner from team members.
Deploy Ladill Queue / deploy (push) Successful in 29s

Staff without billing access see Report Issue instead of plan upsells.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
isaacclad
2026-07-14 23:06:44 +00:00
co-authored by Cursor
parent 7c8a8f889e
commit 1e2701679e
2 changed files with 19 additions and 6 deletions
@@ -1,5 +1,8 @@
@php $banner = config('qms.upgrade_banner'); @endphp
@if (empty($hasPaidPlan) && ! empty($banner))
@php
$banner = config('qms.upgrade_banner');
$canSeeBilling = \App\Support\StaffUx::showBilling(auth()->user());
@endphp
@if ($canSeeBilling && empty($hasPaidPlan) && ! empty($banner))
<div class="mb-6 flex flex-col gap-3 rounded-2xl border border-indigo-200 bg-gradient-to-r from-indigo-50 to-emerald-50 px-5 py-4 sm:flex-row sm:items-center sm:justify-between">
<div>
<p class="font-semibold text-slate-900">{{ $banner['title'] }}</p>