@push('styles') @endpush @php $allowedTabs = ['email', 'sms', 'coupons', 'vouchers']; $returnTab = request()->query('tab'); if (!in_array($returnTab, $allowedTabs, true)) { $returnTab = 'coupons'; } $returnUrl = route('filament.admin.resources.back-office-admin.index', ['tab' => $returnTab]); $couponId = (string) request()->route('id'); $currentAppId = \App\Helpers\QueryHelper::getAppId(); $currentRoleId = auth()->user()?->role_id ?? null; $encryptedAppId = $currentAppId ? \App\Services\AppIdEncryptionService::encryptForUrl($currentAppId) : null; @endphp ‹ Back From Date To Date Apply Clear Loading coupon analytics... @push('scripts') @endpush