?
Current Path : /home1/savoy/public_html/oscarerp.com/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/oscarerp.com/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-icon.gif" 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> <?php } ?> <div class="icons_caption"> <h4>Sub Account Settings</h4> </div> </div> <div class="clean"></div> <?php $emp=""; $prof=""; $sal=""; $stu=""; $fran=""; $bank=""; $employee_fee=""; if($viewinfo) { $employee=$this->mastermodel->get_data_srow('finance_chart_master',$viewinfo->employee,'chart_master_id'); if(!empty($employee)) $emp=$employee->chart_account_code."-".$employee->chart_account_name; $profitloss=$this->mastermodel->get_data_srow('finance_chart_master',$viewinfo->profitloss,'chart_master_id'); if(!empty($profitloss)) $prof=$profitloss->chart_account_code."-".$profitloss->chart_account_name; $salary=$this->mastermodel->get_data_srow('finance_chart_master',$viewinfo->salary,'chart_master_id'); if(!empty($salary)) $sal=$salary->chart_account_code."-".$salary->chart_account_name; $student=$this->mastermodel->get_data_srow('finance_chart_master',$viewinfo->student,'chart_master_id'); if(!empty($student)) $stu=$student->chart_account_code."-".$student->chart_account_name; $bank_account=$this->mastermodel->get_data_srow('finance_chart_master',$viewinfo->bank_account,'chart_master_id'); if(!empty($bank_account)) $bank=$bank_account->chart_account_code."-".$bank_account->chart_account_name; $employee_fee_payable=$this->mastermodel->get_data_srow('finance_chart_master',$viewinfo->employee_fee_payable,'chart_master_id'); if(!empty($employee_fee_payable)) $employee_fee=$employee_fee_payable->chart_account_code."-".$employee_fee_payable->chart_account_name; $bank_account=$this->mastermodel->get_data_srow('finance_chart_master',$viewinfo->bank_account,'chart_master_id'); if(!empty($bank_account)) $bank=$bank_account->chart_account_code."-".$bank_account->chart_account_name; $allowance_ac=$this->mastermodel->get_data_srow('finance_chart_master',$viewinfo->allowance,'chart_master_id'); if(!empty($allowance_ac)) $allowance=$allowance_ac->chart_account_code."-".$allowance_ac->chart_account_name; $deduction_ac=$this->mastermodel->get_data_srow('finance_chart_master',$viewinfo->deduction,'chart_master_id'); if(!empty($deduction_ac)) $deduction=$deduction_ac->chart_account_code."-".$deduction_ac->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>Employee</td> <td> <?= $emp ?> </td> </tr> <tr> <td>Student</td> <td> <?=$stu?> </td> </tr> <tr> <td>Profit Loss</td> <td> <?=$prof?> </td> </tr> <tr> <td>Salary</td> <td> <?=$sal?> </td> </tr> <tr> <td>Bank Account</td> <td> <?=$bank?> </td> </tr> <tr> <td>Fee Payable A/C</td> <td> <?=$employee_fee?> </td> </tr> <tr> <td>Allowance</td> <td> <?=$allowance?> </td> </tr> <tr> <td>Deduction</td> <td> <?=$deduction?> </td> </tr> </tbody> </table> </div> </div> </div>