<footer class="main-footer">
    <strong>© <?= date("Y"); ?> Copyright <a href="https://ebu.eskolberkatutama.com/" target="_blank">https://ebu.eskolberkatutama.com/</a> All rights reserved.</strong>
    <div class="float-right d-none d-sm-inline-block"><b>Version</b> 0.1</div>
</footer>

<script src="plugins/jquery/jquery.min.js"></script>
<script src="plugins/bootstrap/js/bootstrap.bundle.min.js"></script>

<script src="plugins/datatables/jquery.dataTables.js"></script>
<script src="plugins/datatables-bs4/js/dataTables.bootstrap4.js"></script>

<script src="plugins/select2/js/select2.full.min.js"></script>
<script src="dist/js/xlsx.core.min.js"></script>
<script src="dist/js/FileSaver.js"></script>
<script src="dist/js/tableexport.min.js"></script>
<script src="dist/js/adminlte.js"></script>

<script>
  $(document).ready(function() {
    // 1. Initialize Select2
    $('.select2bs4').select2({ theme: 'bootstrap4' });

    // 2. Initialize Export
    $(".table-laporan").tableExport();

    // 3. Initialize DataTables
    $("#example1").DataTable();
    $("#example2").DataTable();
    $("#example3").DataTable();
    
    // Pastikan tabel-barang (dari file sebelumnya) juga ada di sini jika diperlukan
    // $('#tabel-barang').DataTable({ ... });
  });
</script>
</body>
</html>