<div class="row layout-top-spacing">
    <div class="col-xl-3 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">Realisasi Pinjaman <br>
                    <?= date('d', strtotime(date('Y-m-d')))  ?>
                    <?= $this->mycustom->bulanIndo(date('m', strtotime(date('Y-m-d'))))  ?>
                    <?= date('Y', strtotime(date('Y-m-d')))  ?></h4>
                <h3 class="card-text">
                    <?= number_format(($hari_ini['saldo'] ?? 0), 0, ',', '.') ?>,-
                </h3>
            </div>
        </div>
    </div>
    <div class="col-xl-3 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">Realisasi Pinjaman <br>
                    <?= $this->mycustom->bulanIndo(date('m', strtotime(date('Y-m-d'))))  ?>
                    <?= date('Y', strtotime(date('Y-m-d')))  ?></h4>
                <h2 class="card-text">
                    <?= number_format(($bulan_ini['saldo'] ?? 0), 0, ',', '.') ?>,-
                </h2>
            </div>
        </div>
    </div>
    <div class="col-xl-3 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">Realisasi Pinjaman <br>
                    <?= date('Y', strtotime(date('Y-m-d')))  ?></h4>
                <h2 class="card-text">
                    <?= number_format(($tahun_ini['saldo'] ?? 0), 0, ',', '.') ?>,-
                </h2>
            </div>
        </div>
    </div>
    <div class="col-xl-3 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">Realisasi Pinjaman <br>Keseluruhan</h4>
                <h3 class="card-text">
                    <?= number_format(($semua_data['saldo'] ?? 0), 0, ',', '.') ?>,-
                </h3>
            </div>
        </div>
    </div>
    <div class="col-xl-3 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">Pinjaman Mingguan <br>
                    <?= $this->mycustom->bulanIndo(date('m', strtotime(date('Y-m-d'))))  ?>
                    <?= date('Y', strtotime(date('Y-m-d')))  ?></h4>
                <h3 class="card-text">
                    <?= number_format(($rmingguan['saldo'] ?? 0), 0, ',', '.') ?>,-
                </h3>
            </div>
        </div>
    </div>
    <div class="col-xl-3 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">Pinjaman 2 Mingguan <br>
                    <?= $this->mycustom->bulanIndo(date('m', strtotime(date('Y-m-d'))))  ?>
                    <?= date('Y', strtotime(date('Y-m-d')))  ?></h4>
                <h3 class="card-text">
                    <?= number_format(($r2mingguan['saldo'] ?? 0), 0, ',', '.') ?>,-
                </h3>
            </div>
        </div>
    </div>
    <div class="col-xl-3 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">Pinjaman Bulanan<br>
                    <?= $this->mycustom->bulanIndo(date('m', strtotime(date('Y-m-d'))))  ?>
                    <?= date('Y', strtotime(date('Y-m-d')))  ?></h4>
                <h3 class="card-text">
                    <?= number_format((($rcabulanan['saldo'] ?? 0) + ($rabulanan['saldo'] ?? 0) + ($rkbulanan['saldo']) ?? 0), 0, ',', '.') ?>,-
                </h3>
            </div>
        </div>
    </div>
    <div class="col-xl-3 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">Pinjaman Musiman<br>
                    <?= $this->mycustom->bulanIndo(date('m', strtotime(date('Y-m-d'))))  ?>
                    <?= date('Y', strtotime(date('Y-m-d')))  ?></h4>
                <h3 class="card-text">
                    <?= number_format(($rmbulanan['saldo'] ?? 0), 0, ',', '.') ?>,-
                </h3>
            </div>
        </div>
    </div>
</div>