?
Current Path : /home1/savoy/public_html/savoyglobal.net/sibsmoved/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/sibsmoved/system/application/views/HR/addworkshifts.php |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); $employee_list=$this->mastermodel->getemployeesforshift(); ?> <link href="<?=base_url()?>/assets/css/calendar.css" rel="stylesheet" type="text/css"> <script type="text/javascript" src="<?=base_url()?>/assets/js/cal.js"></script> <script type="text/javascript"> jQuery(document).ready(function () { $('.one').datepick({dateFormat: 'dd-mm-yyyy'}); }); </script> <div class="select-bar"> <label> <img src="<?=base_url()?>/assets/images/backbutton.png" title="Back" onclick="loadworkshifts('<?=$_SESSION['pagenum']?>','<?=$_SESSION['searchoption']?>','<?=$_SESSION['searchtxt']?>')" alt="Back" align = "center" width="25" height="25"/></label> </div> <fieldset> <legend>Add Work Shifts</legend> <?php $attributes = array('id' => 'customForm'); echo form_open('hr/addworkshifts',$attributes); ?> <ul> <li> <?php $data = array( 'name' => 'work_shift_name', 'id' => 'work_shift_name', ); ?> <label for="type">Shift Name</label> <?php echo form_input($data).form_error($data); ?><span id="workshiftInfo" class="red_bold">*</span> </li> <li> <label >WEF Date</label><input class="one" name="work_shift_wef_date" id="date" readonly="true" type="text" style="background-image: url(../../../../assets/images/datefocus.gif);"> </li> <li> <label for="data">Starting Time</label> <?php echo createHours('start_hour','09'); ?> <?php echo createMinutes('start_minute'); ?> </li> <li> <label for="data">Ending Time</label> <?php echo createHours('end_hour','17'); ?> <?php echo createMinutes('end_minute'); ?> </li> <li> <label for="data">Break Starting Time</label> <?php echo createHours('break_start_hour','13'); ?> <?php echo createMinutes('break_start_minute'); ?> </li> <li> <label for="data">Break Ending Time</label> <?php echo createHours('break_end_hour','14'); ?> <?php echo createMinutes('break_end_minute'); ?> </li> <li> <label for="data">Half Day Ending Time</label> <?php echo createHours('end_hour_half','13'); ?> <?php echo createMinutes('end_minute_half'); ?> </li> <li> <label for="data">Select Employees</label> <table border="0" cellpadding="3" cellspacing="0"> <tr> <td> <select name="employees_1" id="employees_1" size="9" MULTIPLE style="width: 150px;"> <?php foreach($employee_list as $list) { echo "<option value='".$list['employee_id']."'>".$list['employee_name']."</option>"; } ?> </select> </td> <td> </td> <td align="center" valign="middle"> <input type="Button" value="Add >>" style="width:70px" onClick="SelectMoveRows(document.getElementById('employees_1'),document.getElementById('employees_2'))"><br> <br><br> <input type="Button" value="<< Remove" style="width:70px" onClick="SelectMoveRows(document.getElementById('employees_2'),document.getElementById('employees_1'))"> </td> <td> </td> <td> <select name="employees_2[]" id="employees_2" size="9" MULTIPLE> </select> </td> </tr> </table> </li> <li> <label for="data">Grace Time(minutes)</label> <?php $data = array( 'name' => 'work_shift_grace_time', 'id' => 'work_shift_grace_time', 'class' =>'required number' ); echo form_input($data).form_error($data); ?> </li> <li><label for="submit"> </label> <button type="submit" id="submit" onclick="">Save</button> </li> </ul> <?php echo form_close();?> </fieldset>