?
Current Path : /home1/savoy/public_html/savoyglobal.net/sec_old/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_old/application/views/accounting/edit_bank_account.php |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); $this->load->view('documentreadyfunctions'); ?> <div class="icons_main"> <div class="icons"> <img src="<?=base_url()?>assets/images/back.png" title="Back" class="clickimage" onclick="viewdata('accounting','viewinaccountingsearch','search_bank_account','view_bank_account','<?=$_SESSION['pagenum'];?>')" alt="Back" align = "center" width="32" height="32" /> </div> <div class="icons_caption"> <h4>Update Bank Account</h4> </div> </div> <?php $attributes=array('id'=>'validateform','class'=>'validate'); echo form_open('accounting/addinaccounting/update_bank_account/view_bank_account/1',$attributes); $acc_main=$this->mastermodel->get_data('finance_chart_master','0','parent','chart_type_id'); $currency=$this->mastermodel->getdatas('finance_currency','currency_id','asc'); $main_account=$this->mastermodel->get_data_srow('finance_chart_master',$viewinfo->chart_account_code,'chart_account_code'); ?> <input type="hidden" name="bank_account_id" value="<?=$viewinfo->bank_account_id?>"/> <div class="clean"></div> <div class="grid_6"> <div class="box"> <div class="header"> <span></span> </div> <div class="content no-padding"> <div class="section _100"> <label>Chart A/C Code</label> <div> <input readonly="readonly" id="" class="" value="<?=$viewinfo->chart_account_code?>" /> </div> </div> <div class="section _100"> <label>A/C Name</label> <div> <input readonly="readonly" name="chart_account_name" id="chart_account_name" class="required" value="<?=$main_account->chart_account_name?>" > </div> </div> <div class="section _100"> <label>Main Account</label> <div style="margin:10px 1px;"> <?php foreach ($acc_main as $accsub) { if($main_account->parent==$accsub['chart_master_id']) echo '<input readonly="readonly" id="" class="" value="'.$accsub['chart_account_code']."~" . $accsub['chart_account_name'].'" />'; } ?> </div> </div> <div class="section _100"> <label>Bank Name</label> <div> <input name="bank_name" id="bank_name" class="required" value="<?=$viewinfo->bank_name?>"> </div> </div> <div class="section _100"> <label>A/C No</label> <div> <input name="bank_account_number" id="bank_account_number" class="required" value="<?=$viewinfo->bank_account_number?>" > </div> </div> </div> </div> </div> <div class="grid_6"> <div class="box"> <div class="header"> <span></span> </div> <div class="content no-padding"> <div class="section _100"> <label>Bank Address</label> <div> <textarea name="bank_address" id="bank_address" style="height: 52px;" ><?=$viewinfo->bank_address?> </textarea> </div> </div> <div class="section _100"> <label>Currency</label> <div style="margin:10px 1px;"> <select name="currency_id" class="required chzn-done" > <option value="">Select</option> <?php foreach($currency as $cur) { echo "<option value='". $cur['currency_id'] . "'" ;if($viewinfo->currency_id==$cur['currency_id']) echo "selected"; echo " >" . $cur['currency_name']. "</option>"; } ?> </select> </div> </div> </div> </div> </div> <div class="grid_12" style="width: 98%" > <div class="box"> <div class="actions"> <div class="actions-left"> <input type="reset"> <input type="hidden" name="resfunction" value="search_amenities"/> </div> <div class="actions-right"> <button style="margin-left: 130px;" type="submit" id="submit" class="clickimage" onclick="addformdata('validateform')">Save</button> </div> </div> </div> </div> <?php echo form_close();?>