?
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/edit_bank_account.php |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); $this->load->view('documentreadyfunctions'); ?> <div class="select-bar"> <label><img src="<?=base_url()?>assets/images/backbutton.png" title="Back" class="clickimage" onclick="viewdata('accounting','viewinaccountingsearch','search_bank_account','view_bank_account','<?=$_SESSION['pagenum'];?>')" alt="Back" align = "center" width="25" height="25" /> </label> <span class="heading">Update Bank Account</span> </div> <fieldset> <?php $attributes=array('id'=>'validateform','class'=>'customForm'); echo form_open('accounting/addinaccounting/update_bank_account/view_bank_account/1',$attributes); $account_type=$this->mastermodel->getdatas('account_type','account_type_id'); $currency=$this->mastermodel->getdatas('currency','currency_id'); ?> <ul> <li> <label for="data"> A/C Code</label> <input type="text" name="account_code" readonly id="account_code" class="required" value="<?=$viewinfo->account_code;?>" /> </li> <li> <label for="data"> A/C Name</label> <input type="text" name="bank_account_name" id="bank_account_name" class="required" value="<?=$viewinfo->bank_account_name;?>" /> </li> <li> <label for="data">Account Type</label> <select name="account_type_id" id="account_type_id" class="required" > <option value="">Select</option> <?php foreach($account_type as $list) { ?> <option value="<?=$list['account_type_id'];?>" <?php if($list['account_type_id']==$viewinfo->account_type_id){echo "selected";} ?>><?=$list['type'];?></option> <?php } ?> </select> </li> <li> <label for="data"> A/C No</label> <input type="text" name="bank_account_number" id="bank_account_number" value="<?=$viewinfo->bank_account_number;?>" /> </li> <li> <label for="data">Bank Name</label> <input type="text" name="bank_name" id="bank_name" value="<?=$viewinfo->bank_name;?>" /> </li> <li> <label for="data">Bank Address</label> <textarea name="bank_address" id="bank_address" cols="10" rows="5"><?=$viewinfo->bank_address;?></textarea> </li> <li> <label for="data">Currency Type</label> <select name="currency_id" id="currency_id" class="required" > <option value="">Select</option> <?php foreach($currency as $list) { ?> <option value="<?=$list['currency_id'];?>" <?php if($list['currency_id']==$viewinfo->currency_id){echo "selected";} ?>><?=$list['currency_name'];?></option> <?php } ?> </select> </li> <li> <label for="data">Last Reconcile Date</label> <input type="text" name="last_reconciled_date" id="last_reconciled_date" class="calfocus" value="<?=$this->mastermodel->convertdatenormalformat($viewinfo->last_reconciled_date);?>" /> </li> <li> <label for="data">Reconcile Balance</label> <input type="text" name="ending_reconcile_balance" id="ending_reconcile_balance" value="<?=$viewinfo->ending_reconcile_balance;?>" /> </li> <li> <input type="hidden" name="tab_name" value="bank_account"/> <input type="hidden" name="bank_account_id" value="<?=$viewinfo->bank_account_id;?>"/> <input type="hidden" name="resfunction" value="search_bank_account"/> <label for="submit"> </label> <button type="submit" id="submit" class="clickimage" onclick="addformdata('validateform')">Save</button> </li> </ul> <?php echo form_close();?> </fieldset>