@extends('clientsms.base') @section('action-content')

SMS PDF Report By Regions

@if(session()->has('message'))
{{ session()->get('message') }}
@endif
{{ csrf_field() }}
{{csrf_field()}}


@if($client_contribution) @foreach ($client_contribution as $cl) @php $staff_no = $cl->staff_number; $employee = \App\Employee::where('staff_number', $staff_no)->first(); @endphp @if($employee->active_id == 1)
Staff No {{ $cl->staff_number }}
Staff Name {{ $cl->firstname }} {{ $cl->middlename }} {{ $cl->lastname }}

Details of {{ $cl->firstname }} {{ $cl->middlename }} {{ $cl->lastname }}'s contribution

@foreach($cl->clientContributions as $contribution) @endforeach
{{$contribution->year}} {{ $contribution->contribution_month }} {{ $contribution->contribution_amount }}
Total {{$sum}}

@endif @endforeach @endif
@if($regions) @endif
Showing 1 to {{count($regions)}} of {{count($regions)}} entries
@endsection