@php // Counter-sign actions: a super-admin applies them directly; a role-1 admin's // submission is held for super-admin approval. The tag flags this up front. $coSign = auth()->user()?->isSuperAdmin() ? 'Counter-sign' : 'Needs approval'; // Deep-links into the central process.yspi.ie admin console (D85): GDPR record + // close/restore live there, opened in a new tab (no token — process.yspi.ie // enforces its own sign-on + permissions). The contacts record is an internal page. $processUrl = rtrim((string) (config('skydive.process_url') ?: 'https://process.yspi.ie'), '/'); $uid = urlencode((string) $user->u_ident); // The Collector's donation record for this fundraiser (D88c). Null when COLLECTOR_URL // isn't configured, so we never render a link that resolves against this host. $collectorDonationsUrl = app(\App\Services\Donations\CollectorRouting::class)->fundraiserUrl($user); @endphp