?
Current Path : /home1/savoy/public_html/savoyglobal.net/sibs_draft/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/sibs_draft/system/application/views/HR/addassignleave.php |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');?> <script type="text/javascript"> jQuery(document).ready(function () { $('.one').datepick({dateFormat: 'dd-mm-yyyy'}); $('.two').datepick({dateFormat: 'dd-mm-yyyy'}); }); </script> <div class="select-bar"> <label> <img src="<?=base_url()?>/assets/images/backbutton.png" title="Back" class="clickimage" onclick="loadassignleave('<?=$_SESSION['pagenum']?>','<?=$_SESSION['searchoption']?>','<?=$_SESSION['searchtxt']?>')" alt="Back" align = "center" width="25" height="25"/></label> </div> <fieldset> <legend>Leave Apply</legend> <?php $attributes = array('id' => 'customForm'); echo form_open('hr/addassignleave',$attributes); ?> <ul> <li> </li> <li id="stfinfodet"></li> <li> <label>From Date</label> <input class="one" name="fromdate" id="fromdate" readonly="true" type="text" style="background-image: url(../../../../assets/images/datefocus.gif);"> <span id="fromdateInfo" class="red_bold">*</span> </li> <li> <label>To Date</label> <input class="two" name="todate" id="todate" readonly="true" type="text" style="background-image: url(../../../../assets/images/datefocus.gif);"> <span id="todateInfo" class="red_bold">*</span> </li> <li> <label>Leave Type</label> <?php $leavetype=$this->mastermodel->getdatas('leavetype'); ?> <select name='type' style='width:100px' id='type'><option>Select</option>"; <?php foreach($leavetype as $type) { echo '<option value="'.$type['id'].'">'.$type['leavename'].'</option>'; } ?> </select> </li> <li><label>Remarks</label><textarea name="remarks"></textarea></li> <li><label for="submit"> </label> <button type="submit" class="clickimage" id="submit" onclick="return validateform('fromdate','todate')">Save</button> </li> </ul> <?php echo form_close();?> </fieldset>