<div class="form-group row">
    <div class="tab-pane" id="controles">
        <div class="col-md-12" style="padding:14px">
            <legend>Liste des controles</legend>
            <div class="form-group">
                <div class="table-responsive col-lg-10">
                    <?php if(count($controles)>0): ?>
                        <table id="_table" style="background-color:white" class="table table-condensed table-striped table-bordered" width="90%" >
                            <thead>
                                <tr>
                                    <th nowrap width='1%'>N°</th>
                                    <th width='1%'>Contrôle</th>
                                    <th width='10%'>Agent1</th>
                                    <th width='10%'>Agent2</th> 
                                    <th width='10%'>Validation</th>
                                    <th >Observations</th>
                                    <th width='1%'>&nbsp</th>
                                </tr>
                            </thead>
                 
                            <tbody>
                                <?php $__currentLoopData = $controles; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $controle): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                <tr>
                                    <td style="color:grey"><?php echo $controle->id; ?></td>
                                    <td align="center"><?php echo $controle->date_cont; ?></td>
                                    <td align="center"><?php echo $controle->agent1; ?></td>
                                    <td align="right"><?php echo $controle->agent2; ?></td>
                                    <td align="right"><?php echo $controle->date_valid; ?></td>
                                    <td align="right"><?php echo $controle->observations; ?></td>
                                    <td nowrap>
                                    <?php if($user->can("COT_VISU") || $user->HasRole("ADMINISTRATEUR")): ?>
                                        <a href="<?php echo url('recouvrement/controles/show_box/'.$controle->id); ?>" 
                                            class="various fancybox.iframe btn btn-warning" 
                                            style="margin-right: 3px;">Détail</a>
                                    <?php endif; ?> 
                                    </td>
                                </tr>
                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                            </tbody>
                        </table>
                    <?php else: ?>
                        <h2><small><i>Aucun contrôle</i></small></h2>
                    <?php endif; ?>
                </div>
            </div>
        </div> 
    </div>
</div><?php /**PATH C:\xampp7422\htdocs\sysinfo\cpswf\sipre_new\resources\views/tiers/employeurs/rows_controles.blade.php ENDPATH**/ ?>