<th>Target Date</th> <th>Mitigate?</th> <th class='hidden-print'>Details</th> </tr> </thead> <tbody> @if($findings) @foreach ($findings as $info) <tr> <td>{{++$num}}</td> <td>{{$info->finding_number}}</td> <td>{{$info->title}}</td> <td>{{$info->target_date}}</td> <td> <?php $isMitigate = CommonFunction::isMitigate($info->finding_number); ?> @if($isMitigate) @if($isMitigate->approve!='1') Pending @else Yes @endif @else No @endif </td> <td class='hidden-print'><a href="{{URL::to('surveillance/correctiveAction/'.$sia_number.'#'.$info->id)}}">Details</a></td> </tr> @endforeach @else