?
Current Path : /home1/savoy/public_html/savoyglobal.net/piadraft/system/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/public_html/savoyglobal.net/piadraft/system/application/views/HR/punch_report.php |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); $department=$this->mastermodel->getdatas('department','id'); $designation=$this->mastermodel->getdatas('designation','id'); ?> <script type="text/javascript"> jQuery(document).ready(function () { suggestemployeeattendance(); $('.one').datepick({dateFormat: 'dd-mm-yyyy'}); $('.two').datepick({dateFormat: 'dd-mm-yyyy'}); }); </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="loadattendance()" alt="Back" align = "center" width="25" height="25" /></label> </div> <!--<form id="customForm" name="customForm">--> <fieldset> <?php $attributes = array('id' => 'customForm'); echo form_open('hr/punchreport',$attributes); ?> <ul> <li> <table class="sortnew" cellpadding="0" cellspacing="0"> <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" /> <input type="hidden" name="employee_id" id="employee_id" /> </td> </tr> <tr> <th colspan="2" style="text-align: center">Attendance Date</th> </tr> <tr> <td>Starting Date</td> <td> <input class="one" name="starting_date" id="starting_date" readonly="true" type="text" value="<?=date('d-m-Y')?>" style="background-image: url(../../../../assets/images/datefocus.gif);"> </td> </tr> <tr> <td>Ending Date</td> <td> <input class="one" name="ending_date" id="ending_date" readonly="true" type="text" value="<?=date('d-m-Y')?>" style="background-image: url(../../../../assets/images/datefocus.gif);"> </td> </tr> </table> <table class="sortnew" cellpadding="0" cellspacing="0"> <tr> <th colspan="2" style="text-align: center">Search by Department</th> </tr> <tr> <td>Department</td> <td> <select name="department_id" id="department_id" > <option value="">Select</option> <?php foreach($department as $list) { ?> <option value="<?=$list['id'];?>"><?=$list['departmentname'];?></option> <?php } ?> </select> </td> </tr> <tr> <th colspan="2" style="text-align: center">Search by Designation</th> </tr> <tr> <td>Designation</td> <td> <select name="designation_id" id="designation_id" > <option value="">Select</option> <?php foreach($designation as $list) { ?> <option value="<?=$list['id'];?>"><?=$list['designation'];?></option> <?php } ?> </select> </td> </tr> </table> </li> <li> <div class="gen_report"> <label>Report Format</label> <select name="report_type" id="report_type"> <option value="xls">Xls</option> <option value="pdf">Pdf</option> </select> </div> </li> <div class="centeralign"> <li><label><input type="submit" value="Generate Report"/></label></li> </div> </ul> <?php echo form_close();?> </fieldset>