?
Current Path : /home1/savoy/www/savoyglobal.net/sec_old/application/views/report/ |
Linux gator3171.hostgator.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 |
Current File : /home1/savoy/www/savoyglobal.net/sec_old/application/views/report/view_stock_utilization_report.php |
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); $this->load->view('documentreadyfunctions'); ?> <div class="icons_main"> <div class="icons"> <img src="<?=base_url()?>assets/images/back.png" title="Back" class="clickimage" onclick="viewdata('report','viewinreportsearch','search_report','view_report','<?=$_SESSION['pagenum'];?>')" alt="Back" align = "center" width="32" height="32" /> </div> <div class="icons_caption"> <h4> Stock Utilization Report</h4> </div> </div> <?php $attributes = array('id' => 'validateform', 'class' => 'validate'); echo form_open('report/generate_report/get_stock_utilization_report/_stock_utilization_report/xls', $attributes); $batch=$this->mastermodel->getdatas('batch','batch_id'); $student=$this->mastermodel->getdatas('student','student_id'); ?> <div class="clean"></div> <div class="grid_6"> <div class="box"> <div class="header main no-icon"> Stock Utilization Report <span></span> </div> <input type="hidden" name="report_name" value=" Stock Utilization Report" /> <div class="content no-padding"> <div style="text-align: center; font-size: 16px;padding-top: 5px"><b>Search By Stock Utilization Date</b></div> <div class="section _100"> <label>From Date </label> <div> <input name="from_date" id="date1" type="text" class="calfocus" /> </div> </div> <div class="section _100"> <label>To Date</label> <div> <input name="to_date" id="date" type="text" class="calfocus" /> </div> </div> <div style="text-align: center; font-size: 16px;padding-bottom: 4px"><b>Search By Student</b></div> <div class="section _100"> <label>Student Name</label> <div> <select name="student_id" class="" id="student_id"> <option value="">All</option> <?php foreach ($student as $list) { ?> <option value="<?= $list['student_id'] ?>"><?= $list['reg_no'].'-'.$list['first_name'].' '. $list['last_name'].'-'.$list['gender'] ?></option> <?php } ?> </select> </div> </div> <div style="text-align: center; font-size: 16px;padding-bottom: 4px"><b>Search By Batch</b></div> <div class="section _100"> <label>Batch Code</label> <div> <select name="batch_id" class="" id="batch_id"> <option value="">All</option> <?php foreach ($batch as $list) { ?> <option value="<?= $list['batch_id'] ?>"><?= $list['batch_no'] ?></option> <?php } ?> </select> </div> </div> </div> </div> </div> <div class="grid_6"> <div class="box"> <div class="header main no-icon">Report Field <span></span> </div> <div class="content no-padding"> <table class="table"> <tr> <th style="text-align: center"><input type="checkbox" id="checkall" name="checkall" class="reportcheck" onchange="field_check_all()"/></th> <th style="text-align: center">Report Fields</th> </tr> <?php $i=1; ?> <tr> <td style="text-align: center"><input type="checkbox" name="field_name_<?=$i++;?>" class="reportcheck" checked /></td> <td>Student Name</td> </tr> <tr> <td style="text-align: center"><input type="checkbox" name="field_name_<?=$i++;?>" checked class="reportcheck"/></td> <td> Student No</td> </tr> <tr> <td style="text-align: center"><input type="checkbox" name="field_name_<?=$i++;?>" checked class="reportcheck"/></td> <td> Gender</td> </tr> <tr> <td style="text-align: center"><input type="checkbox" checked value="nationality~Nationality" name="field_name_<?=$i++;?>" class="reportcheck" /></td> <td>Nationality</td> </tr> <tr> <td style="text-align: center"><input type="checkbox" value="batch_no~Batch" name="field_name_<?=$i++;?>" checked class="reportcheck"/></td> <td>Batch Code</td> </tr> <tr> <td style="text-align: center"><input type="checkbox" checked name="field_name_<?=$i++;?>" class="reportcheck"/></td> <td>Stock Utilization Date</td> </tr> <tr> <td style="text-align: center"><input type="checkbox" checked name="field_name_<?=$i++;?>" class="reportcheck"/></td> <td>Remarks</td> </tr> <tr> <td style="text-align: center"><input type="checkbox" checked name="field_name_<?=$i++;?>" class="reportcheck" checked /></td> <td>Inventory Type</td> </tr> <tr> <td style="text-align: center"><input type="checkbox" checked name="field_name_<?=$i++;?>" class="reportcheck"/></td> <td>Quantity</td> </tr> </table> </div> </div> </div> <input type="hidden" name="field_count" value="<?=$i;?>"/> <input type="hidden" name="report_type" value="xls"/> <div class="grid_12"> <div class="box"> <div class="actions"> <div class="actions-left"> <input type="reset"> </div> <div class="actions-right"> <button style="float: right;margin-left: 10px;" type="button" class="clickimage"onclick="generate_pdf('report/generate_report/get_stock_utilization_report/_stock_utilization_report/view/')" >Generate</button> <button style="float: right;margin-left: 10px;" type="submit" class="clickimage" onclick="generateReport('report/generate_report/get_stock_utilization_report/_stock_utilization_report/xls/')" >XLS</button> <button style="float: right;margin-left: 10px;" type="submit" class="clickimage" onclick="generateReport('report/generate_report/get_stock_utilization_report/_stock_utilization_report/pdf/')" >PDF</button> </div> </div> </div> </div> <?php echo form_close(); ?> <div id="report_div"></div>