@extends('global.app') @section('title', trans('clients.title.all')) @section('page_stylesheets') @endsection @section('extra_stylesheets') @endsection @section('action_buttons')
@endsection @section('action_buttons')
@endsection @section('content') @parent @include('global.status')
@forelse($clients as $client) @empty @endforelse
# Id Profile Name Phone Email Status Registration Date Action
{{ $client->id }} {{ $client->first_name . ' ' . $client->last_name }} {{ $client->first_name }} {{ $client->last_name }} {{ $client->phone or '(---) ---- --- ---' }} {{ $client->email }} @if ($client->status) @else @endif {{ $client->created_at->format('d-m-Y') }} {{ trans('clients.link.profile') }}

{{ trans('clients.message.empty.clients') }}

{!! $clients->render($presenter) !!}
@forelse($clients as $client)
@if ($client->profile_image_filename === 'default-profile.jpg')
{{ strtoupper($client->first_name[0] . (isset($client->last_name) ? $client->last_name[0] : '')) }}
@else {{ $client->first_name }} {{ $client->last_name }} @endif

{{ $client->first_name }} {{ $client->last_name }}

@if ($client->status) {{ trans('clients.status.active') }} @else {{ trans('clients.status.inactive') }} @endif
{{ $client->email }}
{{ $client->phone or '(---) ---- --- ---' }}
@empty

{{ trans('clients.message.empty.clients') }}

@endforelse
{!! $clients->render($presenter) !!}
@endsection @section('page_scripts') @endsection