<!DOCTYPE html>
<html>

<head>
    <title>Ceklist</title>
    <style>
    .header {
        text-align: center;
        margin-top: -40px;
        line-height: 0.2;

    }

    .judul {
        width: 700px;
        /* margin: auto; */
        height: auto;
        border: 1px solid black;
        padding: 5px;
        overflow: auto;
        /* margin:auto; */
        font-size: 12px;
        /* page-break-before: always; */


    }

    .judul2 {
        width: 700px;
        /* margin: auto; */
        height: 10px;
        border: 1px solid black;
        padding: 5px;
        overflow: auto;
        /* margin:auto; */
        font-size: 12px;
        page-break-inside: avoid;


    }

    .judul3 {
        width: 700px;
        /* margin: auto; */
        height: auto;
        border: 1px solid black;
        padding: 5px;
        overflow: auto;
        /* margin:auto; */
        font-size: 12px;
        page-break-inside: avoid;


    }

    .judul3 td {
        border: 1px solid black;

    }

    .ttd {
        width: 300px;
        /* margin: auto; */
        height: auto;
        border: 0px;
        padding: 5px;
        margin-left: 400px;
        overflow: auto;
        /* margin:auto; */
        font-size: 12px;

    }

    .sub1 {
        font-size: 12px;
        font-weight: bold;

    }

    .uraian1 {
        font-size: 12px;
    }

    .inviseble table {
        border-collapse: collapse;
        /* width: 100%; */
        /* padding-top: -15px; */

    }

    .inviseble th {
        height: 30px;
        text-align: center;
    }

    .inviseble table,
    td,
    th {
        /* border: 1px solid black; */
        height: 14px;
        font-size: 12px;
        /* text-align: left; */
    }

    .inviseble td {
        text-align: left;

    }

    table.border td,
    th {
        border: 1px solid black;
        text-align: center;



    }

    table.no_border td,
    th {
        /* border: 1px solid black; */
        text-align: center;
    }

    div.page_break+div.page_break {
        /* page-break-before: always; */
        page-break-inside: auto;
    }

    .no-print {
        display: none;
    }
    </style>

    <style type="text/css" media="print">
    .no-print {
        display: none;
    }
    </style>
</head>

<body>
    <button onclick="window.print()" class="no-print">Print this page</button>

    <div class="header">

        <h4><?php echo e($company); ?></h4>
        <h4>CEKLIST</h4>

    </div>
    <!-- <div class="sub1">1. JUDUL PENELITIAN</div> -->
    <!-- <div class="judul">ks</p>
    </div> -->
    <table class="inviseble">
        <tbody>
            <tr>
                <td>Nama Ceklist</td>
                <td>: <strong><?php echo e($group->title ?? ''); ?></strong></td>
            </tr>
            <tr>
                <td>Nama Partner</td>
                <td>: <strong><?php echo e($partner->name ?? ''); ?></strong></td>
            </tr>
            <tr>
                <td>Tanggal</td>
                <td>: <strong><?php echo e($date ?? ''); ?></strong></td>
            </tr>



        </tbody>
    </table>



    <table style="border-collapse: collapse; width: 100%;" class="border">
        <tbody>

            <tr>
                <td style="width:3%;"><strong>NO</strong></td>
                <td style="width:30%;"><strong>Jenis Pekerjaan</strong></td>
                <?php $__currentLoopData = $master; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $index => $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>

                <td><strong><?php echo e(date('d', strtotime($item->created_at))); ?></strong></td>

                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>


            </tr>

            <?php $__currentLoopData = $group->question; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $index => $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
            <tr>
                <!-- <td></td> -->
                <td><?php echo e($index+1); ?></td>
                <td style="text-align:left"><?php echo e($item->title); ?></td>
                <?php $__currentLoopData = $master; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $index2 => $item2): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <!-- <td><?php echo e($index2); ?></td> -->
                <?php $__currentLoopData = $item2->answer; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $index3 => $item3): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <?php if($item->id == $item3->question_id): ?>
                <!-- <td><?php echo e($item3->id); ?>-<?php echo e($item2->id); ?>-<?php echo e($item3->master_id); ?></td> -->
                <!-- <td><?php echo e($item3->jawaban); ?></td> -->
                <?php if($item3->jawaban == 2): ?>
                <td>BS</td>
                <?php elseif($item3->jawaban == 1): ?>
                <td>B</td>
                <?php else: ?>
                <td>Bu</td>
                <!-- <td><?php echo e($item3->jawaban); ?></td> -->

                <!-- <td><?php echo e($item2->jawaban == '1' ? 'X' : '-'); ?></td>
                            <td><?php echo e($item2->jawaban == '2' ? 'X' : '-'); ?></td> -->
                <?php endif; ?>
                <?php endif; ?>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>

            </tr>

            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>





        </tbody>
    </table>
    <br />


    <div class="ttd">
        Kediri, <?php echo e(date('d F Y', strtotime($group->created_at))); ?>

        <br />

        Pengawas
        <br />
        <br />
        <br />
        <br />
        <br />
        <u><strong><?php echo e($user); ?></strong></u>
    </div>








</body>

</html><?php /**PATH /home/sety4218/public_html/sim_pt_setia_raya/resources/views/dashboard/ceklist/cetak-generate.blade.php ENDPATH**/ ?>