            <div class="row profile">
                <div class="col-md-12">
                    <!--BEGIN TABS-->
                    <div class="tabbable tabbable-custom tabbable-full-width">
                        <div id="response_msg"></div>
                        <ul class="nav nav-tabs">
                            <li class="active">
                                <a href="#tab_1_1" data-toggle="tab"> Overview </a>
                            </li>
                            <li>
                                <!--<a href="#tab_1_3" data-toggle="tab"> Edit Details </a>-->
                            </li>
                        </ul>
                        <div class="tab-content">
                            <div class="tab-pane active" id="tab_1_1">
                                <div class="row">
                                    <div class="col-md-12">
                                        <div class="row">
                                            <div class="col-md-offset-1 col-md-10">
                                                <table class="table table-hover table-bordered table-striped">
                                                    <tr>
                                                        <td>
                                                            <strong>Other Income ID</strong>
                                                        </td>
                                                        <td>
                                                            <?php echo $income_details->id; ?>
                                                        </td>
                                                        <td>
                                                            <strong>Date</strong>
                                                        </td>
                                                        <td>
                                                            <?php echo $income_details->date; ?>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td>
                                                            <strong>Other Income</strong>
                                                        </td>
                                                        <td>
                                                            <?php echo $income_details->other_income; ?>
                                                        </td>
                                                        <td>
                                                            <strong>Payment Method</strong>
                                                        </td>
                                                        <td>
                                                            <?php echo $income_details->payment_method; ?>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td>
                                                            <strong>Payment Amount</strong>
                                                        </td>
                                                        <td>
                                                            <?php echo 'Rs. '.number_format($income_details->amount,2,'.',','); ?>
                                                        </td>
                                                        <?php if($income_details->other_income == 'Old Gold' || $income_details->other_income == 'Old Gold'){ ?>
                                                            <td>
                                                                <strong>Customer Name</strong>
                                                            </td>
                                                            <td>
                                                                <?php 
                                                                $customer_details = $this->admin_db->get_customer_by_id($income_details->customer_id);
                                                                echo $customer_details->customer_name; 
                                                                ?>
                                                            </td>
                                                        <?php }else{ ?>
                                                            <td></td>
                                                            <td></td>
                                                        <?php }?>
                                                    </tr>
                                                    
                                                    <tr>
                                                        <td>
                                                            <strong>Other Income Status</strong>
                                                        </td>
                                                        <td>
                                                            <?php
                                                            if($income_details->status == '1'){
                                                                echo '<span class="label label-success">Payment Completed</span>';
                                                            }else if($income_details->status == '2'){
                                                                echo '<span class="label label-warning">Payment Pending</span>';
                                                            }else if($income_details->status == '3'){
                                                                echo '<span class="label label-danger">Cheque Returned</span>';
                                                            }else if($income_details->status == '4'){
                                                                echo '<span class="label label-danger">Cheque Cancelled</span>';
                                                            }
                                                            ?>
                                                        </td>
                                                        <td>
                                                            <strong>Other Income Description</strong>
                                                        </td>
                                                        <td>
                                                            <?php echo $income_details->description; ?>
                                                        </td>
                                                    </tr>
                                                    <?php if($income_details->payment_method == 'Cheque'){ ?>
                                                    <tr>
                                                        <td>
                                                            <strong>Cheque Issued Bank Name</strong>
                                                        </td>
                                                        <td>
                                                            <?php 
                                                            $cheque_account_details = $this->admin_db->get_bank_by_id($income_details->bank_id);
                                                            echo $cheque_account_details->bank_name; 
                                                            ?>
                                                        </td>
                                                        <td>
                                                            <strong>Cheque Number</strong>
                                                        </td>
                                                        <td>
                                                            <?php echo $income_details->cheque_number; ?>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td>
                                                            <strong>Cheque Deposit Date</strong>
                                                        </td>
                                                        <td>
                                                            <?php echo $income_details->cheque_deposit_date; ?>
                                                        </td>
                                                        <td></td>
                                                        <td></td>
                                                    </tr>
                                                    <?php } ?>

                                                    <?php if($income_details->payment_method == 'Bank Deposit'){ ?>
                                                    <tr>
                                                        <td>
                                                            <strong>Deposited To Bank Name</strong>
                                                        </td>
                                                        <td>
                                                            <?php 
                                                            $bank_account_details = $this->admin_db->get_account_details_by_id($income_details->account_id);
                                                            echo $bank_account_details->bank_name; 
                                                            ?>
                                                        </td>
                                                        <td>
                                                            <strong>Deposited To Account Number</strong>
                                                        </td>
                                                        <td>
                                                            <?php echo $bank_account_details->account_number; ?>
                                                        </td>
                                                    </tr>
                                                    <?php } ?>
                                                </table>
                                            </div>
                                            <!--end col-md-10-->
                                        </div>
                                        <!--end row-->   
                                    </div>
                                </div>
                            </div>
                            <!--tab_1_2-->
                            <div class="tab-pane" id="tab_1_3">
                                <div class="row profile-account">
                                    <div class="col-md-3">
                                        <ul class="ver-inline-menu tabbable margin-bottom-10">
                                            <li class="active">
                                                <a data-toggle="tab" href="#tab_1-1">
                                                <i class="fa fa-cog"></i> Item info </a>
                                                <span class="after">
                                                </span>
                                            </li>
                                        </ul>
                                    </div>
                                        <div class="col-md-9">
                                            <div class="tab-content">
                                                <div id="tab_1-1" class="tab-pane active">
                                                    <form id="edit_expense_category" class="form-horizontal" method="post" enctype="multipart/form-data"  novalidate="novalidate">
                                                        <input type="hidden" name="category_id" id="category_id" class="form-control" value="<?php echo $category_details->id; ?>"/>
                                                        <div class="form-body">
                                                            <div class="form-group">
                                                                <label class="col-md-3 control-label pull-left">Category Name</label>
                                                                <div class="col-md-6">
                                                                    <input type="text" name="category_name" id="category_name" class="form-control" value="<?php echo $category_details->category_name; ?>"/>
                                                                </div>
                                                            </div>
                                                            <div class="form-group">
                                                                <label class="col-md-3 control-label pull-left">Description</label>
                                                                <div class="col-md-6">
                                                                    <textarea name="description" id="description" class="form-control"><?php echo $category_details->description; ?></textarea>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="form-actions fluid">
                                                            <div class="col-md-3"></div>
                                                            <div class="col-md-6">
                                                                <button type="submit" class="btn green"> Submit </button>
                                                            </div>
                                                        </div>
                                                    </form>
                                                </div>
                                            </div>
                                        </div>
                                        <!--end col-md-9-->
                                </div>
                            </div>
                            <!--end tab-pane-->
                        </div>
                    </div>
                    <!--END TABS-->
                </div>
            </div>
            <!-- END PAGE CONTENT-->
        </div>
    </div>
    <!-- END CONTENT -->
<!-- END QUICK SIDEBAR -->
</div>