?
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/view_sub_ac_settings.php |
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); ?> <!-- BEGIN PAGE LEVEL STYLES --> <link rel="stylesheet" href="<?= base_url(); ?>assets/plugins/data-tables/DT_bootstrap.css" /> <!-- END PAGE LEVEL STYLES --> <div class="row-fluid"> <div class="span12"> <!-- BEGIN EXAMPLE TABLE PORTLET--> <div class="portlet box blue"> <div class="portlet-title"> <div class="caption"><i class="icon-cogs"></i>Sub Account Settings</div> <?php if($viewinfo) { ?> <div class="actions"> <a href="#" onclick="editformdata('accounting','edit_page','<?=$viewinfo->sub_account_settings_id;?>','finance_sub_account_settings','sub_account_settings_id','edit_sub_ac_settings')" </i><img src="<?=base_url()?>assets/img/edit-icon.gif" height="25" width="25" title="Edit" class="clickimage"></a> </div> <?php } else { ?> <div class="actions"> <a href="#" onclick="addformdisplay('add_sub_ac_settings','accounting')" class="btn green"><i class="icon-plus"></i> Add</a> </div> <?php } ?> </div> <div class="portlet-body"> <?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; $franchisee=$this->mastermodel->get_data_srow('finance_chart_master',$viewinfo->franchisee,'chart_master_id'); if(!empty($franchisee)) $fran=$franchisee->chart_account_code."-".$franchisee->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; } ?> <table class="table table-striped table-hover table-bordered" id="sample_3"> <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>Franchisee</td> <td> <?=$fran?> </td> </tr> <tr> <td>Bank Account</td> <td> <?=$bank?> </td> </tr> <tr> <td>Fee Payable A/C</td> <td> <?=$employee_fee?> </td> </tr> </tbody> </table> </div> </div> </div> </div> <div id="ajax-modal" class="modal hide fade" tabindex="-1"></div> <script> jQuery(document).ready(function() { TableManaged.init(); }); </script>