
<style>
    .complete ,.btn-group  .active{
        background-color:#ed9421 !important;
        color:#fff;
    }
    .btn-default{
        border: none;
    }
    .btn-default:hover{
        background-color:#ed9421 !important;
        color:#fff;
        border: none;
    }  
    .bg-master-lighter {
        border:none;
        background-color:#fff;
        border-top:1px solid #ddd;  
    }
    .table thead tr >th{

        background-color:#4c0870;
        color:#fff;
    }
    .table thead tr th[class*='sorting_'] {
        color: #fff;
    }


</style>
<script src="<?php echo JS_PATH; ?>scripts.js"></script>

<div class="container-fluid container-fixed-lg">
    <div class="panel panel-default">
        <div class="panel-body">
            <h4 class="bold"><?php echo  $IsVendor ? CommonLanguage::getMessage('vendor_list') : CommonLanguage::getMessage('customer_list') ?> </h4>

            <div class="col-md-12 DatePicker">
                <div class="invoice padding-50 sm-padding-10">
                    <div class="container-sm-height">
                        <div class="row-sm-height">
                            <div class="col-md-9 col-sm-height sm-no-padding">
                                <div>

                                    <div class="pull-left">
                                        <div class="col-xs-12">
                                            <p>Name : <?php echo $DebitCreditList[$IsVendor ? 'Supplier_Name' : 'Customer_Name' ]?></p> 
                                            <p>Email : <?php echo $DebitCreditList[$IsVendor ? 'Supplier_Email' : 'Customer_Email' ]?></p> 
                                            <p>Company : <?php echo $DebitCreditList[$IsVendor ? 'Supplier_Company' : 'Customer_Company' ]?></p> 
                                            <p>Code : <?php echo $DebitCreditList['Account_Code']?></p> 
                                            
                                        </div>
                                    </div>



                                    <div class="clearfix"></div>

                                </div>

                            </div>



                        </div>
                    </div>

                    <br>
                    <table class="table table-bordered table-hover" id='tableWithSearch'>
                        <thead>
                            <tr>
                                <th style="text-align:center;" ><?php print CommonLanguage::getMessage('jv');?> #</th>

                                <th style="text-align:center;"><?php print CommonLanguage::getMessage('Type');?></th>
                                <th style="text-align:center;"><?php print CommonLanguage::getMessage('Date');?></th>
                                <th style="text-align:center;"><?php print CommonLanguage::getMessage('amount');?></th>
                                <th style="text-align:center;"><?php print CommonLanguage::getMessage('Description');?></th>

                            </tr>
                        </thead>
                        <tbody>
                            
                        </tbody>
                    </table>

                </div>
            </div>


        </div>
    </div>
</div>

<script>
    
    var id = <?php echo $Account_ID; ?>,
        title =<?php echo  json_encode($IsVendor ? CommonLanguage::getMessage('vendor_list') : CommonLanguage::getMessage('customer_list')); ?>;
    $(function(){
        var data =  {
				id: id
			};
                RebuildDataTable(title,[0,1,2,3,4],"ACCAjax/DebitListPerCustomerRequest",data);





    });

</script>


