<div class="row layout-top-spacing">
    <div class="col-xl-6 col-lg-12 col-md-12 col-sm-12 col-12 layout-spacing">
        <div class="card component-card_7" style="width: auto;">
            <div class="card-body">
                <h4 class="card-text">Saldo Masuk <br>
                    <?= $this->mycustom->bulanIndo($bulan)  ?>
                    <?= $tahun  ?></h4>
                </h4>
                <h3 class="card-text">
                    <?= number_format(($masuk_bulanan['masuk_bulanan'] ?? 0), 0, ',', '.') ?>,-
                </h3>
            </div>
        </div>
    </div>
    <div class="col-xl-6 col-lg-12 col-md-12 col-sm-12 col-12 layout-spacing">
        <div class="card component-card_7" style="width: auto;">
            <div class="card-body">
                <h4 class="card-text">Saldo Keluar <br>
                    <?= $this->mycustom->bulanIndo($bulan)  ?>
                    <?= $tahun  ?></h4>
                </h4>
                <h3 class="card-text">
                    <?= number_format(($keluar_bulanan['keluar_bulanan'] ?? 0), 0, ',', '.') ?>,-
                </h3>
            </div>
        </div>
    </div>
</div>
<div class="layout-spacing">
    <div class="card component-card_7" style="width: auto;">
        <div class="card-body">
            <h4 class="card-text">Saldo Akhir <br>
                <?= $this->mycustom->bulanIndo(date('m', strtotime(date('Y-m-d'))))  ?>
                <?= date('Y', strtotime(date('Y-m-d')))  ?></h4>
            </h4>
            <h3 class="card-text">
                <?= number_format((($masuk_bulanan['masuk_bulanan'] - $keluar_bulanan['keluar_bulanan']) ?? 0), 0, ',', '.') ?>,-
            </h3>
        </div>
    </div>
</div>