?
Current Path : /home1/savoy/public_html/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/public_html/savoyglobal.net/sgms/application/views/HR/view_attendance_marking.php |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); $this->load->view('documentreadyfunctions'); $employee_list=$this->mastermodel->getemployeesforattendace(); ?> <div class="select-bar"> <label><img src="<?=base_url()?>assets/images/backbutton.png" title="Back" class="clickimage" onclick="viewdata('hr','viewinhrsearch','search_attendance_marking','view_attendance_marking','<?=$_SESSION['pagenum'];?>')" alt="Back" align = "center" width="25" height="25" /> </label> <span class="heading">Mark Attendance</span> </div> <fieldset> <?php $attributes=array('id'=>'validateform','class'=>'customForm'); echo form_open('hr/addinhr/insert_attendance_marking/view_attendance_marking/1',$attributes); ?> <ul> <li> <label for="data">From Date</label> <?php $data = array( 'name' => 'from_date', 'id' => 'from_date', 'class' =>'required calfocus', 'value' => date('d-m-Y') ); echo form_input($data).form_error($data); ?> </li> <li> <label for="data">To Date</label> <?php $data = array( 'name' => 'to_date', 'id' => 'to_date', 'class' =>'required calfocus', 'value' => date('d-m-Y') ); echo form_input($data).form_error($data); ?> </li> <li> <label for="data"></label> The selected Employees will be marked as present for all these days, except for holidays and their device punch-ins will be disregarded </li> <li> <label for="data">Select Employees</label> <select name="employee[]" id="employee" size="9" MULTIPLE> <?php foreach($employee_list as $list) { echo "<option value='".$list['device_no']."'>".$list['employee_name']."</option>"; } ?> </select> </li> <li> <label for="data">Remarks</label> <?php $data = array( 'name' => 'attendance_remarks', 'id' => 'attendance_remarks', ); echo form_textarea($data).form_error($data); ?> </li> <li> <input type="hidden" name="tab_name" value="timesheet_attendance"/> <label for="submit"> </label> <button type="submit" id="submit" class="clickimage" onclick="addformdata('validateform')">Mark</button> </li> </ul> <?php echo form_close();?> </fieldset>