
<?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_holidays')); ?></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_holiday_list')); ?>

                                </li>
                            </ol>
                        </div>
                    </div>
                </div>
            </div>
            <div class="content-header-right text-md-end col-md-3 col-12 d-md-block">
                <div class="mb-1 breadcrumb-right">
                    <button class="btn btn-icon btn-primary" type="button" data-bs-toggle="modal" data-bs-target="#modals-slide-in">
                        <i data-feather="plus" class="me-25"></i>
                        <span><?php echo e(__('lang.admin_holiday_add')); ?></span>
                    </button>
                </div>
            </div>
        </div>
        <?php echo $__env->make('non_working_days.table', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
    </div>
</div>
<!-- Modal to add new record -->
<div class="modal modal-slide-in fade" id="modals-slide-in">
    <div class="modal-dialog sidebar-sm">
        <form class="add-new-record modal-content pt-0" action="<?php echo route('holidays.store'); ?>" enctype="multipart/form-data" method="post">
            <?php echo csrf_field(); ?>
            <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close">×</button>
            <div class="modal-header mb-1">
                <h5 class="modal-title" id="exampleModalLabel"><?php echo e(__('lang.admin_holiday_new')); ?></h5>
            </div>
            <div class="modal-body flex-grow-1">
                <div class="mb-1">
                    <label class="form-label" for="start_date"><?php echo e(__('lang.admin_holiday_date_range')); ?></label>
                    <input type="text" id="fp-range" class="form-control flatpickr-range" placeholder="YYYY-MM-DD to YYYY-MM-DD" name="date_range" autcomplete="off"/>
                </div>
                <div class="mb-1">
                    <label class="form-label" for="description"><?php echo e(__('lang.admin_description')); ?></label>
                    <textarea type="text" class="form-control" placeholder="<?php echo e(__('lang.admin_description')); ?>" name="description" id="description" ></textarea>
                </div>
                
                <button type="submit" class="btn btn-primary data-submit me-1"><?php echo e(__('lang.admin_button_submit')); ?></button>
                <button type="reset" class="btn btn-outline-secondary" data-bs-dismiss="modal"><?php echo e(__('lang.admin_button_cancel')); ?></button>
            </div>
        </form>
    </div>
</div>

<!-- END: Content-->
<?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/non_working_days/index.blade.php ENDPATH**/ ?>