<!DOCTYPE html>
<html>
<head>
    <title>Izin Penyusunan Skripsi P1 - <?php echo e($p1->nim); ?></title>
    <style>
        @page { margin: 1cm 2cm; }
        body { font-family: 'Times New Roman', Times, serif; font-size: 11pt; line-height: 1.4; margin: 0; padding: 0; }
        .page-break { page-break-before: always; }
        
        /* Kop Surat */
        .header { width: 100%; margin-bottom: 5px; }
        .logo-box { width: 85px; text-align: center; vertical-align: middle; }
        .header-text { text-align: center; vertical-align: middle; }
        .header-text h3 { margin: 0; font-size: 14pt; font-weight: normal; }
        .header-text h2 { margin: 0; font-size: 15pt; font-weight: bold; }
        .header-text h2.fakultas { margin: 0; font-size: 13pt; font-weight: bold; }
        .address { text-align: center; font-size: 9pt; margin-top: 5px; font-weight: normal; }
        .line { border-bottom: 4px double black; margin-top: 5px; margin-bottom: 20px; }
        
        .content { margin-top: 20px; text-align: justify; }
        .details-table { margin-left: 20px; margin-bottom: 20px; }
        .details-table td { padding: 3px 5px; vertical-align: top; }
        
        .signature-box { position: relative; margin-top: 40px; width: 100%; }
        .signature-right { position: absolute; right: 0; width: 300px; text-align: left; }
        
        /* Page 2 Styles */
        .title-p2 { text-align: center; font-weight: normal; text-transform: uppercase; margin-bottom: 20px; line-height: 1.2; }
        
        .checklist-table { width: 100%; margin-left: 20px; border-collapse: collapse; }
        .checklist-table td { vertical-align: top; padding: 3px 0; }
        .box { display: inline-block; font-size: 16pt; vertical-align: middle; margin-right: 5px; font-family: DejaVu Sans, sans-serif; }
    </style>
