<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">Tanggal</th>
                            <th class="text-center">No HP</th>
                            <th class="text-center">Marketing</th>
                            <th class="text-center">Catatan</th>
                            <th class="text-center">Link Reviews</th>
                            <th class="text-center">Link PDF</th>
                            <th class="text-center">Aksi</th>
                        </tr>
                    </thead>
                    <tbody>
                        <?php foreach ($data_logs as $Data_logs) : ?>
                            <tr>
                                <td class="text-left">
                                    <?= date('d', strtotime($Data_logs->tgl_kirim)) . ' ' . $this->mycustom->bulanIndo(date('m', strtotime($Data_logs->tgl_kirim))) . ' ' .  date('Y', strtotime($Data_logs->tgl_kirim))  ?>
                                </td>
                                <td class="text-left">
                                    <?= $Data_logs->hp_nasabah ?>
                                </td>
                                <td class="text-center">
                                    <?= $Data_logs->nm_panggilan ?>
                                </td>
                                <td class="text-left">
                                    <?= $Data_logs->ket_pesan ?>
                                </td>
                                <td class="text-center">
                                    <a class="btn btn-primary btn-sm" href="<?= $Data_logs->link_reviews ?>" target="_blank"
                                        style="color: white;">Link Reviews</a>
                                </td>
                                <td class="text-center">
                                    <a class="btn btn-primary btn-sm" href="<?= $Data_logs->link_pdf ?>" target="_blank"
                                        style="color: white;">Link PDF</a>
                                </td>
                                <td class="text-center">
                                    <a class="btn btn-primary btn-sm" target="_blank"
                                        href="<?= base_url('marketing/wasender/whatapps_resend/' . $this->encrypt->encode($Data_logs->logs_id)) ?>"
                                        style="color: white;">Kirim Ulang</a>
                                </td>
                            </tr>
                        <?php endforeach; ?>
                    </tbody>
                </table>
            </div>
        </div>
    </div>
</div>