@if (auth()->user()->is_developer)
{!! __('app.people_search', [
'scope' => strtoupper(__('team.all_teams')),
]) !!}
@else
{!! __('app.people_search', [
'scope' => auth()->user()->currentTeam->name,
]) !!}
@endif
@if (auth()->user()->hasPermission('person:create'))
{{-- add button --}}
{{ __('person.add_person') }}
@endif
@if ($search)
{!! __('app.people_found', [
'found' => $people->total(),
'total' => $people_db,
'scope' => auth()->user()->is_developer ? strtoupper(__('team.all_teams')) : auth()->user()->currentTeam->name,
'keyword' => $search,
]) !!}
@else
{!! __('app.people_available', [
'total' => $people_db,
'scope' => auth()->user()->is_developer ? strtoupper(__('team.all_teams')) : auth()->user()->currentTeam->name,
]) !!}
@endif
{{-- footer : perpage and pagination --}}
@if (count($people) > 0)