<div class="col-lg-6" style="padding-bottom: 20px;">
    <div class="widget widget-activity-four">
        <div class="btn-group mr-2 sm" style="float: right;">
            <button class="btn btn-primary btn-sm dropdown-toggle" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                Pilihan <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-down">
                    <polyline points="6 9 12 15 18 9"></polyline>
                </svg>
            </button>
            <div class="dropdown-menu">
                <a href="javascript:void(0);" class="dropdown-item" data-toggle="modal" data-target="#pengajuan_pinjaman">Pengajuan</a>
                <a href="javascript:void(0);" class="dropdown-item" data-toggle="modal" data-target="#data_pinjaman">Cari Data</a>
                <a href="javascript:void(0);" class="dropdown-item" data-toggle="modal" data-target="#pembayaran_pinjaman">Pembayaran</a>
                <a href="javascript:void(0);" class="dropdown-item" data-toggle="modal" data-target="#pelunasan_pinjaman">Pelunasan</a>
            </div>
        </div>
        <div class="widget-heading">
            <h3 class="">Operasional Koperasi</h3>
            <h5>Verifikasi Pembayaran ( <?= count($verifikasi_angsuran) ?> )</h5>
        </div>
        <div class="widget-content">
            <div class="mt-container mx-auto ps ps--active-y">
                <div class="timeline-line">
                    <?php foreach ($verifikasi_angsuran as $Verif_angsuran) : ?>
                        <div class="item-timeline timeline-primary">
                            <div class="t-dot" data-original-title="" title="">
                            </div>
                            <div class="t-text">
                                <p>Kontrak : <?= $Verif_angsuran->kontrak_id ?> <br>
                                    Identitas : <?= $Verif_angsuran->nik ?> - <?= $Verif_angsuran->nm_anggota ?> <br>
                                    Bayar : <?= $Verif_angsuran->angs_ke ?>/<?= $Verif_angsuran->tempo_pinjaman ?> @<?php if ($Verif_angsuran->aturan_id == 1) :
                                                                                                                        echo 'Mingguan';
                                                                                                                    elseif ($Verif_angsuran->aturan_id == 2) :
                                                                                                                        echo 'Dua Mingguan';
                                                                                                                    elseif ($Verif_angsuran->aturan_id == 3) :
                                                                                                                        echo 'Bulanan Calon Anggota';
                                                                                                                    elseif ($Verif_angsuran->aturan_id == 4) :
                                                                                                                        echo 'Musiman Calon Anggota';
                                                                                                                    elseif ($Verif_angsuran->aturan_id == 5) :
                                                                                                                        echo 'Bulanan Anggota';
                                                                                                                    else :
                                                                                                                        echo 'Bulanan Karyawan';
                                                                                                                    endif ?> ( Rp <?= number_format($Verif_angsuran->bsr_bayar, 0, ',', '.') ?>,- )<br>
                                    Petugas : <?= $Verif_angsuran->nm_panggilan ?> <br>
                                    <a class="btn btn-primary btn-sm"
                                        href="<?= base_url('kasir/beranda/verifikasi_angsuran/' . $this->encrypt->encode($Verif_angsuran->kd_nota)) ?>"
                                        style="color: white;">Verifikasi</a>
                                </p>
                                <p class="t-time"><?= date('d', strtotime($Verif_angsuran->tgl_pembayaran)) . ' ' . $this->mycustom->bulanIndo(date('m', strtotime($Verif_angsuran->tgl_pembayaran))) . ' ' .  date('Y', strtotime($Verif_angsuran->tgl_pembayaran))  ?></p>
                            </div>
                        </div>
                    <?php endforeach; ?>
                </div>
                <div class="ps__rail-x" style="left: 0px; bottom: -200px;">
                    <div class="ps__thumb-x" tabindex="0" style="left: 0px; width: 0px;"></div>
                </div>
                <div class="ps__rail-y" style="top: 200px; height: 326px; right: 0px;">
                    <div class="ps__thumb-y" tabindex="0" style="top: 114px; height: 187px;"></div>
                </div>
            </div>
        </div>
    </div>
</div>
<?php $this->load->view('kasir/beranda/pinjaman_pengajuan'); ?>
<?php $this->load->view('kasir/beranda/pinjaman_caridata'); ?>
<?php $this->load->view('kasir/beranda/pinjaman_bayar'); ?>
<?php $this->load->view('kasir/beranda/pinjaman_pelunasan'); ?>