<h3 style="text-align: center;"><?php echo strtoupper($nama) ?></h3>
<h4></h4>
<h4>* Kolom gaji pokok yang kosong tidak akan diimport</h4>
<table width="100%" style="border-collapse:collapse;" border="1">
    <tr>
        <td>NO</td>
        <td>NIK</td>
        <td>NAMA KARYAWAN</td>
        <td>CABANG</td>
        <td>DEPARTEMEN</td>
        <td>JABATAN</td>
        <td>GAJI POKOK</td>
        <td>POT. ABSENSI</td>
        <td>ID_KARYAWAN</td>
        <td>ID_CABANG</td>
    </tr>
    <?php
    $no = 1;
    foreach ($data as $row) {
    ?>
        <tr>
            <td><?= $no; ?></td>
            <td><?= "#" . $row->nik . "#"; ?></td>
            <td><?= $row->nama_lengkap; ?></td>
            <td><?= $row->kode_cabang . " - " . $row->nama_cabang; ?></td>
            <td><?= $row->kode_departemen . " - " . $row->nama_departemen; ?></td>
            <td><?= $row->kode_jabatan . " - " . $row->nama_jabatan; ?></td>
            <td><?= $row->nominal ?></td>
            <td><?= $row->flag_pot_absensi == 1 ? "YA" : "TIDAK" ?></td>
            <td><?= "#" . $row->id_karyawan . "#" ?></td>
            <td><?= "#" . $row->id_cabang . "#" ?></td>
        </tr>
    <?php
        $no++;
    }
    ?>
</table>
