示例#1
0
                                                </td>
                                                <td>
                                                    <?php 
$fNum = CommonFunction::findingCount($info->sia_number);
?>
                                                    @if($fNum!=0)
                                                    Finding-{{$fNum}}
                                                    @else
                                                        No Finding Listed Yet
                                                    @endif

                                                </td>
                                                <td>
                                                    <?php 
$edpNum = CommonFunction::edpCount($info->sia_number);
?>
                                                    @if($edpNum!=0)
                                                    EDP-{{$edpNum}}
                                                    @else
                                                        No EDP Listed Yet
                                                    @endif

                                                </td>
                                                <td>
                                                    <?php 
$status = CommonFunction::programStatus($info->sia_number);
?>
                                                    @if($status!=0)
                                                        <span style="color:green">Close</span>
                                                    @else 
                                                </td>
                                                <td>
                                                <?php 
$sNum = CommonFunction::saftyConsCount($program->sia_number);
?>
                                                @if($sNum!=0)
                                                    SC-{{$sNum}}
                                                @else
                                                    No SC 
                                                @endif

                                                </td>
                                                <td>
                                                    <?php 
$edpNum = CommonFunction::edpCount($program->sia_number);
?>
                                                    @if($edpNum!=0)
                                                    EDP-{{$edpNum}}
                                                    @else
                                                        No EDP
                                                    @endif

                                                </td>
                                                <td>@if($insNum=CommonFunction::inspectionHappend($program->sia_number)>0) 
                                                    <span style="color:#0DD47A">Yes</span>
                                                    @else
                                                   <span style="color:#FD39CC"> No</span>
                                                    @endif
                                                 </td>
                                                 <td>