{{ __('Dashboard') }}

Go @if(!empty(Request::input('search'))) Clear... @endif
View
@foreach($offenders as $offender) @endforeach
Status Name Court Charge Start Date End Date Phone Number Last Report Probation Fees Court Costs Drug Fees Tracker Fees Special Conditions Manager
{{ $offender->active_status?->offender_status_type->name }} {{ $offender->last_name }}, {{ $offender->first_name }} {{ $offender->middle_name }} {{ $offender->court?->abbreviation }} {{ $offender->last_charge?->crimes?->first()?->name }} {{ $offender->probation_start_date?->isoFormat('DD-MMM-GGGG') }} {{ $offender->probation_end_date?->isoFormat('DD-MMM-GGGG') }} {{ $offender->phone }} {{ $offender->no_report ? 'No Report' : $offender->last_journal_item?->report_date?->isoFormat('DD-MMM-GGGG') }} {{ \App\Helpers\FormatHelper::NumberFormat($offender->balances->reduce(fn($carry, $ele) => ($ele->payment_type->name=='Probation Fees' ? $ele->amount : $carry)) - $offender->payments->reduce(fn($carry, $ele) => ($ele->payment_type->name=='Probation Fees' ? $ele->amount+$carry : $carry)), 'USD') }} {{ \App\Helpers\FormatHelper::NumberFormat($offender->balances->reduce(fn($carry, $ele) => ($ele->payment_type->name=='Court Costs' ? $ele->amount : $carry)) - $offender->payments->reduce(fn($carry, $ele) => ($ele->payment_type->name=='Court Costs' ? $ele->amount+$carry : $carry)), 'USD') }} {{ \App\Helpers\FormatHelper::NumberFormat($offender->balances->reduce(fn($carry, $ele) => ($ele->payment_type->name=='Drug Screens' ? $ele->amount : $carry)) - $offender->payments->reduce(fn($carry, $ele) => ($ele->payment_type->name=='Drug Screens' ? $ele->amount+$carry : $carry)), 'USD') }} {{ \App\Helpers\FormatHelper::NumberFormat($offender->balances->reduce(fn($carry, $ele) => ($ele->payment_type->name=='Tracker Fees' ? $ele->amount : $carry)) - $offender->payments->reduce(fn($carry, $ele) => ($ele->payment_type->name=='Tracker Fees' ? $ele->amount+$carry : $carry)), 'USD') }} {{ $offender->incomplete_special_requirements?->count() ? 'Incomplete' : 'Complete' }} {{ $offender->user->name }}
{{ $offenders->links() }}