<html>

<head>
    <title>Tanda Omset Pencairan</title>
    <style>
        #tabel {
            font-size: 15px;
            border-collapse: collapse;
        }

        #tabel td {
            padding-left: 5px;
            border: 1px solid black;
        }
    </style>
</head>

<body style='font-family:tahoma; font-size:12pt;'>
    <table cellspacing='0' style='width: 100%; font-size:12pt; font-family:calibri;  border-collapse: collapse;' border='0'>
        <tr>
            <td width='50%'><img src="<?= base_url('assets/') ?>img/logo_koperasi.png" width="20%" alt="avatar"></td>
            <td></td>
            <td width='50%' style="text-align: right;"><b style="font-size: 25pt;">BUKTI OMSET</b>
            </td>
        </tr>
        <!-- Rincian Data Beli -->
        <tr>
            <td width='50%'>
                Anggota : <?= $anggota['nm_anggota'] ?></br>
                No Telp : <?= $anggota['no_hp'] ?>
            </td>
            <td></td>
            <td width='50%' style='text-align:right'>#<?= $kontrak['id'] ?></br>
                <?= date('d', strtotime($progress['tgl_realisasi']))  ?>
                <?= $this->mycustom->bulanIndo(date('m', strtotime($progress['tgl_realisasi'])))  ?>
                <?= date('Y', strtotime($progress['tgl_realisasi']))  ?>
            </td>
        </tr>
    </table><br>
    <table cellspacing='0' style='width: 100%; font-size:12pt; font-family:calibri;  border-collapse: collapse;' border='0'>
        <tr>
            <td width='50%' style='text-align:center'>Keterangan</td>
            <td width='25%' style='text-align:center'>Biaya</td>
            <td width='25%' style='text-align:center'>Total Biaya</td>
        </tr>
        <!-- Rincian Data Beli -->
        <tr>
            <td>
                Potongan Administrasi <br>
                <?= $kontrak['id'] ?>
            </td>
            <td style='text-align:right'><?= number_format($kontrak['bsr_admin'], 0, ',', '.') ?>,-</td>
            <td style='text-align:right'><?= number_format($kontrak['bsr_admin'], 0, ',', '.') ?>,-</td>
        </tr>
        <tr>
            <td>
                Potongan Resiko Kehilangan <br>
                <?= $kontrak['id'] ?>
            </td>
            <td style='text-align:right'><?= number_format($kontrak['bsr_rk'], 0, ',', '.') ?>,-</td>
            <td style='text-align:right'><?= number_format($kontrak['bsr_rk'], 0, ',', '.') ?>,-</td>
        </tr>
        <tr>
            <td></td>
            <td></td>
            <td><br></td>
        </tr>
        <tr>
            <td style="text-align: center;">
            </td>
            <td>
                <div style='text-align:right'>Total : </div>
            </td>
            <td style='text-align:right'>
                <?= number_format(($kontrak['bsr_admin'] + $kontrak['bsr_rk']), 0, ',', '.') ?>,-
            </td>
        </tr>
        <tr>
            <td></td>
            <td><br></td>
        </tr>
        <tr>
            <td></td>
            <td></td>
            <td><br></td>
        </tr>
    </table>
    <table cellspacing='0' style='width: 100%; font-size:12pt; font-family:calibri;  border-collapse: collapse;' border='0'>
        <tr>
            <td width='35%' align='center'>Diterima Oleh,</br></br><u>( <?= $anggota['nm_anggota'] ?> )</u>
            </td>
            <td width='30%' style="text-align: center;">
                <img src="<?= base_url('assets/') ?>img/stempel_diterima.png" width="100%" alt="avatar">
            </td>
            <td width='35%' align='center'>
                Kasir,</br></br><u>( <?= $kasir['nm_panggilan'] ?> )</u>
            </td>
        </tr>
    </table>
    <!-- Hapus -->
</body>

</html>