?
Current Path : /home1/savoy/public_html/savoyglobal.net/sgms/application/views/Reports/ |
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/sgms/application/views/Reports/leavereport.php |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); $this->load->view('documentreadyfunctions'); ?> <div class="select-bar"> <label> </label> <span class="heading">Leave Report</span> </div> <fieldset> <?php $attributes=array('id'=>'validateform','class'=>'customForm'); echo form_open('report/getinreport/get_leave/_report_leave/',$attributes); $camp_list=$this->mastermodel->getdatas('camp','camp_name'); $leave_list=$this->mastermodel->getdatas('leave_type','leave_type_name'); ?> <ul> <li> <label for="data">Date Filter</label> <select name="date_filter" id="date_filter"> <option value="leave_starting_date">Leave Starting Date</option> <option value="leave_ending_date">Leave Ending Date</option> </select> </li> <li> <div id="multi"> <label for="data">From Date</label> <?php $data = array( 'name' => 'from_date', 'id' => 'from_date' ); echo form_input($data).form_error($data); ?> <img src="<?=base_url()?>/assets/images/icons/calendar.png" alt="Click to popup the clendar!" /> </div> <div id="multi"> <label for="data">To Date</label> <?php $data = array( 'name' => 'to_date', 'id' => 'to_date' ); echo form_input($data).form_error($data); ?> <img src="<?=base_url()?>/assets/images/icons/calendar.png" alt="Click to popup the clendar!" /> </div> </li> <li id="Camp_div"> <label for="data">Select Camp</label> <select name="camp_name" id="camp_name"> <option value="">All</option> <?php foreach($camp_list as $camp) { echo "<option value='". $camp['camp_id'] . "'>" . $camp['camp_name'] . "</option>"; } ?> </select> </li> <li> <label for="data">Leave Type</label> <select name="leave_type" id="leave_type"> <option value="">All</option> <?php foreach($leave_list as $leave) { echo "<option value='". $leave['leave_type_id'] . "'>" . $leave['leave_type_name'] . "</option>"; } ?> </select> </li> <li> <label for="data">Leave Status</label> <select name="leave_status" id="leave_status"> <option value="">All</option> <option value="Approved">Approved</option> <option value="Not Approved">Not Approved</option> </select> </li> <li> <label for="data">Reason of leave</label> <select name="leave_reason" id="leave_reason"> <option value="">All</option> <option value="Relative sick">Relative sick</option> <option value="Personal problems">Personal problems</option> <option value="Completion of contract">Completion of contract</option> <option value="Disciplinary Ground">Disciplinary Ground</option> <option value="Any other reason">Any other reason</option> </select> </li> <li> <label for="data">Employee Status</label> <select name="employee_status" id="employee_status"> <option value="">All</option> <option value="1">Active</option> <option value="0">Inactive</option> </select> </li> <li> <label>Report Format</label> <select name="report_type" id="report_type"> <option value="xls">Xls</option> <option value="pdf">Pdf</option> </select> </li> <div id='emp_box'> </div> <li> <input type="hidden" name="tab_name" value=" employee_absent"/> <input type="hidden" name="resfunction" value="search_attendance"/> </li> <li> <label for="submit"> </label> <button type="submit" class="clickimage" >Generate</button> </li> </ul> <?php echo form_close();?> </fieldset>