<!-- Option 1: Bootstrap Bundle with Popper -->
<script src="https://cdn.jsdelivr.net/npm/bootstrap-select@1.14.0-beta3/dist/js/bootstrap-select.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta1/dist/js/bootstrap.bundle.min.js" integrity="sha384-ygbV9kiqUc6oa4msXn9868pTtWMgiQaeYH7/t7LECLbyPA2x65Kgf80OJFdroafW" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/intl-tel-input/17.0.8/js/intlTelInput.min.js"></script>
<script src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
<script src="<?=base_url()?>assets/js/datepicker.js" defer></script>
<script src="<?=base_url()?>assets/js/information.js" defer></script>
<script src="<?=base_url()?>assets/js/machineInfoPopup.js" defer></script>
<script src="<?=base_url()?>assets/js/links.js" defer></script>
<script src="<?=base_url()?>assets/js/popup.js" defer></script>
<script src="<?=base_url()?>assets/js/chart.js" defer></script>
<script src="<?=base_url()?>assets/js/location.js" defer></script>
<script src="<?=base_url()?>assets/js/addMachine.js" defer></script>
<script src="<?=base_url()?>assets/js/reports.js" defer></script>
<script src="<?=base_url()?>assets/js/smartRoute.js" defer></script>
<script>
<?php
if(isset($_SESSION['successMessage'])) {
?>
Swal.fire(
    '<?=$_SESSION['successTitle']?>',
    '<?=$_SESSION['successMessage']?>',
    'success'
)
<?php } ?>
<?php
if(isset($_SESSION['errorMessage'])) {
?>
Swal.fire(
    '<?=$_SESSION['errorTitle']?>',
    '<?=$_SESSION['errorMessage']?>',
    'error'
)
<?php } ?>
</script>
</body>

</html>