

<?php $__env->startSection('title'); ?>Historique des versements <?php $__env->stopSection(); ?>

<?php $__env->startSection('styles'); ?>
    <!-- Datatable -->
    <?php echo Html::style('css/dataTables.bootstrap.css'); ?> 
    <?php echo Html::style('css/buttons.bootstrap.css'); ?> 
<?php $__env->stopSection(); ?>



<?php $__env->startSection('content'); ?>
<div class="col-lg-max">
    <h1><i class="fa fa-employeurs"></i>Historique des versements</h1>
        <div class="table-responsive">
            <table id="_table" class="table table-striped table-bordered">
                <thead>
                    <tr>
                        <th width='1%'>N°</th>
                        <th width='1%'>Montant</th>
                        <th width='1%'>Date</th>
                        <th width='14%'>Banque</th>
                        <th width='1%'>Compte</th> 
                        <th width='1%'>Mode de paiement</th>
                        <th width='1%'>Type</th>
                        <th width='1%'>DateValid</th>
                        <th width='13%'>Soc.</th>
                        <th width='1%'>MontantC.</th>
                        <th width='1%'>MontantR.</th>
                        <th width='1%'>NumImp</th>
                        <th width='1%'>RetType</th>
                        <th width='1%'>RetDate</th>
                        <th width='1%'>RetNum</th>
                        <th width='60%'>Observations</th>
                    </tr>
                </thead>
     
                <tbody>
                    <?php $__currentLoopData = $versements_hg; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $versement_hg): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                    <tr>
                        <td style="color:grey"><?php echo $versement_hg->id; ?></td>
                        <td style="color:grey"><?php echo $versement_hg->montant; ?></td>
                        <td style="color:grey"><?php echo $versement_hg->date; ?></td>
                        <td style="color:grey"><?php echo $versement_hg->BanqueNom; ?></td>
                        <td style="color:grey"><?php echo $versement_hg->compte; ?></td>
                        <td style="color:grey"><?php echo $versement_hg->mode_pmt; ?></td>
                        <td style="color:grey"><?php echo $versement_hg->type; ?></td>
                        <td style="color:grey"><?php echo $versement_hg->date_valid; ?></td>
                        <td style="color:grey"><?php echo $versement_hg->nom_court_employeur; ?></td>
                        <td style="color:grey"><?php echo $versement_hg->montant_c; ?></td>
                        <td style="color:grey"><?php echo $versement_hg->montant_r; ?></td>
                        <td style="color:grey"><?php echo $versement_hg->num_imp; ?></td>
                        <td style="color:grey"><?php echo $versement_hg->ret_type; ?></td>
                        <td style="color:grey"><?php echo $versement_hg->ret_date; ?></td>
                        <td style="color:grey"><?php echo $versement_hg->ret_num; ?></td>
                        <td style="color:grey"><?php echo $versement_hg->obs_vers; ?></td>
                    </tr>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                </tbody>
     
            </table>
        </div>

</div>

</body></html>
<?php $__env->stopSection(); ?>

<?php $__env->startSection('scripts'); ?>
    <!-- Datatable  -->
    <?php echo Html::script('js/jquery.dataTables.js'); ?>

    <?php echo Html::script('js/dataTables.bootstrap.js'); ?>

    <!-- Datatable Button --> 
    <?php echo Html::script('js/dataTables.buttons.js'); ?>

    <?php echo Html::script('js/buttons.bootstrap.js'); ?>

    <?php echo Html::script('js/buttons.html5.js'); ?>

    <?php echo Html::script('js/buttons.print.js'); ?>

    <?php echo Html::script('js/jszip.min.js'); ?>

    <?php echo Html::script('js/pdfmake.min.js'); ?>

    <?php echo Html::script('js/vfs_fonts.js'); ?>

    <?php echo Html::script('js/buttons.colVis.min.js'); ?>


    <?php echo Html::script('js/moment.min.js'); ?>

    <?php echo Html::script('js/datetime-moment.js'); ?>


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

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

        iDisplayLength:10,
        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: "<'row'<'col-sm-3 text-left'f><'col-sm-4'><'col-sm-5 text-center'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'} },
                {extend: 'pdf',exportOptions: {columns: ':visible'} },
                {extend: 'print',exportOptions: {columns: ':visible'} },
                'colvis'
            ],
          
            columnDefs: [ {
                targets: [5,6,8,12,13,14],
                visible: false
            } ]

        } );


} );
</script>

<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\xampp7422\htdocs\sysinfo\cpswf\sipre9\resources\views/prestations/versements_h/index_hg.blade.php ENDPATH**/ ?>