</head>
<body>
    <!-- PAGE 1 -->
    <table class="header">
        <tr>
            <td class="logo-box">
                <img src="<?php echo e(public_path('Logouncenhitam.png')); ?>" alt="Logo UNCEN" style="width: 85px; height: auto;">
            </td>
            <td class="header-text">
                <h3>KEMENTERIAN PENDIDIKAN TINGGI, SAINS, <br>DAN TEKNOLOGI</h3>
                <h2>UNIVERSITAS CENDERAWASIH</h2>
                <h2 class="fakultas">FAKULTAS HUKUM</h2>
                <div class="address">
                    Jalan Kampwolker, Kelurahan Yabansai, Distrik Heram, Jayapura – PAPUA
                </div>
            </td>
        </tr>
    </table>
    <div class="line"></div>

    <table style="width: 100%; margin-bottom: 30px;">
        <tr>
            <td width="60" style="vertical-align: top;">Hal</td>
            <td width="10" style="vertical-align: top;">:</td>
            <td>Izin Penyusunan Skripsi P1</td>
        </tr>
        <tr>
            <td style="vertical-align: top;">Kepada</td>
            <td style="vertical-align: top;">:</td>
            <td>
                Yth, Ketua Bagian Hukum<br>
                <strong><?php echo e($p1->mahasiswa->bagian ?? 'Pidana'); ?></strong>
            </td>
        </tr>
    </table>

    <div class="content">
        <p style="margin-bottom: 15px;">Dengan hormat, kami sampaikan bahwa berdasarkan data Akademik, Keuangan dan rancangan Proposal Skripsi Mahasiswa, a.n :</p>
        
        <table class="details-table">
            <tr><td width="100">Nama</td><td width="10">:</td><td><strong><?php echo e($p1->mahasiswa->nama ?? ''); ?></strong></td></tr>
            <tr><td>N I M</td><td>:</td><td><strong><?php echo e($p1->nim); ?></strong></td></tr>
        </table>

        <p style="margin-bottom: 15px;">Mahasiswa yang bersangkutan memenuhi syarat untuk melakukan penulisan skripsi.</p>

        <p>Berkaitan dengan itu, kami mohon saudara menunjuk dosen Pembimbing I & II guna membimbing penulisan proposal dan skripsi mahasiswa yang bersangkutan.</p>
    </div>

    <div class="signature-box" style="height: 150px;">
        <div class="signature-right">
            <p>Dekan Fakultas Hukum,</p>
            <p style="margin-bottom: 70px;"></p>
            <p><strong>Dr. YUSTUS PONDAYAR, S.H., M.H</strong><br>
            NIP. 19730519 200312 1 001</p>
        </div>
        <div style="position: absolute; left: 0; bottom: 0;">
            <p>Tanggal : <?php echo e(\Carbon\Carbon::parse($p1->tanggal)->translatedFormat('d F Y')); ?></p>
        </div>
    </div>


    <!-- PAGE 2 -->
    <div class="page-break"></div>

    <table class="header">
        <tr>
            <td class="logo-box">
                <img src="<?php echo e(public_path('Logouncenhitam.png')); ?>" alt="Logo UNCEN" style="width: 85px; height: auto;">
            </td>
            <td class="header-text">
                <h3>KEMENTERIAN PENDIDIKAN TINGGI, SAINS, <br>DAN TEKNOLOGI</h3>
                <h2>UNIVERSITAS CENDERAWASIH</h2>
                <h2 class="fakultas">FAKULTAS HUKUM</h2>
                <div class="address">
                    Jalan Kampwolker, Kelurahan Yabansai, Distrik Heram, Jayapura – PAPUA
                </div>
            </td>
        </tr>
    </table>
    <div class="line"></div>

    <div class="title-p2">
        KELENGKAPAN DATA AKADEMIK<br>
        PENGUSULAN PENULISAN SKRIPSI
    </div>

    <div style="margin-bottom: 20px;">
        <p style="margin-bottom: 5px;">A. IDENTITAS MAHASISWA</p>
        <table class="details-table" style="margin-top: 0; margin-left: 20px;">
            <tr><td width="20">1.</td><td width="120">N A M A</td><td width="10">:</td><td><strong><?php echo e($p1->mahasiswa->nama ?? ''); ?></strong></td></tr>
            <tr><td>2.</td><td>N I M</td><td>:</td><td><strong><?php echo e($p1->nim); ?></strong></td></tr>
            <tr><td>3.</td><td>BAGIAN HUKUM</td><td>:</td><td><strong><?php echo e($p1->mahasiswa->bagian ?? 'Pidana'); ?></strong></td></tr>
        </table>
    </div>

    <div>
        <p style="margin-bottom: 10px;">B. DATA ADMINISTRASI KEUANGAN DAN AKADEMIK</p>
        
        <table style="width: 100%; margin-left: 20px;">
            <tr>
                <td width="50%" style="vertical-align: top;">
                    <p style="margin: 0 0 5px 0;">1. SPP</p>
                    <table style="margin-left: 15px; width: 100%; line-height: 1;">
                        <?php for($i = 1; $i <= 10; $i++): ?>
                        <?php $field = 'spp_'.$i; ?>
                        <tr><td width="80" style="padding-bottom: 2px;"><?php echo e(chr(96+$i)); ?>. SMT <?php echo e(['I','II','III','IV','V','VI','VII','VIII','IX','X'][$i-1]); ?></td><td style="padding-bottom: 2px;"><div class="box"><?php echo $p1->$field ? '&#9745;' : '&#9744;'; ?></div></td></tr>
                        <?php endfor; ?>
                    </table>
                </td>
                <td width="50%" style="vertical-align: top;">
                    <p style="margin: 0 0 5px 0;">2. KRS</p>
                    <table style="margin-left: 15px; width: 100%; line-height: 1;">
                        <?php for($i = 1; $i <= 10; $i++): ?>
                        <?php $field = 'krs_'.$i; ?>
                        <tr><td width="80" style="padding-bottom: 2px;"><?php echo e(chr(96+$i)); ?>. SMT <?php echo e(['I','II','III','IV','V','VI','VII','VIII','IX','X'][$i-1]); ?></td><td style="padding-bottom: 2px;"><div class="box"><?php echo $p1->$field ? '&#9745;' : '&#9744;'; ?></div></td></tr>
                        <?php endfor; ?>
                    </table>
                </td>
            </tr>
        </table>
        
        <div style="margin-left: 20px; margin-top: 15px;">
            <table style="width: 100%;">
                <tr>
                    <td width="20">2.</td>
                    <td width="300">SPI</td>
                    <td><div class="box"><?php echo $p1->spi ? '&#9745;' : '&#9744;'; ?></div></td>
                </tr>
                <tr>
                    <td>3.</td>
                    <td>SPF</td>
                    <td><div class="box"><?php echo $p1->spf ? '&#9745;' : '&#9744;'; ?></div></td>
                </tr>
                <tr>
                    <td>4.</td>
                    <td>Rekap Nilai Database<br>Minimal 142 SKS</td>
                    <td><div class="box"><?php echo $p1->rekap_nilai ? '&#9745;' : '&#9744;'; ?></div></td>
                </tr>
            </table>
        </div>
    </div>

    <div style="margin-top: 30px;">
        <p>Catatan : Mahasiswa tersebut ___________________ memenuhi syarat dan <br>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;layak pembimbingan penulisan Skripsi</p>
    </div>

    <div class="signature-box" style="height: 150px; margin-top: 20px;">
        <div class="signature-right" style="width: 250px;">
            <p style="margin-bottom: 0;">Waena, <?php echo e(\Carbon\Carbon::parse($p1->tanggal)->translatedFormat('d F Y')); ?></p>
            <p>Kasubbag Pendidikan,</p>
            <p style="margin-bottom: 70px;"></p>
            <p><strong>NOAK MANDOWEN, S.H.</strong><br>
            NIP. 19780129 200501 1 002</p>
        </div>
    </div>

</body>
</html>
<?php /**PATH /opt/lampp/htdocs/skripsifh/resources/views/izin_p1/pdf.blade.php ENDPATH**/ ?>