?
Current Path : /home1/savoy/www/savoyglobal.net/drafthr/system/application/views/Accounting/ |
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/www/savoyglobal.net/drafthr/system/application/views/Accounting/edit_chart_group.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="showchart_group(1,'account_name','')" alt="Back" align = "center" width="25" height="25" /></label> </div> <?php $attributes = array('id' => 'customForm'); echo form_open('',$attributes); $result= $editchart_group->row(); $acctype_val= $this->customermodel->getSingleFieldValue('char_type','chart_types','id',$result->chart_type); ?> <fieldset> <table style="padding:15px 0 0 25px"> <caption>Edit Main Account</caption> <tr height="35px"> <td> <label> Account Code:</label> </td> <td> <input type="text" name="account_code" id="account_code" readonly value="<?=$result->account_code;?>" /> <span id="startInfo" class="red_bold">*</span> </td> </tr> <tr height="25px"> <td> <label> Account Name :</label> </td> <td> <input type="text" value="<?php echo $result->account_name; ?>" name="accname" id="accname"/> <span id="accnameInfo" class="red_bold">*</span> </td> </tr> <tr height="25px"> <td> <label> Account Type :</label> </td> <td> <select style="width: 160px" id="acc_group" name="acc_group"> <option value="<?=$result->chart_type?>"><?=$acctype_val?></option> <?php $acc_groups=$this->mastermodel->getdatas('char_type'); if (count($acc_groups)) { foreach ($acc_groups as $key => $acc) { if($acc['chart_types']!=$acctype_val) { echo "<option value='". $acc['id'] . "' >" . $acc['chart_types'] . "</option>"; } } } ?> </select> </td> </tr> <tr height="55px"> <td></td> <td> <button type="button" class="clickimage" name="class-update" onclick="updatechart_group('<?= $result->id; ?>' ,'<?= $currpage ?>','<?=$field ?>','<?=$text ?>')" id="class-update"> Update Account </button> </td> </tr> </table> </fieldset> <?php echo form_close(); ?>