?
Current Path : /home1/savoy/www/savoyglobal.net/sgms/application/views/HR/ |
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/sgms/application/views/HR/employee_timesheet_report.php |
<?php $this->load->view('documentreadyfunctions'); ?> <script type="text/javascript"> suggestemployee('employee'); </script> <link href="<?=base_url()?>assets/css/tablesortnew.css" rel="stylesheet" type="text/css"/> <div class="select-bar"> <label><img src="<?=base_url()?>assets/images/backbutton.png" title="Back" class="clickimage" onclick="viewdata('report','viewinreportsearch','search_report','view_report','1');" alt="Back" align = "center" width="25" height="25" /> </label> <span class="heading">Employee Timesheet Report</span> </div> <fieldset> <?php $attributes=array('id'=>'validateform','class'=>'customForm'); echo form_open('hr/getreport/get_employee_timesheet_report/_report_employee_timesheet/',$attributes); ?> <ul> <li> <table class="sortnew"> <tr> <th colspan="2" style="text-align: center">Search by Employee</th> </tr> <tr> <td>Employee Name</td> <td> <input type="text" name="employee" id="employee" class="required" /> <input type="hidden" name="employee_id" id="employee_id" class="required" /> </td> </tr> </table> <table class="sortnew"> <tr> <th colspan="2" style="text-align: center">Attendance Month</th> </tr> <tr> <td>Choose Month and Year</td> <td> <?php // lowest year wanted $cutoff = 2004; // current year $now = date('Y'); // build years menu echo '<select name="year">' ; for ($y=$now; $y>=$cutoff; $y--) { echo ' <option value="' . $y . '">' . $y . '</option>' ; } echo '</select> ' ; // build months menu echo '<select name="month">' ; $date_array = array('Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec'); foreach($date_array as $dates) { echo ' <option value="' . $dates . '"';if(date("M")==$dates){echo "selected";} echo '>' . $dates . '</option>' ; } echo '</select>' ; ?> </td> </tr> </table> </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> <li> <label for="submit"> </label> <button type="submit" class="clickimage" >Generate</button> </li> </ul> <?php echo form_close();?> </fieldset>