?
Current Path : /home1/savoy/public_html/savoyglobal.net/drafthr/system/application/views/Settings/ |
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/drafthr/system/application/views/Settings/editfiscal.php |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');?> <div class="select-bar"> <label> <img src="<?=base_url()?>/assets/images/backbutton.png" title="Back" class="clickimage" onclick="showfiscal(<?=$currpage ?>,'closed','')" alt="Back" align = "center" width="25" height="25" /></label> </div> <?php $result= $editfiscal->row(); $begindate = $this->mastermodel->convdatformat($result->begin); $enddate = $this->mastermodel->convdatformat($result->end); $id=$result->id; if($result->closed==0) { $option='No'; $op_val=0; $option1='Yes'; $op_val1=1; } else { $option='Yes'; $op_val=1; $option1='No'; $op_val1=0; } $attributes = array('id' => 'customForm'); echo form_open('',$attributes); ?> <fieldset> <legend>Edit Fiscal Year</legend> <div id="viewmain"> <table> <tr> <td> <label for="description"> Begin Date</label> </td> <td> <input readonly="readonly" id="startdate" name="startdate" value="<?=$begindate?>" /> </td> </tr> <tr> <td> <label for="location"> End Date</label> </td> <td> <input readonly="readonly" id="enddate" name="enddate" value="<?=$enddate?>" /> </td> </tr> <tr> <td> <label for="location"> Closed</label> </td> <td> <select id="close" name="close"> <option value="<?=$op_val?>"><?=$option?></option> <option value="<?=$op_val1?>"><?=$option1?></option> </select> </td> </tr> <input type="hidden" id="id" name="id" value="<?=$id?>" /> <tr> <td> <br/><br/><br/> </td> </tr> <tr> <td> <button type="button" name="edit_fiscal" class="clickimage" onclick="return update_fiscal()" id="edit_fiscal" value="Update">Update</button> </td> </tr> </table></div> </fieldset> <?php echo form_close(); ?>