{{ Auth::user()->name }}
{{ Auth::user()->email }}
@php $userPoints = optional(Auth::user()->employee)->total_points ?? 0; @endphp
{{ $userPoints > 0 ? '+' : '' }}{{ $userPoints }} pts
@if (app()->getLocale() === 'id') @else @endif
{{ __('navbar.Dashboard') }} {{ __('navbar.Employees') }} @hasanyrole('hrd|super-admin|admin|finance|spv') {{ __('navbar.List-Employees') }} @endhasanyrole @hasanyrole('hrd|super-admin|admin') {{ __('analytics.Page-Title') }} @endhasanyrole {{ __('navbar.KPI') }} {{ __('navbar.Contracts') }} {{ __('navbar.reprimands') }} {{ __('navbar.Time-Management') }} {{ __('navbar.Request') }} {{ __('navbar.SPJ') }} {{ __('navbar.Overtime') }} {{ __('navbar.Shift-Change') }} @can('view_any_attendance', App\Models\Attendance::class) {{ __('navbar.Attendance') }} {{ __('navbar.Scheduler') }} @endcan @hasanyrole('hrd|super-admin|admin|finance|spv') {{ __('navbar.Presence') }} {{ __('navbar.Calendar') }} @endhasanyrole {{ __('navbar.Finance') }} @can('view_any_feeemployee', App\Models\FeeEmployee::class) {{ __('navbar.Payroll') }} {{ __('navbar.Fee-Employee') }} @endcan @if(auth()->user()->hasAnyRole(['hrd', 'finance', 'super-admin'])) {{ __('navbar.Reimbursement') }} {{ __('navbar.Loan') }} @endif @can('view_any_company', App\Models\Company::class) {{ __('navbar.Company') }} {{ __('navbar.Company-Info') }} {{ __('navbar.Branch') }} {{ __('navbar.Job-Level') }} {{ __('navbar.Job-Position') }} {{ __('navbar.Grade') }} SBU {{ __('navbar.Class') }} {{ __('navbar.Organization') }} {{ __('navbar.BPJS') }} @endcan @can('view_any_user', App\Models\User::class) {{ __('navbar.Manage') }} {{ __('navbar.Users') }} {{ __('navbar.Roles') }}
@can('view_any_kpicategorie', App\Models\KpiCategorie::class) {{ __('navbar.KPI-Categorie') }} {{ __('navbar.KPI-indicator') }} {{ __('navbar.KPI-potencie') }} @endcan @hasanyrole('hrd|super-admin') Reprimand Type @endhasanyrole @hasanyrole('hrd|finance|super-admin') {{ __('navbar.Reimbursement_type') }} @endhasanyrole {{ __('navbar.Request-Type') }}
@endcan @can('view_any_approval', App\Models\Approval::class) {{ __('navbar.Inbox') }} @if($pendingApprovalCount > 0) {{ $pendingApprovalCount > 99 ? '99+' : $pendingApprovalCount }} @endif {{ __('navbar.Request') }} @if($pendingTimeoff > 0) {{ $pendingTimeoff }} @endif {{ __('navbar.Overtime') }} @if($pendingOvertime > 0) {{ $pendingOvertime }} @endif {{ __('navbar.Shift-Change') }} @if($pendingShiftChange > 0) {{ $pendingShiftChange }} @endif {{ __('navbar.KPI') }} @if($pendingKpi > 0) {{ $pendingKpi }} @endif @if(auth()->user()->hasAnyRole(['hrd', 'super-admin'])) {{ __('navbar.reprimands') }} @if($pendingReprimand > 0) {{ $pendingReprimand }} @endif @endif @if(auth()->user()->hasAnyRole(['hrd', 'finance', 'super-admin'])) {{ __('navbar.Reimbursement') }} @if($pendingReimbursements > 0) {{ $pendingReimbursements }} @endif {{ __('navbar.Loan') }} @if($pendingLoans > 0) {{ $pendingLoans }} @endif {{ __('navbar.Payroll') }} @if($pendingPayrolls > 0) {{ $pendingPayrolls }} @endif @endif @endcan
@hasrole('super-admin|admin|hrd|finance|spv') {{ __('navbar.Personal-Info') }} @endrole {{ __('navbar.Account-Setting') }} @hasrole('admin|finance|hrd|super-admin') {{ __('navbar.Documentation') }} @endrole {{ __('navbar.Rules') }} @hasrole('super-admin') All Logs @endrole
@csrf {{ __('navbar.Log-Out') }}