EVOLUTION-NINJA
Edit File: madeups_bar_code.php
<?php //include("menu.php"); error_reporting(E_ALL); ?> </script> <script src="http://cdnjs.cloudflare.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script> <script src="<?php echo base_url(); ?>assets/js/EAN_UPC.min.js"></script> <script src="<?php echo base_url(); ?>assets/js/CODE128.min.js"></script> <script src="<?php echo base_url(); ?>assets/js/JsBarcode.min.js"></script> <link rel="stylesheet" type="text/css" href="<?php echo base_url(); ?>assets/css/avinash.min.css" > <link rel="stylesheet" type="text/css" href="<?php echo base_url(); ?>assets/css/skin-blue.min.css" > <link rel='shortcut icon' type='image/x-icon' href="<?php echo base_url(); ?>assets/images/samll-big.png"/> <div class="page-content-wrapper"> <div class="page-content"> <div class="content-wrapper"> <section class="content"> <!----------------------------inspection ----------------------------------------------> <div class="row" style=" text-align: right;"> <button class="btn btn-success btn-lg" type="button" id="booking_print" style=" padding-top: 2px; padding-bottom: 3px; padding-left: 15px; padding-right: 15px; background: rgb(72,91,127); color: white; border: initial !important; font-size: 22px;"> Print </button> <span class="close-right" ><a href="<?php echo base_url('stock_history_details/madeups_stock_details');?>" style="font-size: 22px;border: 1px solid;padding-left: 15px;padding-right: 15px;background: rgb(72,91,127);color: white;padding-bottom: 7px;text-decoration:none;">Back</a></span> </div> <!------------------------------------------ received -----------------------------------> <div id="print_report" class="print" > <table class="table table-bordered table-striped table-hover table-condensed table-responsive" style="border-spacing:0px !important;" border="1"> <thead > <tr style=""> <th colspan="2" style="text-align:center;background:#ddd;color:#000;">Barcode for Batch#</th> </tr> </thead> <tbody > <tr> <td>OSL #</td> <td><input type="text" id="po_no" name="po_no" class="po_no"style="width:100%; border:transparent;" value="<?php echo $fetch_goods_data->osl; ?>" readonly="readonly"></td> </tr> <tr> <td>Order Type</td> <td><input type="text" id="po_no" name="po_no" class="po_no"style="width:100%; border:transparent;" value="<?php echo $fetch_goods_data->order_type; ?>" readonly="readonly"></td> </tr> <tr> <td>Size</td> <td><input type="text" id="po_no" name="po_no" class="po_no"style="width:100%; border:transparent;" value="<?php echo $fetch_goods_data->size; ?>"readonly="readonly"></td> </tr> <tr> <td>Article</td> <td><input type="text" id="po_no" name="po_no" class="po_no"style="width:100%; border:transparent;" value="<?php echo $fetch_goods_data->article; ?>"readonly="readonly"></td> </tr> <tr> <td>Design</td> <td><input type="text" style="width:100%; border:transparent;" value="<?php echo $fetch_goods_data->design; ?>"></td> </tr> <tr> <td>Shade</td> <td><input type="text" id="po_no" name="po_no" class="po_no"style="width:100%; border:transparent;" value="<?php echo $fetch_goods_data->shade; ?>" readonly="readonly"></td> </tr> <tr> <td>DTL Shade</td> <td><input type="text" id="po_no" name="po_no" class="po_no"style="width:100%; border:transparent;" value="<?php echo $fetch_goods_data->ssl_shade; ?>" readonly="readonly"></td> </tr> <tr> <td>Description</td> <td><input type="text" id="po_no" name="po_no" class="po_no"style="width:100%; border:transparent;" value="<?php echo $fetch_goods_data->description; ?>" readonly="readonly"></td> </tr> <tr> <td>Received Qty</td> <td><input type="text" id="po_no" name="po_no" class="po_no"style="width:100%; border:transparent;" value="<?php echo $fetch_goods_data->received_qty; ?>" readonly="readonly"></td> </tr> <tr> <td colspan="2" style="text-align:center;"><img id="barcode_batch"/></br><?php echo $fetch_goods_data->batch_no; ?></td> </tr> </tbody> </table> </div> </section> </div> </div> </div> <link href="<?php echo base_url('assets/css/sweetalert2.min.css');?>" rel="stylesheet"/> <script src="<?php echo base_url('assets/js/sweetalert2.min.js');?>"></script> <link rel="stylesheet" href="<?php echo base_url('assets/css/code_jquery.min.css');?>"> <script src="<?php echo base_url('assets/js/jquery-ui.min.js'); ?>" type="text/javascript"></script> <link rel="stylesheet" type="text/css" media="screen" href="<?php echo base_url('assets/css/jquery-ui.min.css'); ?>" /> <script> $(document).ready(function(){ $("#booking_print").click(function(){ var divToPrint=document.getElementById("print_report"); newWin= window.open(""); newWin.document.write(divToPrint.outerHTML); newWin.print(); newWin.close(); }); }); </script> <script> $(document).ready(function(){ $("#barcode_batch").JsBarcode("<?php echo $fetch_goods_data->batch_no; ?>",{width:1,height:25}); }); </script> <style> #print_report { width:700px; } #print_report2 { width:700px; } #print_report1 { width:700px; } @media only screen and (min-width:320px) and (max-width:640px) { #print_report { width:100%; } #print_report1 { width:100%; } } </style>