{{-- Employees Component --}} @can('show employees')
{{ __('hr_messages.the_employees') }}

{{ \App\Models\Employee::count() == 2 ? '' : \App\Models\Employee::count() }} {{ trans_choice('hr_messages.Employee', \App\Models\Employee::count()) }}

@endcan {{-- Jobs Component --}} @can('show jobs')
{{ __('hr_messages.Jobs') }}

{{ \App\Models\Job::count() == 2 ? '' : \App\Models\Job::count() }} {{ trans_choice('hr_messages.Job_count', \App\Models\Job::count()) }}

@endcan {{-- departments Component --}} @can('show departments')
{{ trans_choice('hr_messages.Department', 0) }}

{{ \App\Models\Department::count() == 2 ? '' : \App\Models\Department::count() }} {{ trans_choice('hr_messages.Department', \App\Models\Department::count()) }}

@endcan {{-- departments Component --}} @can('show departments')
{{ __('hr_messages.departments_hierarchy') }}
@endcan {{--compainy hierarchy Component --}} @can('show company_hierarchy')
{{ __('hr_messages.company_hierarchy') }}
@endcan {{--employee_vacations Nav --}} @can('manage employee_vacations')
{{ __('hr_messages.employee_vacations') }}
@endcan {{--employee Excuses --}} @can('manage employee_excuses')
{{ __('hr_messages.employee_excuses') }}
@endcan @can('show decisions')

{{__('hr_messages.decisions')}}

{{ \App\Models\Decision::count() == 2 ? '' : \App\Models\Decision::count() }} {{ trans_choice('hr_messages.Decision', \App\Models\Decision::count()) }}
@endcan