EVOLUTION-NINJA
Edit File: madeups_preview.php
<?php //include("menu.php"); error_reporting(E_ALL); ?> <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="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> <div class="content-wrapper" id="print_report"> <section class="content"> <div class="print" style="width:100%;"> <h2 style="text-align:center;margin-bottom:0px !important;"><b><span>Deco-Textil</span></b></h2> <p style="text-align:center;margin-bottom:0px !important;">"SWAN HOUSE" NO.40,4th Cross,Residency Road,</p> <p style="text-align:center;margin-bottom:0px !important;">Bangalore - 560025.</p> <h3 style="text-align:center;margin-top:0px !important;"><u>GOODS RECEIVED NOTE</u></h3> <table class="" align="center" width="100%"> <tbody> <tr> <td class="col-sm-6"> Unit / Branch /Department : <span style="border-bottom:1px dotted #000;"> </span> </td> <td class="col-sm-6" style="text-align:right;">Ph: +91(80)41888298</td> </tr> <tr> <td class="col-sm-6"></td> <td class="col-sm-6" style="text-align:right;"> Date: <span style="border-bottom:1px dotted #000;"><?php echo $goods_id->rec_date; ?></span> </td> </tr> <tr> <td class="col-sm-6" style="padding-top:15px;"> Received the following goods from M/s : <span style="border-bottom:1px dotted #000;"><?php echo $goods_id->rec_by; ?></span> </td> </tr> <tr> <td class="col-sm-6" style="padding-top:15px;"> OSL No. : <span style="border-bottom:1px dotted #000;"><?php echo $goods_id->osl; ?></span> </td> </tr> </tbody> </table> <table align="center" width="100%" style="border-spacing:0px !important;margin-top:20px;" border="1"> <thead> <tr > <th style="text-align:center;">Sl.No.</th> <th style="text-align:center;">OSL No.</th> <th style="text-align:center;">Order Type</th> <th style="text-align:center;">Size</th> <th style="text-align:center;">Article</th> <th style="text-align:center;">Description</th> <th style="text-align:center;">Design</th> <th style="text-align:center;">Shade</th> <th style="text-align:center;">SSL Shade</th> <th style="text-align:center;">Ordered Qty</th> <th style="text-align:center;">Received Qty</th> <th style="text-align:center;">Batch No</th> <th style="text-align:center;">Invoice</th> <th style="text-align:center;">Location</th> <th style="text-align:center;">Remark</th> <th style="text-align:center;">Received By</th> </tr> </thead> <tbody> <?php $i=1;?> <tr style="height:30px;"> <td><?php echo $i; ?></td> <td style="text-transform: uppercase !important;"><?php echo $goods_id->osl; ?></td> <td style="text-transform: uppercase !important;"><?php echo $goods_id->order_type; ?></td> <td style="text-transform: uppercase !important;"><?php echo $goods_id->size; ?></td> <td style="text-transform: uppercase !important;"><?php echo $goods_id->article; ?></td> <td style="text-transform: uppercase !important;"><?php echo $goods_id->description; ?></td> <td style="text-transform: uppercase !important;"><?php echo $goods_id->design; ?></td> <td style="text-transform: uppercase !important;"><?php echo $goods_id->shade; ?></td> <td style="text-transform: uppercase !important;"><?php echo $goods_id->ssl_shade; ?></td> <td style="text-transform: uppercase !important;"><?php echo $goods_id->order_qty; ?></td> <td style="text-transform: uppercase !important;"><?php echo $goods_id->received_qty; ?></td> <td style="text-transform: uppercase !important;"><?php echo $goods_id->batch_no; ?></td> <td style="text-transform: uppercase !important;"><?php echo $goods_id->in_dc_val; ?></td> <td style="text-transform: uppercase !important;"><?php echo $goods_id->location; ?></td> <td style="text-transform: uppercase !important;"><?php echo $goods_id->remarks; ?></td> <td><?php echo $goods_id->rec_by; ?></td> </tr> </tbody> </table> <table align="center" width="100%"> <tbody> <tr> <td width="700px;" style="padding-top:15px;"> Received By(signature of the Recipient with seal) : <span style="border-bottom:1px dotted #000;"><?php echo $approved_by; ?></span> </td> </tr> <!--<tr> <td colspan="2" style="padding-top:15px;"> Entered into Stock Register by........................................................................................................................................................................... </td> </tr> <tr> <td colspan="2" style="padding-top:15px;"> Stock Reg Folio No............................................................................................................................................................................................. </td> </tr>--> </tbody> </table> </div> </section> </div> </div> </div> <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> var divContents = $(".print").html(); newWin= window.open(""); newWin.document.write(divContents); newWin.print(); newWin.close(); </script>--> <style> .content-wrapper{ overflow:auto !important; } </style>