
<?php $__env->startSection('content'); ?>
<!-- BEGIN: Content-->
<div class="app-content content ">
    <div class="content-overlay"></div>
    <div class="header-navbar-shadow"></div>
    <div class="content-wrapper container-xxl p-0">
        <div class="content-header row">
            <div class="content-header-left col-md-9 col-12 mb-2">
                <div class="row breadcrumbs-top">
                    <div class="col-12">
                        <h2 class="content-header-title float-start mb-0"><?php echo e(__('lang.admin_menu_settings')); ?></h2>
                        <div class="breadcrumb-wrapper">
                            <ol class="breadcrumb">
                            <li class="breadcrumb-item"><a href="<?php echo route('dashboard'); ?>"><?php echo e(__('lang.admin_menu_dashboard')); ?></a>
                                </li>
                                <li class="breadcrumb-item active"><?php echo e(__('lang.admin_menu_holidays')); ?>

                                </li>
                            </ol>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="content-body">
            <section id="basic-switches">
                <div class="row">
                    <div class="col-sm-12">
                        <div class="card">
                            <div class="card-header">
                                <h4 class="card-title"><?php echo e(__('lang.admin_menu_holidays')); ?></h4>
                            </div>
                            <div class="card-body">
                                <?php echo Form::model(null, ['method' => 'PATCH','enctype'=>'multipart/form-data', 'url' => ['admin/settings/update']]); ?>

                                    <input type="hidden" name="page_name" value="non-working-days">
                                    <?php $__currentLoopData = $data; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $row): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                        <?php if($row->key=='mon_working'): ?>
                                            <div class="demo-inline-spacing">
                                                <div class="form-check form-switch">
                                                    <input type="checkbox" class="form-check-input" name="mon_working" id="customSwitch1" value="1" <?php if($row->value=='1'){?>checked<?php } ?>/>
                                                    <label class="form-check-label" for="customSwitch1"><?php echo e(__('lang.admin_monday')); ?></label>
                                                </div>
                                            </div>
                                        <?php endif; ?>
                                        <?php if($row->key=='tue_working'): ?>
                                            <div class="demo-inline-spacing">
                                                <div class="form-check form-switch">
                                                    <input type="checkbox" class="form-check-input" name="tue_working" id="customSwitch2" value="1" <?php if($row->value=='1'){?>checked<?php } ?>/>
                                                    <label class="form-check-label" for="customSwitch2"><?php echo e(__('lang.admin_tuesday')); ?></label>
                                                </div>
                                            </div>
                                        <?php endif; ?>
                                        <?php if($row->key=='wed_working'): ?>
                                            <div class="demo-inline-spacing">
                                                <div class="form-check form-switch">
                                                    <input type="checkbox" class="form-check-input" name="wed_working" id="customSwitch3" value="1" <?php if($row->value=='1'){?>checked<?php } ?>/>
                                                    <label class="form-check-label" for="customSwitch3"><?php echo e(__('lang.admin_wednesday')); ?></label>
                                                </div>
                                            </div>
                                        <?php endif; ?>
                                        <?php if($row->key=='thu_working'): ?>
                                            <div class="demo-inline-spacing">
                                                <div class="form-check form-switch">
                                                    <input type="checkbox" class="form-check-input" name="thu_working" id="customSwitch4" value="1" <?php if($row->value=='1'){?>checked<?php } ?>/>
                                                    <label class="form-check-label" for="customSwitch4"><?php echo e(__('lang.admin_thursday')); ?></label>
                                                </div>
                                            </div>
                                        <?php endif; ?>
                                        <?php if($row->key=='fri_working'): ?>
                                            <div class="demo-inline-spacing">
                                                <div class="form-check form-switch">
                                                    <input type="checkbox" class="form-check-input" name="fri_working" id="customSwitch5" value="1" <?php if($row->value=='1'){?>checked<?php } ?>/>
                                                    <label class="form-check-label" for="customSwitch5"><?php echo e(__('lang.admin_friday')); ?></label>
                                                </div>
                                            </div>
                                        <?php endif; ?>
                                        <?php if($row->key=='sat_working'): ?>
                                            <div class="demo-inline-spacing">
                                                <div class="form-check form-switch">
                                                    <input type="checkbox" class="form-check-input" name="sat_working" id="customSwitch6" value="1" <?php if($row->value=='1'){?>checked<?php } ?>/>
                                                    <label class="form-check-label" for="customSwitch6"><?php echo e(__('lang.admin_saturday')); ?></label>
                                                </div>
                                            </div>
                                        <?php endif; ?>
                                        <?php if($row->key=='sun_working'): ?>
                                            <div class="demo-inline-spacing">
                                                <div class="form-check form-switch">
                                                    <input type="checkbox" class="form-check-input" name="sun_working" id="customSwitch7" value="1" <?php if($row->value=='1'){?>checked<?php } ?>/>
                                                    <label class="form-check-label" for="customSwitch7"><?php echo e(__('lang.admin_sunday')); ?></label>
                                                </div>
                                            </div>
                                        <?php endif; ?>
                                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                    <div class="col-12 d-flex flex-sm-row flex-column mt-2">
                                        <button type="submit" class="btn btn-primary mb-1 mb-sm-0 me-0 me-sm-1"><?php echo e(__('lang.admin_button_save_changes')); ?></button>
                                    </div>
                                <?php echo Form::close(); ?>

                            </div>
                        </div>
                    </div>
                </div>
            </section>
        </div>
    </div>
</div>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /Applications/MAMP/htdocs/hayawater/resources/views/settings/app/nonworkingdays.blade.php ENDPATH**/ ?>