?
Current Path : /home1/savoy/public_html/savoyglobal.net/ccnerp/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/public_html/savoyglobal.net/ccnerp/application/views/report/view_leave_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>Leave REPORT</h4> </div> </div> <?php $leave_type=$this->mastermodel->getdatas('leave_type','leave_type_id'); $employee=$this->mastermodel->getdatas('employee','employee_id'); $attributes = array('id' => 'validateform', 'class' => 'validate'); echo form_open('report/generate_report/get_leave_report/_report', $attributes); ?> <div class="clean"></div> <div class="grid_6"> <div class="box"> <div class="header main no-icon"> Leave Report <span></span> </div> <div class="content no-padding"> <div class="section _100"> <label>From Date </label> <div> <input name="start_date" id="date1" type="dateonly" /> </div> </div> <div class="section _100"> <label>To Date</label> <div> <input name="end_date" id="date" type="dateonly" /> </div> </div> <div class="section _100"> <label>Employee Name</label> <div> <select name="employee_id" class="" id="employee_name"> <option value="">All</option> <?php foreach ($employee as $list) { ?> <option value="<?= $list['employee_id'] ?>"><?= $list['employee_name'] ?></option> <?php } ?> </select> </div> </div> <div class="section _100"> <label>Leave Type</label> <div style="margin-top: 6px;"> <select name="leave_type_id" class="chzn-done"> <option value="">All</option> <?php foreach($leave_type as $list) { ?> <option value="<?=$list['leave_type_id'];?>"><?=$list['leave_type_name'];?></option> <?php } ?> </select> </div> </div> </div> </div> </div> <div class="grid_6"> <div class="box"> <div class="header main no-icon">Report Fields <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" value="employee_name~Employee_Name" name="field_name_<?=$i++;?>" class="reportcheck" checked /></td> <td>Employee Name</td> </tr> <tr> <td style="text-align: center"><input type="checkbox" value="leave_type.leave_type_name~Leave_Type" name="field_name_<?=$i++;?>" checked class="reportcheck"/></td> <td>Leave Type</td> </tr> <tr> <td style="text-align: center"><input type="checkbox" value="from_date~From_Date" name="field_name_<?=$i++;?>" class="reportcheck" checked/></td> <td>From Date</td> </tr> <tr> <td style="text-align: center"><input type="checkbox" value="to_date~To_Date" name="field_name_<?=$i++;?>" class="reportcheck" checked/></td> <td>To Date</td> </tr> <tr> <td style="text-align: center"><input type="checkbox" value="remarks~remarks" name="field_name_<?=$i++;?>" class="reportcheck" /></td> <td>Remarks</td> </tr> <tr> <td style="text-align: center"><input type="checkbox" value="leave_status~Status" name="field_name_<?=$i++;?>" class="reportcheck" /></td> <td>Status</td> </tr> </table> </div> </div> </div> <input type="hidden" name="report_type" value="view"/> <input type="hidden" name="report_name" value="Leave Report"/> <input type="hidden" name="field_count" value="<?=$i;?>"/> <div class="grid_12"> <div class="box"> <div class="actions"> <div class="actions-left"> <input type="reset"> </div> <div class="actions-right"> <button style="margin-left: 130px;" type="submit" id="submit" class="clickimage" >Generate</button> </div> </div> </div> </div> <?php echo form_close(); ?>