{{CommonFunction::safetyTitle($info->sc_number)}} [ {{$info->sc_number}} ] @endif </td> <td> <?php $count = CommonFunction::isEdpLegalOpenionGiven($info->edp_number); ?> @if($count>0) Given @else Not Given @endif </td> <td> <?php $count = CommonFunction::isEdpApproved($info->edp_number); ?> @if($count>0) Approved @else Not Approved @endif </td> <td class='hidden-print'><a href="{{URL::to('edp/singleEdp/'.$info->edp_number)}}">Details</a></td> </tr> @endforeach @else <tr> <td colspan="4"> No EDP Found Yet!! </td>