?
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_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">Inserting new Bank Account</span> </div> <fieldset> <?php $attributes=array('id'=>'validateform','class'=>'customForm'); echo form_open('accounting/addinaccounting/insert_bank_account/view_bank_account/1',$attributes); $account_type=$this->mastermodel->getdatas('account_type','account_type_id'); $currency=$this->mastermodel->getdatas('currency','currency_id'); ?> <div style="display:none" id="temp"></div> <ul> <li> <label for="data"> A/C Code</label> <input type="text" name="account_code" id="account_code" class="required" onblur="checkexistence('bank_account','account_code',this.value),checkchartmaster('chart_master','chart_account_code',this.value)" /> </li> <li> <label for="data"> A/C Name</label> <input type="text" name="bank_account_name" id="bank_account_name" class="required" /> </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'];?>"><?=$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"/> </li> <li> <label for="data">Bank Name</label> <input type="text" name="bank_name" id="bank_name" /> </li> <li> <label for="data">Bank Address</label> <textarea name="bank_address" id="bank_address" cols="10" rows="5"></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'];?>"><?=$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" /> </li> <li> <label for="data">Reconcile Balance</label> <input type="text" name="ending_reconcile_balance" id="ending_reconcile_balance"/> </li> <li> <input type="hidden" name="tab_name" value="bank_account"/> <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>