@include('partials.breadcrumbs')
@include('layouts.crmnov')

Savings & Expenditure For {{$resident['first_name']}} {{$resident['middle_name']}} {{$resident['surname']}}

Total Savings For This Resident

£{{$total}} @if($total<0) @endif

@if($role == 'admin' || (((isset($perm['resident'][$resident['id']]) && ($perm['resident'][$resident['id']]==1)) || ((isset($resident['home_id']) && (isset($perm['resident']['bulk_'.$resident['home_id']])) && ($perm['resident']['bulk_'.$resident['home_id']]==1)) && ((isset($perm['resident'][$resident['id']]) && ($perm['resident'][$resident['id']] == 1)) || !isset($perm['resident'][$resident['id']] ))) || ( ( (isset($perm['resident']['bulk'])) && ($perm['resident']['bulk'] == 1) ) && ((isset($perm['resident'][$resident['id']]) && ($perm['resident'][$resident['id']] == 1)) || !isset($perm['resident'][$resident['id']] )) )) && $role!='visitor'))
@if($role == 'admin' || (((isset($perm['resident'][$resident['id']]) && ($perm['resident'][$resident['id']]==1)) || ((isset($resident['home_id']) && (isset($perm['resident']['bulk_'.$resident['home_id']])) && ($perm['resident']['bulk_'.$resident['home_id']]==1)) && ((isset($perm['resident'][$resident['id']]) && ($perm['resident'][$resident['id']] == 1)) || !isset($perm['resident'][$resident['id']] ))) || ( ( (isset($perm['resident']['bulk'])) && ($perm['resident']['bulk'] == 1) ) && ((isset($perm['resident'][$resident['id']]) && ($perm['resident'][$resident['id']] == 1)) || !isset($perm['resident'][$resident['id']] )) )) && $role!='visitor'))

Expenditure Section

@endif
@endif
Expenditure Log
@forelse($data as $save) @empty @endforelse
Date Spent Amount Spent Reason For Spend Total Spend Action
{{date(config('choicescrm.date_format_forms'), strtotime($save['date']))}} £{{$save['amount']}} {{$save['reason_for_spend']}} £{{$save['amount']}}
@if($userRole == 'admin' || (isset($employee->job_title) && in_array($employee->job_title, $rolesAllowedToEdit))) @endif
No record found
Total Current Weekly Spend £{{$week}}
Total Current Monthly Spend £{{$monthly}}
Total Alltime Spend £{{$expendtotal}}