@extends('global.app') @section('title', trans('clients.title.all')) @section('page_stylesheets') @endsection @section('extra_stylesheets') @endsection @section('action_buttons')
@endsection @section('content') @parent @include('global.status') @forelse($clients as $client) @empty @endforelse
Name Status Email Phone Policies Due Action
{{ $client->first_name }} {{ $client->last_name }} @if ($client->status) {{ trans('clients.status.active') }} @else {{ trans('clients.status.inactive') }} @endif {{ $client->email }} {{ $client->phone or '(---) ---- --- ---' }} {{ $client->policies->count() }} @if ($client->premiums > $client->paid) @elseif ($client->premiums === $client->paid) {{ trans('clients.label.status.paid') }} - @else @endif {{ $client->currency_symbol or $clients->currency_symbol }}{{ $client->due }} {{ trans('clients.link.profile') }}

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

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