@if($cycle == 'monthly') @foreach($results['start_date'] as $index => $result) @endforeach @else @foreach($results['start_date'] as $index => $result) @endforeach @endif