<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">Tunggakan Iuran</h4>
                <h2 class="card-text">
                    <?= $jml_tunggakan ?>
                    <?= number_format(($jml_tunggakan ?? 0)) ?> Anggota</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">Total Tunggakan</h4>
                <h2 class="card-text">
                    <?= number_format((($jml_tunggakan * $data_arisan['tagihan_iuran']) ?? 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">Total Kas</h4>
                <h2 class="card-text">
                    <?= number_format((($laporan['saldo_akhir']) ?? 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">Pendapatan</h4>
                <h2 class="card-text">
                    <?= number_format((($laporan['administrasi'] + $laporan['dn_kehilangan'] + $laporan['fee_dealer']) ?? 0), 0, ',', '.') ?>,-
                </h2>
            </div>
        </div>
    </div>
</div>