<?php $__env->startSection('title'); ?>
Pengaturan
<?php $__env->stopSection(); ?>

<?php $__env->startPush('before-script'); ?>
    <?php if(session('status')): ?>
    <?php if (isset($component)) { $__componentOriginal6bb91b748cddfa526a1e6a6c5efd3ee0dde567e5 = $component; } ?>
<?php $component = $__env->getContainer()->make(App\View\Components\Sweetalertsession::class, ['tipe' => ''.e(session('tipe')).'','status' => ''.e(session('status')).'']); ?>
<?php $component->withName('sweetalertsession'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php $component->withAttributes([]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal6bb91b748cddfa526a1e6a6c5efd3ee0dde567e5)): ?>
<?php $component = $__componentOriginal6bb91b748cddfa526a1e6a6c5efd3ee0dde567e5; ?>
<?php unset($__componentOriginal6bb91b748cddfa526a1e6a6c5efd3ee0dde567e5); ?>
<?php endif; ?>
    <?php endif; ?>
<?php $__env->stopPush(); ?>


<?php $__env->startSection('content'); ?>
        <section class="section">
            <div class="section-header">
            <h1><?php echo $__env->yieldContent('title'); ?></h1>
            <div class="section-header-breadcrumb">
                <div class="breadcrumb-item active"><a href="<?php echo e(route('dashboard')); ?>">Dashboard</a></div>
                
                <div class="breadcrumb-item"><?php echo $__env->yieldContent('title'); ?></div>
            </div>
            </div>

            <div class="section-body">
            <div class="card">
                <div class="card-header">
                <h4>Pengaturan Aplikasi</h4>
                </div>
                <div class="card-body">

                    <form action="/admin/settings/1" method="post" enctype="multipart/form-data">
                        <?php echo method_field('put'); ?>
                        <?php echo csrf_field(); ?>

                        <div class="row">

                        <div class="form-group col-md-5 col-5 mt-0 ml-5">
                            <label for="app_nama">Nama Aplikasi <code>*)</code></label>
                            <input type="text" name="app_nama" id="app_nama" class="form-control <?php $__errorArgs = ['app_nama'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" value="<?php echo e($datas->app_nama); ?>" required>
                            <?php $__errorArgs = ['app_nama'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?><div class="invalid-feedback"> <?php echo e($message); ?></div>
                            <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                        </div>

                        <div class="form-group col-md-5 col-5 mt-0 ml-5">
                            <label for="app_namapendek">Singkatan Aplikasi <code>*)</code></label>
                            <input type="text" name="app_namapendek" id="app_namapendek" class="form-control <?php $__errorArgs = ['app_namapendek'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" value="<?php echo e($datas->app_namapendek); ?>" required>
                            <?php $__errorArgs = ['app_namapendek'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?><div class="invalid-feedback"> <?php echo e($message); ?></div>
                            <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                        </div>

                        <div class="form-group col-md-5 col-5 mt-0 ml-5">
                            <label for="paginationjml">Pagination <code>*)</code></label>
                            <input type="number" name="paginationjml" id="paginationjml" class="form-control <?php $__errorArgs = ['paginationjml'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" value="<?php echo e($datas->paginationjml); ?>" required min="3" max="100">
                            <?php $__errorArgs = ['paginationjml'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?><div class="invalid-feedback"> <?php echo e($message); ?></div>
                            <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                        </div>


                        </div>



                </div>
            </div>
            <div class="card">
                <div class="card-header">
                <h4>Informasi Sekolah</h4>
                </div>
                <div class="card-body">

                    <div class="row">

                        <div class="form-group col-md-5 col-5 mt-0 ml-5">
                            <label for="lembaga_nama">Nama Sekolah <code>*)</code></label>
                            <input type="text" name="lembaga_nama" id="lembaga_nama" class="form-control <?php $__errorArgs = ['lembaga_nama'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" value="<?php echo e($datas->lembaga_nama); ?>" required>
                            <?php $__errorArgs = ['lembaga_nama'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?><div class="invalid-feedback"> <?php echo e($message); ?></div>
                            <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                        </div>

                        <div class="form-group col-md-5 col-5 mt-0 ml-5">
                            <label for="lembaga_jalan">Alamat <code>*)</code></label>
                            <input type="text" name="lembaga_jalan" id="lembaga_jalan" class="form-control <?php $__errorArgs = ['lembaga_jalan'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" value="<?php echo e($datas->lembaga_jalan); ?>" required>
                            <?php $__errorArgs = ['lembaga_jalan'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?><div class="invalid-feedback"> <?php echo e($message); ?></div>
                            <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                        </div>

                        <div class="form-group col-md-5 col-5 mt-0 ml-5">
                            <label for="lembaga_telp">No.Telp <code>*)</code></label>
                            <input type="text" name="lembaga_telp" id="lembaga_telp" class="form-control <?php $__errorArgs = ['lembaga_telp'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" value="<?php echo e($datas->lembaga_telp); ?>" required >
                            <?php $__errorArgs = ['lembaga_telp'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?><div class="invalid-feedback"> <?php echo e($message); ?></div>
                            <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                        </div>

                        <div class="form-group col-md-5 col-5 mt-0 ml-5">
                            <label for="lembaga_kota">Kota <code>*)</code></label>
                            <input type="text" name="lembaga_kota" id="lembaga_kota" class="form-control <?php $__errorArgs = ['lembaga_kota'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" value="<?php echo e($datas->lembaga_kota); ?>" required >
                            <?php $__errorArgs = ['lembaga_kota'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?><div class="invalid-feedback"> <?php echo e($message); ?></div>
                            <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                        </div>

                        <div class="form-group col-md-5 col-5 mt-0 ml-5">
                            <label for="sekolahttd">Nama Kepala Sekolah <code>*)</code></label>
                            <input type="text" name="sekolahttd" id="sekolahttd" class="form-control <?php $__errorArgs = ['sekolahttd'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" value="<?php echo e($datas->sekolahttd); ?>" required >
                            <?php $__errorArgs = ['sekolahttd'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?><div class="invalid-feedback"> <?php echo e($message); ?></div>
                            <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                        </div>

                        <div class="form-group col-md-5 col-5 mt-0 ml-5">
                            <label for="sekolahttd2">TTD Kepala Sekolah 2 <code>*)</code></label>
                            <input type="text" name="sekolahttd2" id="sekolahttd" class="form-control <?php $__errorArgs = ['sekolahttd2'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" value="<?php echo e($datas->sekolahttd2); ?>" required >
                            <?php $__errorArgs = ['sekolahttd2'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?><div class="invalid-feedback"> <?php echo e($message); ?></div>
                            <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                        </div>



                        </div>

                </div>
            </div>
            <div class="card">
                <div class="card-header">
                <h4>Password dan Data Default</h4>
                </div>
                <div class="card-body">

                    <div class="row">

                        <div class="form-group col-md-5 col-5 mt-0 ml-5">
                            <label for="tapelaktif">Tapel <code>*)</code></label>
                            <select name="tapelaktif" id="tapelaktif" class="form-control <?php $__errorArgs = ['tapelaktif'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>">


                                <option><?php echo e($datas->tapelaktif); ?></option>

                            <?php $__currentLoopData = $tapel; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $t): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                <option><?php echo e($t->nama); ?></option>
                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                            </select>
                            
                            <?php $__errorArgs = ['tapelaktif'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?><div class="invalid-feedback"> <?php echo e($message); ?></div>
                            <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                        </div>

                        <div class="form-group col-md-5 col-5 mt-0 ml-5">
                            <label for="semester">Semester <code>*)</code></label>
                            <select name="semesteraktif" id="semesteraktif" class="form-control <?php $__errorArgs = ['semesteraktif'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>">
                                <?php if($datas->semesteraktif=='1'): ?>
                                <option value="1"><?php echo e($datas->semesteraktif.'(SATU)'); ?></option>
                                <?php elseif($datas->semesteraktif=='2'): ?>
                                <option value="2"><?php echo e($datas->semesteraktif.'(DUA)'); ?></option>
                                <?php endif; ?>

                                <option value="1">1(SATU)</option>
                                <option value="2">2(DUA)</option>
                            </select>
                            
                            <?php $__errorArgs = ['semesteraktif'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?><div class="invalid-feedback"> <?php echo e($message); ?></div>
                            <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                        </div>

                        <div class="form-group col-md-5 col-5 mt-0 ml-5">
                            <label for="nominaltagihandefault">Nominal Default Tagihan Atur<br><?php echo e(number_format($datas->nominaltagihandefault,2)); ?> <code>*)</code></label>
                            <input type="number" name="nominaltagihandefault" id="nominaltagihandefault" class="form-control <?php $__errorArgs = ['nominaltagihandefault'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" value="<?php echo e($datas->nominaltagihandefault); ?>" required >
                            <?php $__errorArgs = ['nominaltagihandefault'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?><div class="invalid-feedback"> <?php echo e($message); ?></div>
                            <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                        </div>

                        <div class="form-group col-md-5 col-5 mt-0 ml-5">
                            <label for="minimalpembayaranujian">Minimal Pembayaran Ujian<br> <code>*)</code></label>
                            <input type="number" name="minimalpembayaranujian" id="minimalpembayaranujian" class="form-control <?php $__errorArgs = ['minimalpembayaranujian'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" value="<?php echo e($datas->minimalpembayaranujian); ?>" required >
                            <?php $__errorArgs = ['minimalpembayaranujian'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?><div class="invalid-feedback"> <?php echo e($message); ?></div>
                            <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                        </div>

                        <div class="form-group col-md-5 col-5 mt-0 ml-5">
                            <label for="passdefaultsiswa">Password Siswa Default <code>*)</code></label>
                            <input type="text" name="passdefaultsiswa" id="passdefaultsiswa" class="form-control <?php $__errorArgs = ['passdefaultsiswa'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" value="<?php echo e($datas->passdefaultsiswa); ?>" required>
                            <?php $__errorArgs = ['passdefaultsiswa'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?><div class="invalid-feedback"> <?php echo e($message); ?></div>
                            <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                        </div>

                        <div class="form-group col-md-5 col-5 mt-0 ml-5">
                            <label for="passdefaultortu">Password Ortu Default <code>*)</code></label>
                            <input type="text" name="passdefaultortu" id="passdefaultortu" class="form-control <?php $__errorArgs = ['passdefaultortu'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" value="<?php echo e($datas->passdefaultortu); ?>" required>
                            <?php $__errorArgs = ['passdefaultortu'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?><div class="invalid-feedback"> <?php echo e($message); ?></div>
                            <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                        </div>

                        <div class="form-group col-md-5 col-5 mt-0 ml-5">
                            <label for="passdefaultpegawai">Password pegawai Default <code>*)</code></label>
                            <input type="text" name="passdefaultpegawai" id="passdefaultpegawai" class="form-control <?php $__errorArgs = ['passdefaultpegawai'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" value="<?php echo e($datas->passdefaultpegawai); ?>" required>
                            <?php $__errorArgs = ['passdefaultpegawai'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?><div class="invalid-feedback"> <?php echo e($message); ?></div>
                            <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                        </div>






                        </div>
                        <?php $__env->startPush('after-script'); ?>
                                <script type="text/javascript">
                                    $(document).ready(function() {
                                      $.uploadPreview({
                                        input_field: "#image-upload",   // Default: .image-upload
                                        preview_box: "#image-preview",  // Default: .image-preview
                                        label_field: "#image-label",    // Default: .image-label
                                        label_default: "Logo Sekolah",   // Default: Choose File
                                        label_selected: "Ganti Logo Sekolah",  // Default: Change File
                                        no_label: false                 // Default: false
                                      });



                                    });
                                </script>
                        <?php $__env->stopPush(); ?>

                                <div class="form-group row mb-4 mt-3">

                                    <div class="col-sm-6 col-md-6">
                                        <center>
                                        <?php
                                        $sekolah_logo=asset('/storage/').'/'.$datas->lembaga_logo;
                                        $randomimg='https://ui-avatars.com/api/?name='.$datas->lembaga_nama.'&color=7F9CF5&background=EBF4FF';
                                        // dd($sekolah_logo)
                                        ?>
                                      <img alt="image" src="<?php echo e($datas->lembaga_logo!=null ? $sekolah_logo : $randomimg); ?>" class="rounded-circle profile-widget-picture" style="object-fit:cover;"  width="200" height="200">
                                        </center>
                                    </div>

                                    <div class="col-sm-4 col-md-4">
                                      <div id="image-preview" class="image-preview">
                                        <label for="image-upload" id="image-label2">Ganti Logo Sekolah</label>
                                        <input type="file" name="lembaga_logo" id="image-upload" class="<?php $__errorArgs = ['lembaga_logo'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                        is_invalid
                                    <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"  accept="image/png, image/gif, image/jpeg" />

                                    <?php $__errorArgs = ['lembaga_logo'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?><div class="invalid-feedback"> <?php echo e($message); ?></div>
                                    <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                      </div>
                                    </div>
                                </div>
                        <div class="card-footer text-right mr-5">
                            <button class="btn btn-primary">Simpan</button>
                        </div>
                    </form>

                </div>
            </div>
            <div class="card">
                <div class="card-header">
                <h4>Seeder dan Reset Data</h4>
                </div>
                <div class="card-body">

                    <form action="<?php echo e(route('seeder.kelas')); ?>" method="post" class="d-inline">
                        <?php echo csrf_field(); ?>
                        <button class="btn btn-info">Seeder Data Kelas</button>
                    </form>

                    <form action="<?php echo e(route('seeder.siswa')); ?>" method="post" class="d-inline">
                        <?php echo csrf_field(); ?>
                        <button class="btn btn-info">Seeder Data Siswa</button>
                    </form>


                    <form action="<?php echo e(route('seeder.guru')); ?>" method="post" class="d-inline">
                        <?php echo csrf_field(); ?>
                        <button class="btn btn-info">Seeder Data Guru</button>
                    </form>


                    


                    <form action="<?php echo e(route('kko')); ?>" method="get" class="d-inline">
                        <?php echo csrf_field(); ?>
                        <button class="btn btn-success">Fungsi KKO</button>
                    </form>
                    <br>
                    <br>

                    <form action="<?php echo e(route('seeder.hard')); ?>" method="post"  class="d-inline ">
                        <?php echo csrf_field(); ?>
                        <button class="btn btn-danger">Hard Reset</button>
                    </form>

                    <form action="<?php echo e(route('cleartemp')); ?>" method="post"  class="d-inline ">
                        <?php echo csrf_field(); ?>
                        <button class="btn btn-danger">Clear Temporary</button>
                    </form>

                </div>
            </div>
            </div>
        </section>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.default', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\Xampp 8.2\htdocs\sim\resources\views/pages/admin/settings/index.blade.php ENDPATH**/ ?>