{{-- resources/views/superadmin/iman-room/helper-tools.blade.php --}} @extends('layouts.superadmin') @section('title','غرفة إيمان — أدوات مساعدة') @section('page-title','غرفة إيمان — أدوات مساعدة') @section('content') @php use Illuminate\Support\Facades\Route; $section = $section ?? request('section','helper_tools'); /* ========================= | Core Tools Routes ========================= */ $rEvaluationsIndex = 'superadmin.evaluations.index'; $rEvaluationsCreate = 'superadmin.evaluations.create'; // “الاجتماعات الادارية : >routeIs('superadmin.meetings.*') ?” $rMeetingsIndex = 'superadmin.meetings.index'; $rAbsencesIndex = 'superadmin.absences.index'; $rHighRequestsIndex = 'superadmin.high-level-requests.index'; $rViolationsIndex = 'superadmin.violations.index'; $rInternalIndex = 'superadmin.internal-activities.index'; /* ========================= | WhatsApp (defaults) — Maintenance ========================= */ $rWaLives = $rWaLives ?? 'superadmin.falcon-room.whatsapp-lives.index'; $rWaMeetings = $rWaMeetings ?? 'superadmin.whatsapp.meetings.index'; $rWaDailyReading = $rWaDailyReading ?? 'superadmin.whatsapp.daily-reading.index'; $rWaSystem = $rWaSystem ?? 'superadmin.whatsapp.system.index'; $rWaQuick = $rWaQuick ?? 'superadmin.whatsapp.quick.index'; $rWaStatement = $rWaStatement ?? 'superadmin.whatsapp.statement.index'; $rWhatsAbs = $rWhatsAbs ?? 'superadmin.whatsapp.absences.index'; $rWhatsGuestHours = $rWhatsGuestHours ?? 'superadmin.whatsapp.guests-hours.index'; $rWhatsPresence = $rWhatsPresence ?? 'superadmin.whatsapp.presence.index'; $rWhatsTests = $rWhatsTests ?? 'superadmin.whatsapp.tests.index'; $rWhatsDecisions = $rWhatsDecisions ?? 'superadmin.whatsapp.decisions.index'; $rWhatsRisk = $rWhatsRisk ?? 'superadmin.whatsapp.risk.index'; // Active flags (if you want later) $onMeetings = request()->routeIs('superadmin.meetings.*'); // Helper: safe route url $safe = function(string $name, array $params = []) { return Route::has($name) ? route($name, $params) : '#'; }; $qsBase = ['section' => $section]; @endphp
اختصارات رسمية وسريعة لأهم مراكز الإدارة (تقييمات، مخالفات، غياب، نشاطات داخلية…) — كل زر هنا محسوب ليحافظ على هيبة غرفة إيمان.