            <div class="row profile">
                <div class="col-md-12">
                    <!--BEGIN TABS-->
                    <div class="tabbable tabbable-custom tabbable-full-width">
                        <div id="response_msg"></div>
                        <div class="tab-content">
                            <div class="tab-pane active" id="tab_1_1">
                                <div class="row">
                                    <div class="col-md-12">
                                        
                                        <h4 class="col-md-12">UNA Payment Account Details</h4>
                                        <hr>
                                        
                                        <div class="row">
                                            <div class="col-md-offset-1 col-md-10">
                                                <table class="table table-hover table-bordered table-striped">
                                                    <tr>
                                                        <td>
                                                            <strong>UNA Payment ID</strong>
                                                        </td>
                                                        <td>
                                                            <?php echo $una_payment_details->id; ?>
                                                        </td>
                                                        <td>
                                                            <strong>Payment Date</strong>
                                                        </td>
                                                        <td>
                                                            <?php echo $una_payment_details->date; ?>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td>
                                                            <strong>Payment Amount</strong>
                                                        </td>
                                                        <td>
                                                            <?php echo 'Rs. '.number_format($una_payment_details->amount,2,'.',','); ?>
                                                        </td>
                                                        <td></td>
                                                        <td></td>
                                                    </tr>
                                                </table>
                                            </div>
                                            <!--end col-md-10-->
                                        </div>
                                        <!--end row-->   
                                        
                                        <h4 class="col-md-12">UNA Payment Methods</h4>
                                        <hr>
                                        
                                        <div class="row">
                                            <div class="col-md-offset-1 col-md-10">
                                        
                                                <?php  if($una_payment_items){ ?>
                                                    <table class="table table-hover table-bordered table-striped">
                                                        <tr>
                                                            <th>
                                                                <strong>Payment Method</strong>
                                                            </th>
                                                            <td>
                                                                <strong>Payment Amount</strong>
                                                            </td>
                                                        </tr>
                                                        <?php foreach($una_payment_items as $una_payment_item){ ?>
                                                        <tr>
                                                            <td>
                                                                <?php
                                                                if($una_payment_item['item_type'] == 'Gold'){
                                                                    echo $una_payment_item['item_type'].' ( '.$una_payment_item['description'].' )';
                                                                
                                                                }else if($una_payment_item['item_type'] == 'Cash at bank'){
                                                                    $account_details = $this->admin_db->get_account_details_by_id($una_payment_item['item_id']);
                                                                    echo $una_payment_item['item_type'].' ( '.$account_details->bank_name.' - '.$account_details->account_number.' )';
                                                                
                                                                }else if($una_payment_item['item_type'] == 'Creditor'){
                                                                    $creditor_details = $this->admin_db->get_creditor_by_id($una_payment_item['item_id']);
                                                                    echo $una_payment_item['item_type'].' ( '.$creditor_details->creditor_name.' )';
                                                                    
                                                                }
                                                                
                                                                
                                                                
                                                                
                                                                
                                                                
                                                                else{
                                                                    echo $una_payment_item['item_type'];
                                                                }
                                                                
                                                                
                                                                
                                                                
                                                                
                                                                
                                                                
                                                                ?>
                                                            </td>
                                                            <td>
                                                                <?php echo 'Rs. '.number_format($una_payment_item['amount'],2,'.',','); ?>
                                                            </td>
                                                        </tr>
                                                        <?php } ?>
                                                    </table>
                                                <?php } ?>
                                                </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <!--end tab-pane-->
                        </div>
                    </div>
                    <!--END TABS-->
                </div>
            </div>
            <!-- END PAGE CONTENT-->
        </div>
    </div>
    <!-- END CONTENT -->
<!-- END QUICK SIDEBAR -->
</div>