{{-- Module menu: flags from SalonAccess (employees + admin users). Server routes are also protected by middleware. --}} @php $d = now()->format('Y-m-d'); $f = $salonFlags ?? \App\Support\SalonAccess::flagMap(); @endphp @if (session('auth_kind') === 'employee') @endif @if (!empty($f['appointment'])) @endif @if (!empty($f['dashboard'])) @endif @if (!empty($f['package_details'])) @endif @if (!empty($f['customer'])) @endif @if (!empty($f['invoice'])) @endif @if (!empty($f['supplier'])) @endif @if (!empty($f['item_details'])) @endif @if (!empty($f['emp'])) @endif @if (!empty($f['closing_date'])) @endif @if (!empty($f['expence'])) @endif @if (!empty($f['asset']) && \Illuminate\Support\Facades\Route::has('asset.index')) @endif @if (!empty($f['reports'])) @endif @if (!empty($f['user'])) @endif @if (!empty($f['settings'])) @endif