<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title><?= $judul ?></title>
    <style>
    hr {
        display: block;
        margin-top: 0.1em;
        margin-bottom: 0.5em;
        margin-left: auto;
        margin-right: auto;
        border-style: double;
        border-width: 2px;
    }

    table,
    th,
    td {
        padding: 8px 10px;
    }
    </style>
    <style>
    .sidebar.toggled .nav-item .collapse {
        position: relative;
        padding-left: 1rem;
        left: 0;
        z-index: 1;
        top: 0;
    }

    .sidebar.toggled {
        width: 60vw !important;
        transition: all .3s ease-in-out;
        -webkit-transition: all .3s ease-in-out;
    }
    </style>
    <style>
    .responsive img {
        max-width: 50%;
        align-content: center;
        /*width:100%;*/
        height: auto;
    }
    </style>
</head>

<body>
    <div class="row">
        <div class="col-lg-12 grid-margin stretch-card">
            <div class="card">
                <div class="row">
                    <div class="col-lg-10 offset-lg-1">
                        <div class="card-body">
                            <div class="row">
                                <table>
                                    <tr>
                                        <th><img src="<?= base_url('assets/') ?>img/arisan3.png" width="50%"
                                                alt="avatar">
                                        </th>
                                        <th>
                                            <a style="font-size: 12px;">LAPORAN LELANG ARISAN MOTOR</a><br>
                                            <a style="font-size: 24px;">KELOMPOK : <?= $data_arisan['nm_kelompok'] ?> (
                                                <?= $data_arisan['ket_arisan'] ?> )</a><br>
                                            <a style="font-size: 12px;">Jl. Raya Pati - Kudus No.39, Area Sawah, Ds.
                                                Klaling, Kec. Jekulo,</a><br>
                                            <a style="font-size: 12px;">Kab. Kudus - Jawa Tengah, Kode Pos :
                                                59382</a><br>
                                            <a style="font-size: 12px;">Telepon : 085162800600 || website :
                                                kspbinaartha.com
                                            </a><br>
                                        </th>
                                    </tr>
                                </table>
                            </div>
                            <hr class="mb-4">
                            <table>
                                <tr>
                                    <th style="font-weight: normal; text-align: left;">
                                        <a>Nomor Laporan</a><br>
                                        <a>Tanggal</a><br>
                                        <a>Arisan/Lelang</a><br>
                                        <a>Anggota</a><br>
                                        <a>Motor</a>
                                    </th>
                                    <th style="font-weight: normal; text-align: center;">
                                        <a>:</a><br>
                                        <a>:</a><br>
                                        <a>:</a><br>
                                        <a>:</a><br>
                                        <a>:</a>
                                    </th>
                                    <th style="font-weight: normal; text-align: left;">
                                        <a><?= $data_laporan['id'] ?></a><br>
                                        <a><?= $this->mycustom->hariIndo(date('l', strtotime($data_jadwal['tgl_undian']))) ?>,
                                            <?= date('d', strtotime($data_jadwal['tgl_undian']))  ?>
                                            <?= $this->mycustom->bulanIndo(date('m', strtotime($data_jadwal['tgl_undian'])))  ?>
                                            <?= date('Y', strtotime($data_jadwal['tgl_undian']))  ?></a><br>
                                        <a>Arisan Ke- <?= $data_jadwal['undian_ke'] ?>/Lelang
                                            Ke-<?= $data_jadwal['lelang_ke'] ?></a><br>
                                        <a><?= $jml_anggota ?> Anggota / @<?= $data_arisan['tagihan_iuran'] ?></a><br>
                                        <a><?= $data_arisan['ket_arisan'] ?> - Rp
                                            <?= number_format($data_arisan['hg_standar'], 0, ',', '.') ?>,- ( Harga
                                            Standar )</a>
                                    </th>
                                </tr>
                            </table>
                            <hr class="mb-4">
                            <!-- Bagian Kas Kelompok -->
                            <table>
                                <tr>
                                    <th style="text-align: left; font-weight: normal;">
                                        <a style="font-weight: bold;">A. KAS LELANG KELOMPOK</a><br>
                                        <a>Saldo Lelang Bulan Kemarin</a><br>
                                        <a>Saldo Kas Bulan Kemarin</a><br>
                                        <a>Kas Masuk
                                            <?= $this->mycustom->bulanIndo(date('m', strtotime($data_jadwal['tgl_undian'])))  ?></a><br>
                                        <a>( Tunggakan + Iuran )</a><br>
                                        <a>Saldo Pemenang</a>
                                    </th>
                                    <th style="text-align: left; font-weight: normal;">
                                        <a></a><br>
                                        <a>: Rp</a><br>
                                        <a>: Rp</a><br>
                                        <a>: Rp</a><br>
                                        <a></a><br>
                                        <a>: Rp</a>
                                    </th>
                                    <th style="text-align: right; font-weight: normal;">
                                        <a></a><br>
                                        <a><?= number_format($data_laporan['lelang_awal'], 0, ',', '.') ?>,-</a><br>
                                        <a><?= number_format($data_laporan['saldo_awal'], 0, ',', '.') ?>,-</a><br>
                                        <a><?= number_format($data_laporan['saldo_masuk'], 0, ',', '.') ?>,-</a><br>
                                        <a></a><br>
                                        <a><?= number_format(($data_arisan['hg_standar'] - $lelang_tertinggi), 0, ',', '.') ?>,-</a>
                                    </th>
                                    <th style="text-align: left; font-weight: normal;">
                                        <a></a><br>
                                        <a></a><br>
                                        <a></a><br>
                                        <a></a><br>
                                        <a></a><br>
                                        <a></a>
                                    </th>
                                    <th style="text-align: left; font-weight: normal;">
                                        <a></a><br>
                                        <a>( SLBK )</a><br>
                                        <a>( SKBK )</a><br>
                                        <a>( SM )</a><br>
                                        <a></a><br>
                                        <a>( SP )</a>
                                    </th>
                                </tr>
                            </table>
                            <!-- Bagian Lelang -->
                            <table>
                                <tr>
                                    <th style="text-align: left; font-weight: normal;">
                                        <a style="font-weight: bold;">B. PEMENANG LELANG</a><br>
                                        <a>Nomor Registrasi</a><br>
                                        <a>Nama Anggota</a><br>
                                        <a>Nominal Lelang</a>
                                    </th>
                                    <th style="text-align: left; font-weight: normal;">
                                        <a></a><br>
                                        <a>: <?= $data_pemenang['regist_undian'] ?></a><br>
                                        <a>: <?= $data_pemenang['nm_anggota'] ?></a><br>
                                        <a>: Rp</a>
                                    </th>
                                    <th style="text-align: right; font-weight: normal;">
                                        <a></a><br>
                                        <a></a><br>
                                        <a></a><br>
                                        <a><?= number_format($lelang_tertinggi, 0, ',', '.') ?>,-</a>
                                    </th>
                                    <th style="text-align: left; font-weight: normal;">
                                        <a></a><br>
                                        <a></a><br>
                                        <a></a><br>
                                        <a>( HL )</a>
                                    </th>
                                </tr>
                            </table>
                            <!-- Daftar Lelang -->
                            <table>
                                <tr>
                                    <th style="text-align: left; font-weight: normal;">
                                        <a style="font-weight: bold;">C. ADMINISTRASI</a><br><br>
                                        <a>Administrasi</a><br>
                                        <a>Dana Kehilangan</a><br>
                                        <a>Dealer</a>
                                    </th>
                                    <th style="text-align: left; font-weight: normal;">
                                        <a></a><br><br>
                                        <a>: Rp</a><br>
                                        <a>: Rp</a><br>
                                        <a>: Rp</a>
                                    </th>
                                    <th style="text-align: right; font-weight: normal;">
                                        <a></a><br><br>
                                        <a><?= number_format($data_laporan['administrasi'], 0, ',', '.') ?>,-</a><br>
                                        <a><?= number_format($data_laporan['dn_kehilangan'], 0, ',', '.') ?>,-</a><br>
                                        <a><?= number_format($data_laporan['fee_dealer'], 0, ',', '.') ?>,-</a>
                                    </th>
                                    <th style="text-align: left; font-weight: normal;">
                                        <a></a><br><br>
                                        <a></a><br>
                                        <a></a><br>
                                        <a></a>
                                    </th>
                                    <th style="text-align: right; font-weight: normal;">
                                        <a></a><br><br>
                                        <a>( ADM )</a><br>
                                        <a>( DK )</a><br>
                                        <a>( FD )</a>
                                    </th>
                                </tr>
                            </table>
                            <table>
                                <tr>
                                    <th style="text-align: left; font-weight: normal;">
                                        <a style="font-weight: bold;">D. Tunggakan</a><br><br>
                                        <a>Tunggakan Bulan Ini</a><br>
                                        <a>Akumulasi Tunggakan</a>
                                    </th>
                                    <th style="text-align: center; font-weight: normal;">
                                        <a></a><br><br>
                                        <a>: </a><br>
                                        <a>: </a>
                                    </th>
                                    <th style="text-align: right; font-weight: normal;">
                                        <a></a><br><br>
                                        <a><?= $data_laporan['jml_tunggakan'] ?> Anggota</a><br>
                                        <a><?= $data_laporan['akum_tunggakan'] ?> Anggota</a>
                                    </th>
                                    <th style="text-align: left; font-weight: normal;">
                                        <a></a><br><br>
                                        <a></a>
                                        <a></a>
                                    </th>
                                </tr>
                            </table>
                            <br><br><br><br><br><br><br><br><br><br>
                            <table>
                                <tr>
                                    <th style="text-align: left; font-weight: normal;">
                                        <a style="font-weight: bold;">D. KESIMPULAN</a><br><br>
                                        <a>Terima Pemenang</a><br>
                                        <a>Total Omset</a><br>
                                        <a>Total Saldo Akhir</a><br>
                                        <a>Total Saldo Lelang</a>
                                    </th>
                                    <th style="text-align: left; font-weight: normal;">
                                        <a></a><br><br>
                                        <a>: Rp</a><br>
                                        <a>: Rp</a><br>
                                        <a>: Rp</a><br>
                                        <a>: Rp</a>
                                    </th>
                                    <th style="text-align: right; font-weight: normal;">
                                        <a></a><br><br>
                                        <a><?= number_format($data_laporan['saldo_pemenang'], 0, ',', '.') ?>,-
                                        </a><br>
                                        <a><?= number_format(($data_laporan['fee_dealer'] + $data_laporan['administrasi'] + $data_laporan['dn_kehilangan']), 0, ',', '.') ?>,-
                                        </a><br>
                                        <a><?= number_format(($data_laporan['saldo_akhir']), 0, ',', '.') ?>,-
                                        </a><br>
                                        <a><?= number_format($data_laporan['saldo_lelang'], 0, ',', '.') ?>,- </a>
                                    </th>
                                    <th style="text-align: left; font-weight: normal;">
                                        <a></a><br><br>
                                        <a></a><br>
                                        <a></a><br>
                                        <a></a><br>
                                        <a></a>
                                    </th>
                                    <th style="text-align: left; font-weight: normal;">
                                        <a></a><br><br>
                                        <a>( TP = SP - FD )</a><br>
                                        <a>( TO = ADM + DK + FD )</a><br>
                                        <a>( TSA = ( SKBK + KM ) - TP )</a><br>
                                        <a>( TSL = SLBK + HL )</a>
                                    </th>
                                </tr>
                            </table>
                            <center>
                                <table>
                                    <tr>
                                        <th style="font-weight: normal; text-align: left;">
                                            <a>Kudus,
                                                <?= date('d', strtotime($data_laporan['tgl_laporan']))  ?>
                                                <?= $this->mycustom->bulanIndo(date('m', strtotime($data_laporan['tgl_laporan'])))  ?>
                                                <?= date('Y', strtotime($data_laporan['tgl_laporan']))  ?><br>
                                                <a></a><br>
                                                <a></a>
                                        </th>
                                    </tr>
                                    <tr>
                                        <td style="text-align: center;">Petugas Arisan,</td>
                                        <td style="text-align: center;">Bagian Keuangan,</td>
                                        <td></td>
                                        <td style="text-align: center;">Manajer,</td>
                                        <td></td>
                                        <td style="text-align: center;">Pengurus</td>
                                    </tr>
                                    <tr>
                                        <td></td>
                                        <td></td>
                                        <td></td>
                                        <td></td>
                                        <td></td>
                                        <td></td>
                                    </tr>
                                    <tr>
                                        <td></td>
                                        <td></td>
                                        <td></td>
                                        <td></td>
                                        <td></td>
                                        <td></td>
                                    </tr>
                                    <tr>
                                        <td></td>
                                        <td></td>
                                        <td></td>
                                        <td></td>
                                        <td></td>
                                        <td></td>
                                    </tr>
                                    <tr>
                                        <td style="text-align: center;">( <?= $data_petugas['nm_panggilan'] ?> )</td>
                                        <td style="text-align: center;">( David Candra Kurniawan )</td>
                                        <td></td>
                                        <td style="text-align: center;">( Arief Rahman )</td>
                                        <td></td>
                                        <td style="text-align: center;">( T Suwito )</td>
                                    </tr>
                                </table>
                            </center>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</body>


</html>