<div class="row layout-spacing">
    <div class="col-lg-12">
        <div class="statbox widget box box-shadow">
            <div class="widget-content widget-content-area">
                <table id="style-3" class="table style-3  table-hover">
                    <thead>
                        <tr>
                            <th class="text-center">No</th>
                            <th class="text-center">Identitas</th>
                            <th class="text-center">Alamat</th>
                            <th class="text-center">Angsuran</th>
                            <th class="text-center">Aksi</th>
                        </tr>
                    </thead>
                    <tbody>
                        <?php $no = 1; ?>
                        <?php foreach ($verif_data as $Data_pinjaman) : ?>
                            <tr>
                                <td>
                                    <center><?= $no ?></center>
                                </td>
                                <td class="text-left">
                                    Kontrak : <?= $Data_pinjaman->kontrak_id ?><br>
                                    Nama : <?= $Data_pinjaman->nm_anggota ?><br>
                                    No Hp : <?= $Data_pinjaman->no_hp ?>
                                </td>
                                <td class="text-left">
                                    <?= $Data_pinjaman->alamat_lengkap ?>,<br>
                                    RT. <?= $Data_pinjaman->nm_rt ?> / RW. <?= $Data_pinjaman->nm_rw ?>, Ds.
                                    <?= $Data_pinjaman->nm_desa ?><br>
                                    Kec. <?= $Data_pinjaman->nm_kecamatan ?>, <?= $Data_pinjaman->kot_kab ?> -
                                    <?= $Data_pinjaman->prov ?>
                                </td>
                                <td class="text-left">
                                    <?= $this->mycustom->hariIndo(date('l', strtotime($Data_pinjaman->tgl_tempo))) ?>,
                                    <?= date('d', strtotime($Data_pinjaman->tgl_tempo)) ?>
                                    <?= $this->mycustom->bulanIndo(date('m', strtotime($Data_pinjaman->tgl_tempo))) ?>
                                    <?= date('Y', strtotime($Data_pinjaman->tgl_tempo)) ?><br>
                                    Angs : <?= $Data_pinjaman->angs_ke ?>/<?= $Data_pinjaman->tempo ?>
                                    @<?php if ($Data_pinjaman->produk_id == 121) : echo 'Mingguan';
                                        elseif ($Data_pinjaman->produk_id == 122) : echo 'Dua Mingguan';
                                        elseif ($Data_pinjaman->produk_id == 123) : echo 'Bulanan';
                                        elseif ($Data_pinjaman->produk_id == 124) : echo 'Musiman';
                                        elseif ($Data_pinjaman->produk_id == 123) : echo 'Bulanan Anggota';
                                        elseif ($Data_pinjaman->produk_id == 123) : echo 'Bulanan Karyawan';
                                        endif; ?><br>
                                    Bayar : <?= number_format($Data_pinjaman->bsr_bayar, 0, ',', '.') ?>,-
                                </td>
                                <td class="text-center">
                                    <a class="btn btn-primary btn-sm"
                                        href="<?= base_url('kasir/koperasi/verifikasi_bayar/' . $this->encrypt->encode($Data_pinjaman->angsuran_id)) ?>"
                                        style="color: white;">Verifikasi</a>
                                </td>
                            </tr>
                            <?php $no++; ?>
                        <?php endforeach; ?>
                    </tbody>
                </table>
            </div>
        </div>
    </div>
</div>