Staff Name Role Home Start Date Probation End Date View Details Fail Probation Extend @forelse($datalist as $data) {{$data['name']}} {{$data->getRole($data['job_title'])}} {{$data->getWorkPlaceName($data['work_place'])}} @if(isset($data['start_date'])) {{date(config('choicescrm.date_format_forms'), strtotime($data['start_date']))}} @endif Yes @if(isset($data['probation_end_date'])) {{date(config('choicescrm.date_format_forms'), strtotime($data['probation_end_date']))}} @endif View Fail Extend @empty No record found @endforelse