<?php session_start();?>
<?php include'includes/header.php'; ?>
<?php include'includes/sidebar.php';?>
<?php include'includes/functions.php';?>
<?php include'includes/navbar.php'; ?>
<script src="https://cdnjs.cloudflare.com/ajax/libs/html2pdf.js/0.10.1/html2pdf.bundle.min.js"></script>
<style>





</style>
</head>
<body>
  
  <div class="" style="text-align: center; display: flex; justify-content: center; margin-top: 50px;">
    
    <form action="" method="POST">
      <button class="btn btn-primary" name="pay-btn">Click me</button>
    </form>
  </div>

<?php
if (isset($_POST['pay-btn'])) {
  
  require 'includes/test-printer.php';
}

?>

  
<?php include'includes/footer.php';?>