
<style type="text/css">
    .table thead tr >th{
        background-color:#4c0870;
        width:16% !important;
        color:#fff;
    }
    .table thead tr th[class*='sorting_'] {
        color: #fff;
    }
</style>
<script src="<?php echo VIEWS; ?>files/towords.js"></script>
<div class="panel ">
    <div class="panel-heading">
        <div class=" panel-title" ><?php echo!$IsBank ? CommonLanguage::getMessage('cash_list') : CommonLanguage::getMessage('bank_list'); ?> </div>
    </div>
    <div class="panel-body">
        <table class="table table-striped table-hover" id="tableWithSearch">
            <thead>
                <tr>
                    <th class="text-center" ><?php print CommonLanguage::getMessage('Code'); ?></th>
                    <th class="text-center" ><?php print CommonLanguage::getMessage('Name'); ?></th>
                    <th class="text-center" ><?php print CommonLanguage::getMessage('Balance'); ?></th>
                </tr>
            </thead>
            <tbody>
                <?php
                for ($i = 0; $i < count($list) - 1; $i++) {
                    ?>
                    <tr>

                        <td  class='v-align-middle text-center'><?php echo $list[$i]["Code"]; ?></td>
                        <td  class='v-align-middle text-center'><?php echo $list[$i]["Name"]; ?></td>
                        <td  class='v-align-middle text-center'><span class='CurrencyIndicator'><?php echo $CurrSymbole; ?></span>&nbsp;<span ><?php echo CommonFunctions::formatNumber($list[$i]["Balance"]); ?></span></td>
                    </tr>
                <?php } ?>
            </tbody>
        </table>
        <br/>
        <br/>
    </div>
</div>

