<div class="row layout-spacing" style="padding-bottom: 10px;">
    <div class="col-lg-12">
        <blockquote class="blockquote media-object">
            <div class="media">
                <div class="media-body align-self-center">
                    <?php if ($gaji['sts_gaji'] == 'SELESAI') : ?>
                    <div class="btn-group mr-2 sm" style="float: right;">
                        <button class="btn btn-primary 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="<?= base_url('arisan/slip_gaji/email/' . $this->encrypt->encode($gaji['id'])) ?>"
                                class="dropdown-item">Kirim Email</a>
                            <a href="<?= base_url('arisan/slip_gaji/wa/' . $this->encrypt->encode($gaji['id'])) ?>"
                                class="dropdown-item">Kirim Wa</a>
                            <a target="_blank"
                                href="<?= base_url('assets/slip_gaji/' . date('Y', strtotime($gaji['tgl_gaji'])) . date('m', strtotime($gaji['tgl_gaji'])) . $gaji['login_id'] . '.pdf') ?>"
                                class="dropdown-item">Download</a>
                        </div>
                    </div>
                    <?php endif; ?>
                    <p class="d-inline">
                        Detail Gaji
                        #<?= date('Y', strtotime($gaji['tgl_gaji']))  ?><?= date('m', strtotime($gaji['tgl_gaji']))  ?><?= $gaji['login_id']  ?>
                        <br>
                        <?= $identitas['nm_panggilan'] ?>
                    </p>
                </div>
            </div>
            <small class="text-left"><cite
                    title="Source Title"><?= $this->mycustom->hariIndo(date('l', strtotime(date('Y-m-d')))) ?>,
                    <?= date('d', strtotime(date('Y-m-d')))  ?>
                    <?= $this->mycustom->bulanIndo(date('m', strtotime(date('Y-m-d'))))  ?>
                    <?= date('Y', strtotime(date('Y-m-d')))  ?></cite></small>
        </blockquote>
    </div>
</div>