      <footer class="main-footer text-sm">
        <div class="float-right d-none d-sm-block">
          <b>Version</b> 0.0.1
        </div>
        <strong>Copyright © <?= date('Y') ?> <a href="#">APP</a>.</strong> Tous droits reserves.
      </footer>
      </div>
      </body>
      <?php //echo script_tag('assets/plugins/jquery/jquery.min.js'); 
      ?>
      <!-- jQuery UI 1.11.4 -->
      <?= script_tag('assets/plugins/jquery-ui/jquery-ui.min.js'); ?>
      <!-- Resolve conflict in jQuery UI tooltip with Bootstrap tooltip -->
      <script>
        $.widget.bridge('uibutton', $.ui.button)
      </script>
      <!-- Bootstrap 4 -->
      <?= script_tag('assets/plugins/bootstrap/js/bootstrap.bundle.min.js'); ?>

      <?= script_tag('assets/dist/js/adminlte.min.js'); ?>
      <!-- Select2 -->
      <?= script_tag('assets/plugins/select2/js/select2.min.js'); ?>
      <!-- ChartJS -->
      <?= script_tag('assets/plugins/chart.js/Chart.min.js'); ?>
      <!-- JQVMap -->
      <?= script_tag('assets/plugins/jqvmap/jquery.vmap.min.js'); ?>
      <?= script_tag('assets/plugins/jqvmap/maps/jquery.vmap.usa.js'); ?>
      <!-- jQuery Knob Chart -->
      <?= script_tag('assets/plugins/jquery-knob/jquery.knob.min.js'); ?>
      <!-- daterangepicker -->
      <?= script_tag('assets/plugins/moment/moment.min.js'); ?>
      <?= script_tag('assets/plugins/daterangepicker/daterangepicker.js'); ?>
      <!-- Tempusdominus Bootstrap 4 -->
      <?= script_tag('assets/plugins/tempusdominus-bootstrap-4/js/tempusdominus-bootstrap-4.min.js'); ?>
      <!-- overlayScrollbars -->
      <?= script_tag('assets/plugins/overlayScrollbars/js/jquery.overlayScrollbars.min.js'); ?>
      <?= script_tag('assets/plugins/bs-custom-file-input/bs-custom-file-input.min.js'); ?>
      <?= script_tag('assets/plugins/sweetalert2/sweetalert2.all.min.js'); ?>
      <!-- DataTables  & Plugins -->
      <?= script_tag('assets/plugins/datatables/jquery.dataTables.min.js'); ?>
      <?= script_tag('assets/plugins/datatables-bs4/js/dataTables.bootstrap4.min.js'); ?>
      <?= script_tag('assets/plugins/datatables-responsive/js/dataTables.responsive.min.js'); ?>
      <?= script_tag('assets/plugins/datatables-responsive/js/responsive.bootstrap4.min.js'); ?>
      <?= script_tag('assets/plugins/datatables-buttons/js/dataTables.buttons.min.js'); ?>
      <?= script_tag('assets/plugins/datatables-buttons/js/buttons.bootstrap4.min.js'); ?>
      <?= script_tag('assets/plugins/jszip/jszip.min.js'); ?>
      <?= script_tag('assets/plugins/pdfmake/pdfmake.min.js'); ?>
      <?= script_tag('assets/plugins/pdfmake/vfs_fonts.js'); ?>
      <?= script_tag('assets/plugins/datatables-buttons/js/buttons.html5.min.js'); ?>
      <?= script_tag('assets/plugins/datatables-buttons/js/buttons.print.min.js'); ?>
      <?= script_tag('assets/plugins/datatables-buttons/js/buttons.colVis.min.js'); ?>
      <?= script_tag('assets/plugins/toastr/toastr.min.js'); ?>

      <script>
        $('#date_acquisition, #date_lancement,#date_depot,#date_attribution, #date_probable_livraison, #date_achat').datetimepicker({
          format: 'YYYY-MM-DD'
        });
      </script>

      <?= $url_list ?>
      <script type="text/javascript">
        var url = '<?php echo site_url($locale); ?>';

        $(document).ready(function() {
          // bsCustomFileInput.init();
          $("#myList").DataTable();

          processData()

          $("#brancheId").change(function() {
            processData()
          });

          function processData() {
            var brancheId = $("#brancheId").val()
            brancheId = brancheId > 0 ? brancheId : 0;

            $('#tables').DataTable({
              "processing": true,
              "paging": true,
              "pageLength": "10",
              "serverSide": true,
              "order": [],
              "ajax": {
                url: url + "<?php echo $url_list ?>",
                type: "POST",
                "datatype": "json",
                "data": {
                  "brancheId": brancheId
                },
              },

              "columnDefs": [{
                "orderable": false,
              }],
              "bDestroy": true
            });
          }



          $('.select2').select2({
            tags: false
          });

        });
        const Toast = Swal.mixin({
          toast: true,
          position: 'top-center',
          showConfirmButton: false,
          timer: 3000
        });
      </script>

      <?php
      if (!empty($js)) {
        echo script_tag("assets/dist/js/modules/" . $js);
      }

      ?>

      <?= script_tag('assets/highcharts/highcharts.js'); ?>
      <?= script_tag('assets/highcharts/highcharts-3d.js'); ?>
      <?= script_tag('assets/highcharts/modules/cylinder.js'); ?>
      <?= script_tag('assets/highcharts/modules/variable-pie.js'); ?>
      <?= script_tag('assets/highcharts/modules/accessibility.js'); ?>
      <?= script_tag('assets/highcharts/modules/exporting.js'); ?>

      </html>