  <?= htmlspecialchars_decode($settings['footer_code']); ?>

  <script type="text/javascript">
    var messages = {UNKNOWN_ERROR:"{UNKNOWN_ERROR}", PROCESS_ERROR:"{PROCESS_ERROR}"};
  </script>
</body>
</html>

<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/3/jquery.inputmask.bundle.js"></script>
<script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script>
<script src="<?=public_url("system/js/bootstrap-datepicker.min.js");?>"></script>
<script src="<?=public_url("system/js/alertify.js");?>"></script>
<script src="<?=public_url("system/js/main.js");?>"></script>
{INTEGRATIONS}
<script>$("#phone").inputmask({"mask": "09999999999"});</script>

<script>
 $("#refill-time-btn").click(function() {
      var btn = $(this);
      var data_time = btn.attr('data-time');
      alert(data_time);
    });
</script>