<div class="content-wrapper">

    <?php require('./layout/headerpage.php'); ?>

    <div class="container col-12 mb-4 pb-5">
        <div class="row">
            <div class="col-12">
                <div class="col-12">
                    <div class="card mx-4 mt-0">
                        <div class="timeline-header bg-primary py-2 pl-2">
                            <b class="text-light judul"><span class="bi bi-search"></span> Monitoring Setor ke Bendahara</b>
                        </div>
                        <div class="card-body mx-2 ">
                            <?php require('./view/setor/headerpage.php'); ?>
                        </div>


                        <!--end-->
                        <div class="container col-12 px-4 mb-4">
                            <div class="row mt-3 mx-4">
                                <div class="col-12">
                                    <div class="col-12">
                                        <div class="card  mx-2">
                                            <div class="timeline-header bg-secondary py-2 pl-2">
                                                <b class="text-light judul"><span class="bi bi-printer"></span> Cetak Monitoring Setor</h4>
                                            </div>
                                            <div class="card-body mb-1">
                                                <div class="row mx-3 mt-0">
                                                    <div class="col-md-12">
                                                        <div class="col-12 d-inline pl-2 mb-2">
                                                            <button onclick="frames['cetak'].print()" name="submit" class="btn btn-primary btn-xs mb-0 btn-rounded small px-2"> <i class="bi bi-printer"></i> <b>CETAK</b></button>
                                                            <?php echo $excel2 = $link->exportXlsxRKAS('setor/setor_monit_xls', $tahun); ?>

                                                        </div>
                                                        <div class='col-md-12 pl-3 ml-2 mt-3' style='background:#c3c3c3;  padding-top:50px; padding-bottom:50px'>
                                                            <div class="mb-2" style='background:#fff; width:80%; margin:0 auto; padding:5px; height:1200px;'>
                                                                <div class=''>
                                                                    <div style='background:#fff; width:100%;  border:0; height:900px;'>
                                                                        <iframe name='cetak' src='view/setor/setor_monit_print.php?tahun=<?php echo $tahun; ?>' style='border:0; padding:50px; width:100%; height:1200px;'></iframe>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>

                                </div>
                            </div>
                        </div>
                    </div>


                </div>
            </div>
        </div>
    </div>