<div id="cetakBox" class="modal fade" role="dialog" style="padding-top:30px;">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal">&times;</button>
                <h4 class="modal-title">Cetak Inventaris</h4>
            </div>
            <form target="_blank" class="form-horizontal" method="get">
                <div class="modal-body">
                    <div class="form-group">
                        <label class="col-sm-2 control-label required" style="text-align:left;" for="tahun_pdf">Tahun</label>
                        <div class="col-sm-9">
                            <select name="tahun_pdf" id="tahun_pdf" class="form-control select2 input-sm" style="width:100%;">
                                <option value="1">Semua Tahun</option>
                                <?php for ($i = date("Y"); $i >= date("Y") - 30; $i--) : ?>
                                    <option value="<?= $i ?>"><?= $i ?></option>
                                <?php endfor; ?>
                            </select>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-2 control-label required" style="text-align:left;" for="penandatangan_pdf">Penandatangan</label>
                        <div class="col-sm-9">
                            <select name="penandatangan_pdf" id="penandatangan_pdf" class="form-control input-sm">
                                <?php foreach ($pamong as $data) : ?>
                                    <option value="<?= $data['pamong_id'] ?>" data-jabatan="<?= trim($data['jabatan']) ?>" <?= selected($data['pamong_id'], $desa['pamong_id']) ?>>
                                        <?= $data['nama'] ?> (<?= $data['jabatan'] ?>)
                                    </option>
                                <?php endforeach; ?>
                            </select>
                        </div>
                    </div>
                </div>
                <div class="modal-footer">
                    <button type="reset" class="btn btn-social btn-flat btn-danger btn-sm" data-dismiss="modal"><i class='fa fa-sign-out'></i> Tutup</button>
                    <button type="submit" class="btn btn-social btn-flat btn-info btn-sm" id="form_cetak" name="form_cetak" data-dismiss="modal"><i class='fa fa-check'></i> Cetak</button>
                </div>
            </form>
        </div>
    </div>
</div>