<!DOCTYPE html>
<html lang="en">


<!-- 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 -->
<head>
    
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width,initial-scale=1">
    <title>Rizwan </title>
    <!-- Favicon icon -->
    <link rel="icon" type="image/png" sizes="16x16" href="<?php echo base_url();?>assets/images/favicon.png">
    <link rel="stylesheet" href="<?php echo base_url();?>assets/vendor/bootstrap-select/dist/css/bootstrap-select.min.css">
    <link rel="stylesheet" href="<?php echo base_url();?>assets/css/style.css">
    <!-- Pick date -->
   <link rel="stylesheet" href="<?php echo base_url();?>assets/vendor/pickadate/themes/default.css">
    <link rel="stylesheet" href="<?php echo base_url();?>assets/vendor/pickadate/themes/default.date.css">
     <link href="<?php echo base_url();?>assets/vendor/datatables/css/jquery.dataTables.min.css" rel="stylesheet">
    <!-- Custom Stylesheet -->
     

</head>

<body>

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

td,
th,
tr,
table {
    border-top: 1px solid black;
    border-collapse: collapse;
}

td.description,
th.description {
    width: 100px;
    max-width: 100px;
}

td.quantity,
th.quantity {
    width: 40px;
    max-width: 40px;
    word-break: break-all;
}

td.price,
th.price {
    width: 75px;
    max-width: 75px;
    
}

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

.ticket {
    width: 235px;
    max-width: 235px;
}

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

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

 </style>

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

                               
                                    
                                    <h3 class="centered">QUARANTINEsss</h3>
                                   
                                     
                                
                                        <h6 >MANUFACTURE OF PLASTIC PRODUCTSss</h6>
                                      
                                    
                               
                                    <table >
                                        <thead>
                                            <tr>
                                                <th class="center">Supplier</th>
                                                <th>Date</th>
                                                <th class="right">Challan #</th>
                                                <th class="center">Item</th>
                                                <th class="right">P.O #</th>
                                                <th class="right">QTY</th>
                                                <th class="right">Weight</th>
                                                <th class="right">GRN #</th>
                                            </tr>
                                        </thead>
                                        <tbody>
                                            <tr>
                                                <td class="description" style="text-align: center;"><?php echo vendor($get_dc_qurantine[0]['vendor_id']); ?></td>
                                                <td class="description" style="text-align: center;"><?php $date = $get_dc_qurantine[0]['created'];
                                                 echo date("d-m-Y", strtotime($date)); ?></td>
                                                <td class="description" style="text-align: center;"><?php echo $get_dc_qurantine[0]['dc_no']; ?></td>
                                                <?php if($get_dc_qurantine[0]['product_id'] ==0){ ?>
                                                <td class="description" style="text-align: center;"><?php echo material_name($get_dc_qurantine[0]['material_id']); ?></td>
                                            <?php }else if($get_dc_qurantine[0]['material_id']==0){ ?>
                                                <td class="description" style="text-align: center;"><?php echo product_name($get_dc_qurantine[0]['product_id']); ?></td>
                                            <?php } ?>
                                                <td class="description" style="text-align: center;"><?php echo po_number($get_dc_qurantine[0]['po_id']); ?></td>
                                                <td class="description" style="text-align: center;"><?php echo $get_dc_qurantine[0]['qty']; ?></td>
                                                <?php if($get_dc_qurantine !=0){ ?>
                                                <td class="description" style="text-align: center;"><?php echo dc_weight($get_dc_qurantine[0]['po_id']); ?></td>  
                                            <?php }else{ ?>
                                                  <td><?php echo dc_weight_pro($get_dc_qurantine[0]['po_id']); ?></td>  
                                              
                                            <?php } ?>
                                                <td class="description" style="text-align: center;"><?php echo $get_dc_qurantine[0]['grn_no']; ?></td>
                                            </tr>
                                        </tbody>
                                    </table>
                                </div>
                                
                                   
                                <input style="padding:5px;" value="Print Document" type="button" onclick="myFunction()" class="button"></input>
                           
                  
           
       <?php  $this->load->view('footer'); ?>
        
</body>
<script type="text/javascript">
    function myFunction()
        {
             var mywindow = window.open('', 'PRINT', 'height=400,width=600');
            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> 