<?php
//Data Realisasi
//RKAS
$crud = new crudData;
$laporan = new simakom_laporan();

$lembaga = new lembaga();
$periode = $lembaga->nowPeriode();

//$kas = $laporan->summarySABKU($tb_transaksi, $periode, $tahun);
//$kasTunai = $laporan->summarySATunai($tb_transaksi, $periode, $tahun);
//$kasBank = $laporan->summarySABank($tb_transaksi, $periode, $tahun);
?>
<div class="row">
    <div class="col-12 col-sm-12">
        <div class="bg-light py-2 px-3 mt-1">
            <h2 class="mb-0 text-primary" style="font-family:cambria">
                <b>Rp. <?php echo $format->numberFormat($laporan->summarySABKU($tb_transaksi, 12, $tahun), 0); ?></b> <?php //echo $format->ribuan($kasToday) . ' ' . $signToday;
                                                                                                                        ?>
            </h2>
            <small>Saldo Buku Kas Umum</small>

        </div>
        <hr>

        <div class="row mt-1">
            <div class="col-sm-12 col-md-12">
                <dl class="row">
                    <dd class="col-sm-4 text">Kas Tunai</dd>
                    <dd class="col-sm-8">: Rp. <?php echo $format->ribuan($laporan->summarySATunai($tb_transaksi, 12, $tahun));
                                                ?></dd>
                    <dd class="col-sm-4">Kas Bank</dt>
                    <dd class="col-sm-8">: Rp. <?php echo $format->ribuan($laporan->summarySABank($tb_transaksi, 12, $tahun));
                                                ?></dd>
                </dl>
            </div>
        </div>
    </div>
</div>