<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <meta http-equiv="X-UA-Compatible" content="ie=edge">
        <link rel="stylesheet" href="style.css">
        <title>Rizwan</title>

 <style type="text/css">
     * {
    font-size: 18px;
    font-family: 'Times New Roman';
}

li {
    
   
}



.centered {
    text-align: center;
    align-content: center;
}


img {
    max-width: inherit;
    width: inherit;
}

@media print {
    .hidden-print,
    .hidden-print * {
        display: none !important;
    }
}

 </style>
</head>
    <body>
<div class="ticket">
    <img src="<?php echo base_url();?>assets/logo.png" style="width:105px;"/>

    <ul style="list-style: none;">
    <li class="description"><b>Date</b> : <?php echo date('d-m-Y'); ?></li><br/>
    <li class="description"><b>Item</b> :<?php echo product_name($this->uri->segment('3')); ?></li><br/>
    <li class="description"><b>Qty </b>: <?php echo $this->uri->segment('4'); ?></li><br/>

    <li class="description"><b>Remarks</b> : <?php  echo $this->uri->segment('5'); ?></li><br/>


    </ul>





    </div>


    <button id="btnPrint" class="hidden-print">Print</button>
    <script src="script.js"></script>

          
      
</body>
<script type="text/javascript">
    const $btnPrint = document.querySelector("#btnPrint");
$btnPrint.addEventListener("click", () => {
    window.print();
});
</script>
<!-- Mirrored from edumin.dexignlab.com/xhtml/add-departments.html by HTTrack Website Copier/3.x [XR&CO'2014], Tue, 17 Nov 2020 13:56:15 GMT -->
</html> 