?
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/single_bank_account.php |
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); $this->load->view('documentreadyfunctions'); ?> <link rel="stylesheet" type="text/css" href="<?= base_url() ?>/assets/plugins/chosen-bootstrap/chosen/chosen.css" /> <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>Bank Account</div> <div class="tools"> <a href="#" onclick="viewdata('accounting','viewinaccountingsearch','search_bank_account','view_bank_account','<?=$_SESSION['pagenum'];?>')" class="remove"></a> </div> </div> <div class="portlet-body form"> <!-- BEGIN FORM--> <div class="form-horizontal form-view form-bordered"> <?php $attributes = array('id' => 'validateform', 'class' => 'form-horizontal 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'); ?> <div class="row-fluid"> <div class="span6"> <div class="control-group"> <label class="control-label">A/C Code </label> <div class="controls"> <span class="text bold"><?=$viewinfo->chart_account_code?></span> </div> </div> </div> <div class="span6"> <div class="control-group"> <label class="control-label">Bank Name</label> <div class="controls"> <span class="text bold"><?=$viewinfo->bank_name?></span> </div> </div> </div> </div> <div class="row-fluid"> <div class="span6"> <div class="control-group"> <label class="control-label">A/C No</label> <div class="controls"> <span class="text bold"><?=$viewinfo->bank_account_number?></span> </div> </div> </div> <div class="span6"> <div class="control-group"> <label class="control-label">A/C Name</label> <div class="controls"> <span class="text bold"><?=$main_account->chart_account_name?></span> </div> </div> </div> </div> <div class="row-fluid"> <div class="span6"> <div class="control-group"> <label class="control-label">Main Account</label> <div class="controls"> <?php foreach ($acc_main as $accsub) { if($main_account->parent==$accsub['chart_master_id']) echo '<span class="text bold">'.$accsub['chart_account_code']."~" . $accsub['chart_account_name'].'</span>'; } ?> </div> </div> </div><div class="span6"> <div class="control-group"> <label class="control-label">Currency</label> <div class="controls"> <span class="text bold"> <?php foreach($currency as $cur) { if($viewinfo->currency_id==$cur['currency_id']) echo $cur['currency_name']; } ?> </span> </div> </div> </div> </div> <div class="row-fluid"> <div class="span6"> <div class="control-group"> <label class="control-label">Bank Address</label> <div class="controls"> <span class="text bold"><?=$viewinfo->bank_address?></span> </div> </div> </div> </div> <?php echo form_close(); ?> <!-- END FORM--> </div> </div> </div> </div> </div>