@foreach ($projects['data'] as $project)
@foreach ($project['projectreport'] as $index => $report)
@if ($index > 0)
@break
@endif
@endforeach
@endforeach
{{ $project['name'] }}
Project Value: {{ $report['project_value'] }}
{{ Str::words($report['short_description'], 25, '...') }}
@if ($projects['current_page'] > 1)
Previous
@endif
-
@php
$start = max(1, min($projects['last_page'] - 9, $projects['current_page'] - 5));
$end = min($start + 9, $projects['last_page']);
@endphp
@for ($i = $start; $i <= $end; $i++)
- {{ $i }} @endfor
{{ $page['links'] }}
--}}