?
Current Path : /home1/savoy/public_html/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/public_html/savoyglobal.net/rms/application/views/accounting/view_sub_ac_settings.php |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); $this->load->view('documentreadyfunctions'); ?> <div class="icons_main"> <?php if($viewinfo) { ?> <div class="icons"> <img src="<?=base_url()?>assets/images/edit.png" title="Edit" class="clickimage" onclick="editformdata('accounting','edit_page','<?=$viewinfo->sub_account_settings_id;?>','finance_sub_account_settings','sub_account_settings_id','edit_sub_ac_settings')" alt="Add New" align = "center" width="32" height="32"/> </div> <?php } else { ?> <div class="icons"> <img src="<?=base_url()?>assets/images/add.png" title="Add New" class="clickimage" onclick="addformdisplay('add_sub_ac_settings','accounting')" alt="Add New" align = "center" width="32" height="32" /> </div> <? } ?> <div class="icons_caption"> <h4>Sub Account Settings</h4> </div> </div> <div class="clean"></div> <?php $cust=""; $emp=""; $prof=""; $sal=""; $ven=""; $maintenance=""; if($viewinfo) { $customer=$this->mastermodel->get_data_srow('finance_chart_master',$viewinfo->customer,'chart_master_id'); $cust=$customer->chart_account_code."-".$customer->chart_account_name; $employee=$this->mastermodel->get_data_srow('finance_chart_master',$viewinfo->employee,'chart_master_id'); $emp=$employee->chart_account_code."-".$employee->chart_account_name; $profitloss=$this->mastermodel->get_data_srow('finance_chart_master',$viewinfo->profitloss,'chart_master_id'); $prof=$profitloss->chart_account_code."-".$profitloss->chart_account_name; $salary=$this->mastermodel->get_data_srow('finance_chart_master',$viewinfo->salary,'chart_master_id'); $sal=$salary->chart_account_code."-".$salary->chart_account_name; $vendor=$this->mastermodel->get_data_srow('finance_chart_master',$viewinfo->vendor,'chart_master_id'); $ven=$vendor->chart_account_code."-".$vendor->chart_account_name; $maintenance_contract=$this->mastermodel->get_data_srow('finance_chart_master',$viewinfo->maintenance_contract,'chart_master_id'); $maintenance=$maintenance_contract->chart_account_code."-".$maintenance_contract->chart_account_name; } ?> <div class="grid_12"> <div class="box"> <div class="header"> </div> <div class="content"> <table id="table-example" class="table"> <thead> <tr> <th>Sub Account</th> <th>Account Name</th> </tr> </thead> <tbody> <tr> <td>Customer</td> <td> <?=$cust?> </td> </tr> <tr> <td>Employee</td> <td> <?= $emp ?> </td> </tr> <tr> <td>Profit Loss</td> <td> <?=$prof?> </td> </tr> <tr> <td>Salary</td> <td> <?=$sal?> </td> </tr> <tr> <td>Vendor</td> <td> <?=$ven?> </td> </tr> <tr> <td>Maintenance Contracting Company</td> <td> <?=$maintenance?> </td> </tr> </tbody> </table> </div> </div> </div>