@stack('styles')
Naramedic
CRM System
Menu Utama
Dashboard
CRM
@can('view contacts')
Kontak & Leads
@endcan @can('view deals')
Pipeline
@endcan @can('view tasks')
Tugas & Aktivitas
@php $pendingTasks = auth()->user()->tasks()->pending()->count(); @endphp @if($pendingTasks > 0)
{{ $pendingTasks > 99 ? '99+' : $pendingTasks }}
@endif
@endcan
WhatsApp
@can('view wa inbox')
WA Inbox
@php $unreadWa = \App\Models\WaConversation::unread()->count(); @endphp @if($unreadWa > 0)
{{ $unreadWa > 99 ? '99+' : $unreadWa }}
@endif
@endcan @can('broadcast messages')
Broadcast
@endcan @can('view chatbot logs')
Chatbot AI
@endcan @can('view kb')
Knowledge Base
@endcan @can('view reports')
Laporan
Laporan
@endcan @canany(['view users', 'manage settings', 'manage pipeline'])
Administrasi
@can('view users')
Manajemen User
@endcan @can('manage settings')
Pengaturan
WA Devices
@endcan @endcanany
Naramedic CRM
@yield('title', 'Dashboard')
{{ auth()->user()->initials }}
{{ auth()->user()->name }}
{{ ucfirst(str_replace('_', ' ', auth()->user()->getRoleNames()->first() ?? 'user')) }}
{{ auth()->user()->name }}
{{ auth()->user()->email }}
Profil Saya
@can('manage settings')
Pengaturan
@endcan
@csrf
Keluar
@if(session('success'))
{{ session('success') }}
@endif @if(session('error'))
{{ session('error') }}
@endif @if(session('warning'))
{{ session('warning') }}
@endif
@yield('content')
@stack('scripts')