Ejemplo n.º 1
0
                        <td>{{$info->result}}</td>
                     </tr>
                     <tr>
                        <th>Has Safety Concern?</th>
                        <td>{{$hasSc=$info->has_safety_concern}}</td>
                     </tr>
                     <tr>
                        <th>Has EDP?</th>
                        <td>{{$hasEdp=$info->has_edp}}</td>
                     </tr>
                     <tr>
                        <th>ISWC Document(s)</th>
                        <td>

                           <?php 
$docs = CommonFunction::getDocs($info->id, 'sia_action', 'file');
?>
                    

                            @foreach($docs as $doc)
                            <a href="{{URL::to('files/documents/'.$doc->calling_id)}}">{{$doc->doc_name}},</a>
                             {{ HTML::linkAction('BaseController@permanentDelete', '',array('documents',$doc->id,"#"), array('class' => 'glyphicon glyphicon-trash','style'=>'color:red;text-align:center','title'=>'Permanent Delete','onclick'=>" return confirm('Wanna Delete?')")) }}   
                             <br>
                            @endforeach
                        </td>
                     </tr>
                     <tr>
                        <td colspan="2">
                           <i>Initialized By : {{$info->row_creator}} | 
                           Initialized at : {{$info->created_at}} | 
                           Last Updated By : {{$info->row_updator}} | 
Ejemplo n.º 2
0
                                                <th>Delete</th>
                                               
                                               
                                            </tr>
                                        </thead>
                                     
                                        <tbody>
                                         <div style="display: none">{{$num=0;}}</div>
                                         @foreach($timelines as $info)
                                       		<tr>
                                       			<td>{{++$num}}</td>
                                       			<td>{{$info->order}}</td>
                                                <td>{{$info->event}}</td>
                                       			<td>
                                                    <?php 
$docs = CommonFunction::getDocs($info->id, 'timeline', 'docs');
?>
                                                    @foreach($docs as $doc)
                                                    <a href="{{URL::to('files/documents/'.$doc->calling_id)}}">{{$doc->doc_name}}</a>{{ HTML::linkAction('BaseController@permanentDelete', '',array('documents',$doc->id,"#"), array('class' => 'glyphicon glyphicon-trash','style'=>'color:red;text-align:center','title'=>'Permanent Delete','onclick'=>" return confirm('Wanna Delete?')")) }}<br>
                                                    @endforeach
                                                </td>
                                                <td>{{$info->duration}} day(s)</td>
                                                <td><a href="#"  data-toggle="modal" data-target="#edit{{$info->id}}">Edit</a></td>                    
                                                <td>{{ HTML::linkAction('BaseController@permanentDelete', '',array('timeline',$info->id,"#"), array('class' => 'glyphicon glyphicon-trash','style'=>'color:red;text-align:center','title'=>'Permanent Delete','onclick'=>" return confirm('Wanna Delete?')")) }}     </td>
                                       		</tr>
                                        @endforeach
                                       		
                                        </tbody>
                                       	
                                    </table>
                                </div><!-- /.box-body -->