?
Current Path : /home1/savoy/public_html/savoyglobal.net/sgms/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/public_html/savoyglobal.net/sgms/application/views/Accounting/add_main_account.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="viewdata('accounting','viewinaccountingsearch','search_main_account','view_main_account','<?=$_SESSION['pagenum'];?>')" alt="Back" align = "center" width="25" height="25" /> </label> <span class="heading">Inserting new Main Account</span> </div> <fieldset> <?php $attributes=array('id'=>'validateform','class'=>'customForm'); echo form_open('accounting/addinaccounting/add/view_main_account/1',$attributes); $account_type=$this->mastermodel->getdatas('account_type','account_type_id'); ?> <ul> <li> <label for="data">Account Name</label> <input type="text" name="chart_account_name" id="chart_account_name" class="required" /> </li> <li> <label for="data">Account Code</label> <input type="text" name="chart_account_code" id="chart_account_code" class="required" onblur="checkexistence('chart_master','chart_account_code',this.value)" /> </li> <li> <label for="data">Account Type</label> <select name="chart_account_type" id="chart_account_type" class="required" > <option value="">Select</option> <?php foreach($account_type as $list) { ?> <option value="<?=$list['account_type_id'];?>"><?=$list['type'];?></option> <?php } ?> </select> </li> <li> <input type="hidden" name="tab_name" value="chart_master"/> <input type="hidden" name="resfunction" value="search_main_account"/> <label for="submit"> </label> <button type="submit" id="submit" class="clickimage" onclick="addformdata('validateform')">Save</button> </li> </ul> <?php echo form_close();?> </fieldset>