?
Current Path : /home1/savoy/www/savoyglobal.net/rms/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/www/savoyglobal.net/rms/application/views/accounting/single_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>Bank Account</h4> </div> </div> <?php $attributes=array('id'=>'validateform','class'=>'validate'); echo form_open('',$attributes); $acc_main=$this->mastermodel->get_data('finance_chart_master','0','parent','chart_type_id'); $currency=$this->mastermodel->getdatas('finance_currency','currency_id','asc','currency_id'); $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" value="<?=$viewinfo->chart_account_code?>" /> </div> </div> <div class="section _100"> <label>A/C Name</label> <div> <input readonly="readonly" value="<?=$main_account->chart_account_name?>" > </div> </div> <div class="section _100"> <label>Main Account</label> <div> <?php foreach ($acc_main as $accsub) { if($main_account->parent==$accsub['chart_master_id']) echo '<input readonly="readonly" value="'.$accsub['chart_account_code'].'~'.$accsub['chart_account_name'].'"/>'; } ?> </div> </div> <div class="section _100"> <label>Bank Name</label> <div> <input readonly="readonly" value="<?=$viewinfo->bank_name?> "/> </div> </div> <div class="section _100"> <label>A/C No</label> <div> <input readonly="readonly" 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 readonly="readonly" style="height: 60px;" ><?=$viewinfo->bank_address?> </textarea> </div> </div> <div class="section _100"> <label>Currency</label> <div> <?php foreach($currency as $cur) { if($viewinfo->currency_id==$cur['currency_id']) echo '<input readonly="readonly" value="'.$cur['currency_name'].'"/>'; } ?> </div> </div> <div class="section _100"> <label>Last Reconcile Date</label> <div> <input readonly="readonly" value="<?=$this->mastermodel->convertdatenormalformat($viewinfo->last_reconciled_date)?>" /> </div> </div> <div class="section _100"> <label>Reconcile Balance</label> <div> <input readonly="readonly" value="<?=$viewinfo->ending_reconcile_balance?>"/> </div> </div> </div> </div> </div> <?php echo form_close();?>