<?php $__env->startSection('title'); ?>
    <?php echo e(__('general_settings')); ?>

<?php $__env->stopSection(); ?>


<?php $__env->startSection('content'); ?>
    <div class="content-wrapper">
        <div class="page-header">
            <h3 class="page-title">
                <?php echo e(__('general_settings')); ?>

            </h3>
        </div>
        <div class="row grid-margin">
            <div class="col-lg-12">
                <div class="card">
                    <div class="card-body">
                        <form class="create-form-without-reset" action="<?php echo e(route('school-settings.store')); ?>" method="POST" novalidate="novalidate" enctype="multipart/form-data">
                            <?php echo csrf_field(); ?>
                            <div class="border border-secondary rounded-lg mb-2">
                                <div class="row my-4 mx-1">
                                    <div class="form-group col-md-6 col-sm-12">
                                        <label for="school_name"><?php echo e(__('school_name')); ?> <span class="text-danger">*</span></label>
                                        <input name="school_name" id="school_name" value="<?php echo e($settings['school_name'] ?? ''); ?>" type="text" required placeholder="<?php echo e(__('school_name')); ?>" class="form-control"/>
                                    </div>
                                    <div class="form-group col-md-6 col-sm-12">
                                        <label for="school_email"><?php echo e(__('school_email')); ?> <span class="text-danger">*</span></label>
                                        <input name="school_email" id="school_email" value="<?php echo e($settings['school_email'] ?? ''); ?>" type="email" required placeholder="<?php echo e(__('school_email')); ?>" class="form-control"/>
                                    </div>
                                    <div class="form-group col-md-6 col-sm-12">
                                        <label for="school_phone"><?php echo e(__('school_phone')); ?> <span class="text-danger">*</span></label>
                                        <input name="school_phone" id="school_phone" value="<?php echo e($settings['school_phone'] ?? ''); ?>" type="number" required placeholder="<?php echo e(__('school_phone')); ?>" class="form-control remove-number-increment"/>
                                    </div>
                                    <div class="form-group col-md-6 col-sm-12">
                                        <label for="school_tagline"><?php echo e(__('school_tagline')); ?> <span class="text-danger">*</span></label>
                                        <textarea name="school_tagline" id="school_tagline" required placeholder="<?php echo e(__('school_tagline')); ?>" class="form-control"><?php echo e($settings['school_tagline'] ?? ''); ?></textarea>
                                    </div>
                                    <div class="form-group col-md-12 col-sm-12">
                                        <label for="school_address"><?php echo e(__('school_address')); ?> <span class="text-danger">*</span></label>
                                        <textarea name="school_address" id="school_address" required placeholder="<?php echo e(__('school_address')); ?>" class="form-control"><?php echo e($settings['school_address'] ?? ''); ?></textarea>
                                    </div>
                                    <div class="form-group col-md-6 col-lg-6 col-xl-4 col-sm-12">
                                        <label for="favicon"><?php echo e(__('favicon')); ?> <span class="text-danger">*</span></label>
                                        <input type="file" name="favicon" class="file-upload-default"/>
                                        <div class="input-group col-xs-12">
                                            <input type="text" id="favicon" class="form-control file-upload-info" disabled="" placeholder="<?php echo e(__('favicon')); ?>"/>
                                            <span class="input-group-append">
                                            <button class="file-upload-browse btn btn-theme" type="button"><?php echo e(__('upload')); ?></button>
                                        </span>
                                            <div class="col-md-12 mt-2">
                                                <img height="50px" src='<?php echo e($settings['favicon'] ??  ''); ?>' alt="">
                                            </div>
                                        </div>
                                    </div>
                                    <div class="form-group col-md-6 col-lg-6 col-xl-4 col-sm-12">
                                        <label for="horizontal_logo"><?php echo e(__('horizontal_logo')); ?> <span class="text-danger">*</span></label>
                                        <input type="file" name="horizontal_logo" class="file-upload-default"/>
                                        <div class="input-group col-xs-12">
                                            <input type="text" id="horizontal_logo" class="form-control file-upload-info" disabled="" placeholder="<?php echo e(__('horizontal_logo')); ?>"/>
                                            <span class="input-group-append">
                                            <button class="file-upload-browse btn btn-theme" type="button"><?php echo e(__('upload')); ?></button>
                                        </span>
                                            <div class="col-md-12 mt-2">
                                                <img height="50px" src='<?php echo e($settings['horizontal_logo'] ?? ''); ?>' alt="">
                                            </div>
                                        </div>
                                    </div>
                                    <div class="form-group col-md-6 col-lg-6 col-xl-4 col-sm-12">
                                        <label for="vertical_logo"><?php echo e(__('vertical_logo')); ?> <span class="text-danger">*</span></label>
                                        <input type="file" name="vertical_logo" class="file-upload-default"/>
                                        <div class="input-group col-xs-12">
                                            <input type="text" class="form-control file-upload-info" id="vertical_logo" disabled="" placeholder="<?php echo e(__('vertical_logo')); ?>"/>
                                            <span class="input-group-append">
                                        <button class="file-upload-browse btn btn-theme" type="button"><?php echo e(__('upload')); ?></button>
                                        </span>
                                            <div class="col-md-12 mt-2">
                                                <img height="50px" src='<?php echo e($settings['vertical_logo'] ?? ''); ?>' alt="">
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="border border-secondary rounded-lg my-4 mx-1">
                                <div class="col-md-12 mt-3"><h4><?php echo e(__("Roll Number Settings")); ?></h4></div>
                                <div class="col-12 mb-3">
                                    <hr class="mt-0">
                                </div>
                                <div class="form-group col-md-12 col-sm-12">
                                    <label for="roll-number-order"><?php echo e(__("Roll Number Sorting")); ?></label>
                                    <input type="hidden" id="roll-number-sort-column" name="roll_number_sort_column" value="<?php echo e($settings['roll_number_sort_column'] ?? ""); ?>">
                                    <input type="hidden" id="roll-number-sort-order" name="roll_number_sort_order" value="<?php echo e($settings['roll_number_sort_order'] ?? ""); ?>">
                                    <select name="" id="roll-number-order" class="form-control" required>
                                        <option value="" hidden="">-- <?php echo e(__('Select')); ?> --</option>
                                        <option value="first_name,asc"><?php echo e(__("First Name - Ascending")); ?></option>
                                        <option value="first_name,desc"><?php echo e(__("First Name - Descending")); ?></option>
                                        <option value="last_name,asc"><?php echo e(__("Last Name - Ascending")); ?></option>
                                        <option value="last_name,desc"><?php echo e(__("Last Name - Descending")); ?></option>
                                    </select>

                                    <div class="form-check">
                                        <label class="form-check-label"> <input type="checkbox" class="form-check-input" name="change_roll_number" id="change-roll-ckh-settings" value="1"> <?php echo e(__('Change Roll Number for All Classes')); ?> <i class="input-helper"></i></label>
                                    </div>
                                </div>
                            </div>

















                            <input class="btn btn-theme" type="submit" value="Submit">
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/mimeld/myschool.mimeld.com/resources/views/school-settings/general-settings.blade.php ENDPATH**/ ?>