EVOLUTION-NINJA
Edit File: receiptsfromtwisting.php
<script> function displaysupplierdata(str) { $.ajax({ type:"post", url:"<?php echo base_url(); ?>display_data/testingsupply", data:"id="+str, success:function(data) { document.getElementById("dynamicdatamster").innerHTML=data; } }); } </script> <?php //include("menu.php"); ?> <!-- BEGIN CONTENT --> <div class="page-content-wrapper"> <div class="page-content"> <!-- BEGIN PAGE HEADER--> <h3 class="page-title">Receipts For Twisting</h3> <?php $this->load->view('templates/nav_menu'); ?> <!-- END PAGE HEADER--> <!-- BEGIN DASHBOARD STATS --> <div style="text-align: left; padding:0px; margin-bottom: 15px;"> <a href="<?php echo base_url(); ?>store/AddReceiptsfromTwisting" class="btn btn-sm green"><i class="fa fa-plus"></i> To Insert Data Click Here </a> </div> <!--<form action="<?php echo base_url(); ?>import/supplier_master" method="post" class="form-horizontal"> <b>To insert data click here:</b> <input type="submit" name="Insert" value="Insert" /><br><br> </form>--> <?php echo $this->session->flashdata('flash_message'); ?> <?php $this->load->view('import_module/suppliermaster_display'); ?> <div class="portlet box blue-madison"> <div class="portlet-title"> <div class="caption"> <i class="fa fa-globe"></i>Receipts For Twisting </div> <div class="tools"> <!--<?php //echo $this->load->view('templates/download_types'); ?>--> <!--<a href="javascript:;" class="reload"> </a>--> <a href="#" style="color: #fff;"> <i class="fa fa-file-pdf-o tooltips" data-container="body" data-placement="top" data-original-title="Export PDF" style="font-size: 20px;"></i> </a> <a href="#" style="color: #fff;"> <i class="fa fa-file-excel-o tooltips" data-container="body" data-placement="top" data-original-title="Export Excel" style="font-size: 20px;"></i> </a> <a href="#" style="color: #fff;"> <i class="fa fa-print tooltips" data-container="body" data-placement="top" data-original-title="Take Print" style="font-size: 20px;"></i> </a> </div> </div> <div class="portlet-body"> <table class="table table-striped table-bordered table-hover" id="sample_1"> <thead> <tr> <th> Sr.No.</th> <th> Issue DC NO</th> <th> Location name</th> <th> Rec dcno</th> <th> Rec dc date</th> <th> Quality</th> <th> Denier</th> <th> Total issue wt</th> <th> New lot no</th> <th> Specification</th> <th> New bale/boxno</th> <th> Rec Wt</th> </tr> </thead> <tbody> <?php $count=1; foreach($getalldata as $results) { $locat=mysql_query("SELECT * FROM location_master where id='".$results->locationname."'"); $locresult=mysql_fetch_array($locat); ?> <tr> <td><?php echo $count++; ?></td> <td><?php echo $results->issuedcno; ?></td> <td><?php echo $locresult['locationName']; ?></td> <td><?php echo $results->recdcno; ?></td> <td><?php echo $results->recdate; ?></td> <td><?php echo $results->quality; ?></td> <td><?php echo $results->denier; ?></td> <td><?php echo $results->totalissuewt; ?></td> <td><?php echo $results->newlotnor; ?></td> <td><?php echo $results->specification; ?></td> <td><?php echo $results->newbaleboxno; ?></td> <td><?php echo $results->recwt; ?></td> </tr> <?php }?> </tbody> </table> </div> </div> <!-- END DASHBOARD STATS --> </div> </div> </div> <!-- End BEGIN CONTAINER --> <!-- BEGIN FOOTER -->