<?php echo $__env->make('forms.fbncheader_nomenu', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<?php echo $__env->make('forms.fdatatables', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>

<div class="col-lg-10 col-lg-offset-1">
    <h2>Historique des modifications</h2>
    <?php if($employeur): ?>
        <h4><?php echo $employeur->nom; ?></h4>
    <?php endif; ?>
    <div class="table-responsive">
        <table id="_table" class="table  table-striped">
            <thead>
                <tr>
                    <th width='1%'>Date</th>
                    <th width='1%'>Login</th>
                    <?php if(!$employeur): ?>
                        <th>Employeur</th>
                    <?php endif; ?>
                    <th>Beneficiaire</th>
                    <th>Modifications</th>
                </tr>
            </thead>
            <tbody>
                <?php $__currentLoopData = $t_res; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $tt_res): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                    <?php $__currentLoopData = $tt_res; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $value): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                    <tr>
                        <td nowrap><?php echo $value["date"]; ?></td>
                        <td nowrap><?php echo $value["login"]; ?></td>
                        <?php if(!$employeur): ?>
                            <td ><?php echo $value["nom_employeur"]; ?></td>
                        <?php endif; ?>
                        <td ><?php echo $value["nom_beneficiaire"]; ?></td>
                        <td ><?php echo $value["value"]; ?></td>
                    </tr>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
            </tbody>

        </table>
    </div>
</div>

</body></html>


<script>
$(document).ready(function() {
   $.fn.dataTable.moment('D/M/YYYY');

    var table =$('#_table').dataTable( {
        bAutoWidth: false,
        bPaginate: false,
        bInfo: false,
        bFilter: true,
        deferRender:    true,
        scrollCollapse: false,
        scroller:       false,

        iDisplayLength:15,
        oLanguage: {
            "sZeroRecords": "Aucune ligne",
            "sInfo": "Affichage de _START_ &agrave; _END_ sur _TOTAL_ lignes",
            "sInfoEmpty": "Showing 0 to 0 of 0 records",
            "sInfoFiltered": "(sur un total de _MAX_ lignes)",
            "oPaginate": {"sPrevious": "Pr&eacute;c&eacute;dente","sNext": "Suivante"
                ,"sFirst": "Premi&egrave;re","sLast": "Derni&egrave;re"},
                "sSearch":"Chercher ",
            buttons: {
                colvis: 'Colonnes à afficher',
                copy: 'Copier',
                print: 'Imprimer',
                copyTitle: 'Ajouté au presse-papiers',
                copyKeys: 'Appuyez sur <i>ctrl</i> ou <i>\u2318</i> + <i>C</i> pour copier les données du tableau à votre presse-papiers. <br><br>Pour annuler, cliquez sur ce message ou appuyez sur Echap.',
                copySuccess: {
                    _: '%d lignes copiées',
                    1: '1 ligne copiée'
                }
            }

            },
            //"dom": '<"top"fBl>rt<"bottom"ip><"clear">',
            dom: "<'row'<'col-sm-4 text-left'f><'col-sm-4'><'col-sm-6 text-right'B>>" +
            "<'row'<'col-sm-12'tr>>" +
            "<'row'<'col-sm-5'i><'col-sm-7'p>>",

            buttons: [ 
                {extend: 'copy',exportOptions: {columns: ':visible'} },
                {extend: 'excel',exportOptions: {columns: ':visible'} },
            ],


        } );


} );
</script><?php /**PATH C:\xampp\htdocs\SYSINFO\cpswf\sipre\resources\views/logs/index_salaires_employeur.blade.php ENDPATH**/ ?>