<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">Aksi</th>
                            <th class="text-center">Kontrak ID</th>
                            <th class="text-center">id</th>
                            <th class="text-center">angs_ke</th>
                            <th class="text-center">tgl_tempo</th>
                            <th class="text-center">tgl_bayar</th>
                            <th class="text-center">bsr_bayar</th>
                            <th class="text-center">bsr_pokok</th>
                            <th class="text-center">bsr_jasa</th>
                            <th class="text-center">bsr_simpanan</th>
                            <th class="text-center">status_angsuran</th>
                            <th class="text-center">invoice_pdf</th>
                        </tr>
                    </thead>
                    <tbody>
                        <?php foreach ($data_table as $Data_table) : ?>
                        <tr>
                            <td class="text-center">
                                <a href="javascript:void(0);" class="btn btn-primary btn-sm" id="detail_konten"
                                    data-target="#konten_detail" class="bs-tooltip" data-toggle="modal"
                                    data-kontrak_id="<?= $Data_table->kontrak_id ?>"
                                    data-angsuran_id="<?= $Data_table->id ?>" data-angs_ke="<?= $Data_table->angs_ke ?>"
                                    data-tgl_tempo="<?= $Data_table->tgl_tempo ?>"
                                    data-tgl_bayar="<?= $Data_table->tgl_bayar ?>"
                                    data-bsr_bayar="<?= $Data_table->bsr_bayar ?>"
                                    data-bsr_pokok="<?= $Data_table->bsr_pokok ?>"
                                    data-bsr_simpanan="<?= $Data_table->bsr_simpanan ?>"
                                    data-status_angsuran="<?= $Data_table->status_angsuran ?>"
                                    data-bsr_jasa="<?= $Data_table->bsr_jasa ?>"
                                    data-invoice_pdf="<?= $Data_table->invoice_pdf ?>">Detail</a>
                            </td>
                            <td class="text-left">
                                <?= $Data_table->kontrak_id; ?>
                            </td>
                            <td class="text-center">
                                <?= $Data_table->id; ?>
                            </td>
                            <td class="text-center">
                                <?= $Data_table->angs_ke; ?>
                            </td>
                            <td class="text-center">
                                <?= $Data_table->tgl_tempo; ?>
                            </td>
                            <td class="text-left">
                                <?= $Data_table->tgl_bayar; ?>
                            </td>
                            <td class="text-center">
                                <?= $Data_table->bsr_bayar; ?>
                            </td>
                            <td class="text-right">
                                <?= $Data_table->bsr_pokok; ?>
                            </td>
                            <td class="text-center">
                                <?= $Data_table->bsr_jasa; ?>
                            </td>
                            <td class="text-center">
                                <?= $Data_table->bsr_simpanan; ?>
                            </td>
                            <td class="text-center">
                                <?= $Data_table->status_angsuran; ?>
                            </td>
                            <td class="text-right">
                                <?= $Data_table->invoice_pdf; ?>
                            </td>
                        </tr>
                        <?php endforeach; ?>
                    </tbody>
                </table>
            </div>
        </div>
    </div>
</div>