?
Current Path : /home1/savoy/public_html/savoyglobal.net/sec/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/sec/application/views/accounting/edit_main_account.php |
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); $this->load->view('documentreadyfunctions'); ?> <div class="row-fluid"> <div class="tab-pane " id="tab_2"> <div class="portlet box blue"> <div class="portlet-title"> <div class="caption"><i class="icon-reorder"></i>Update Main Account</div> <div class="tools"> <a href="#" onclick="viewdata('accounting','viewinaccountingsearch','search_main_account','view_main_account','<?= $_SESSION['pagenum']; ?>')" class="remove"></a> </div> </div> <div class="portlet-body form"> <!-- BEGIN FORM--> <?php $attributes = array('id' => 'validateform', 'class' => 'form-horizontal validate'); echo form_open('accounting/addinaccounting/update_main_account/view_main_account/1', $attributes); $chart_account_type = $this->mastermodel->getdatas('finance_chart_type', 'chart_type_id', 'asc', 'chart_type_id'); ?> <h3 class="form-section"></h3> <div class="row-fluid"> <div class="span6"> <div class="control-group"> <label class="control-label">Account Code </label> <div class="controls"> <input name="chart_account_code" class="span12" type="text"id="chart_account_code" readonly="readonly" value="<?= $viewinfo->chart_account_code ?>" onblur="checkexistence('chart_master','chart_account_code',this.value)"> </div> </div> </div> <div class="span6"> <div class="control-group"> <label class="control-label">Account Name</label> <div class="controls"> <input name="chart_account_name" id="chart_account_name" class="requiredspan12" type="text" value="<?= $viewinfo->chart_account_name ?>"> </div> </div> </div> </div> <div class="row-fluid"> <div class="span6"> <div class="control-group"> <label class="control-label">Account Type</label> <div class="controls"> <input readonly="readonly" class="span12" type="text" value="<?= $this->mastermodel->get_single_field_value('finance_chart_type', 'chart_type_name', 'chart_type_id', $viewinfo->chart_type_id) ?>" > </div> </div> </div> </div> <div class="form-actions"> <input type="hidden" name="resfunction" value="search_amenities"/> <input type="hidden" name="chart_master_id" value="<?= $viewinfo->chart_master_id ?>"/> <button type="submit" onclick="addformdata('validateform')" class="btn blue"><i class="icon-ok"></i> Save</button> <button type="button" onclick="viewdata('accounting','viewinaccountingsearch','search_main_account','view_main_account','<?= $_SESSION['pagenum']; ?>')" class="btn">Cancel</button> </div> <?php echo form_close(); ?> <!-- END FORM--> </div> </div> </div> </div>