@foreach ($candidates as $placement) @endforeach
  ID User/Profession School Started End date Contract type Working Days Pay Rate Charge Rate Profit Percent Gross Profit Total?/Income
{{$placement->candidate->candidate_unique}} {{$placement->candidate->user->first_name}} {{$placement->candidate->user->last_name}} {{$placement->job_title}} {{$placement->school->title}} {{Carbon\Carbon::parse($placement->date_from)->format('d.m.Y')}} @if($placement->date_to) {{Carbon\Carbon::parse($placement->date_to)->format('d.m.Y')}} @endif {{$placement->contract_type->title}} {{$placement->working_placement_days_sum()}} {{$placement->salery}} {{$placement->ltf_salery}} {{ $placement->profit_percent ? $placement->profit_percent . "%" : ""}} {{ $placement->gross_profit }} {{ $placement->income }}
Summary total taken from all pages: {{$total_pay_rate}} {{$total_charge_rate}} {{$total_profit_percent}}% {{$total_gross_profit}} {{$total_income}}
{{ $candidates->onEachSide(1)->links() }}
@push('scripts') @endpush