<div class="col-sm-10">
    <div class="row ">
        <div class="col-sm-12 ">
            <span class="col-sm-6 text-left">
                <input type="hidden" id="baseUrl" value="<?php echo base_url(); ?>">
            </span>
        </div>
        <div class="col-sm-12">
            <hr><br>
        </div>



        <div class="col-sm-12">
            <br>
        </div>

        <div class="col-sm-12">
            <div class="col-sm-12  text-left  "style="margin-bottom: 5px;font-weight: bold;border-bottom: 2px solid limegreen">
                <div class="col-sm-2">Student Name</div>
                <div class="col-sm-2 text-center">Total</div>
                <div class="col-sm-2 text-center">Paid</div>
                <div class="col-sm-2 text-center">Due</div>
                <div class="col-sm-2 text-center">TT</div>
                <div class="col-sm-2 text-center">User</div>
            </div>

            <?php
            if (!empty($student_info)) {
                foreach ($student_info as $value) {
                    ?>
                    <div class="col-sm-12 text-left " style="padding: 10px;background-color:#F2F9EA;border: 1px solid #ededed">
                        <input type="hidden" id="paymentID<?php echo $value->student_roll_number; ?>" value="<?php echo $encrypt_payment_id[$value->student_id]; ?>">
                        <input type="hidden" id="status<?php echo $value->student_roll_number; ?>" value="">
                        <div class="col-sm-2"><a href="<?php echo base_url($person_info[$value->student_id]->url); ?>"><?php echo $person_info[$value->student_id]->person_first_name . ' ' . $person_info[$value->student_id]->person_last_name ?></a></div>
                        <div class="col-sm-2 text-center"><?php
                            echo round($payable_amount[$value->student_id]) . $payment_currency_sign[$value->student_id];
                            ?></div>
                        <div class="col-sm-2 text-center"><?php
                            echo round($paid_amount[$value->student_id]) . $payment_currency_sign[$value->student_id];
                            ?></div>
                        <div class="col-sm-2 text-center"><?php
                            echo round($due_amount[$value->student_id]) . $payment_currency_sign[$value->student_id];
                            ?></div>
                        <div class="col-sm-2 text-center"><?php
                            echo round($tt_amount[$value->student_id]) . $payment_currency_sign[$value->student_id];
                            ?></div>
                        <div class="col-sm-2 text-center"><?php
                            echo round($user_amount[$value->student_id]) . $payment_currency_sign[$value->student_id];
                            ?></div>
                    </div>
                    <div class="col-sm-12 form-group"></div>
                    <?php
                }
            }
            ?>
            <div class="col-sm-12"><hr></div> 
            <div class="col-sm-12 white_ttc " style="font-family: Times New Roman;border-top: 2px solid #8CC73F;border-bottom: 2px solid #8CC73F;padding: 10px;font-weight: bold;">
                <div class="col-sm-2 padding-zero ">Total</div>
                <div class="col-sm-2 padding-zero text-center"><?php echo round($total_payable_amount) . $currency_sign;  ?></div>
                <div class="col-sm-2 padding-zero text-center"><?php echo round($total_paid_amount) . $currency_sign; ?></div>
                <div class="col-sm-2 padding-zero text-center"><?php echo round($total_due_amount) . $currency_sign; ?></div>
                <div class="col-sm-2 padding-zero text-center"><?php echo round($total_tt_amount) . $currency_sign;  ?></div>
                <div class="col-sm-2 padding-zero text-center"><?php echo round($total_user_amount) . $currency_sign;  ?></div>
                <!--<div class="col-sm-1 padding-zero text-center"></div>-->
            </div>
        </div>
    </div>
</div>