<?php

//$crud = new crudData;
$format = new format;
$time = new time;
$today = $time->tanggalIni();
?>
<div class="row mt-3">
    <div class="col-12 col-sm-12">
        <div class="bg-light py-2 px-3 mt-1">
            <div class="row">
                <div class="col-md-12">
                    <h2 class="mb-0 text-success" style="font-family:cambria">
                        <b>Rp. <?php echo $format->ribuan($crud->sum($tb_transaksi, 'jumlah', "where tanggal='$today' && nis='$nis'"));
                                ?> </b>
                    </h2>
                    <small>Pembayaran tanggal <?php echo $format->dateToIndoLong($today); ?></small>



                </div>

            </div>
        </div>
        <hr>


    </div>
</div>