 
 <?php $__env->startSection('content'); ?>
   <div class="container">
        <div class="justify-content-center">
            <div class="">
                <div class="card">
                    <div class="card-header">Update Game</div>
                    <div class="card-body">
                        <?php if($errors->any()): ?>
                            <div class="alert alert-danger">
                                <ul>
                                    <?php $__currentLoopData = $errors->all(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $error): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                        <li><?php echo e($error); ?></li>
                                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                </ul>
                            </div>
                        <?php endif; ?>
                         <form role="form" method="post" onsubmit="return validateForm('addsstatus')" class="addsstatus" action="<?php echo e(url('admin/stores-game-schedule/'.$detail->id)); ?>" autocomplete="off" enctype="multipart/form-data">
                             <?php echo csrf_field(); ?>
                             <?php echo e(method_field('PATCH')); ?>

                       

                            <div class="row">
                            <div class="col-md-4">
                             <div class="form-group">
                                <label for="title">Game Name <span class="require label-mandatory">*</span></label>
                        
                                <input type="text" class="form-control input-mandatory"
                                       name="stores_id" id="stores_id"  placeholder="Game Name" value="<?php echo e($detail->name); ?>">
                            </div>
                            </div>
                             <div class="col-md-4">
                              <div class="form-group">
                                <label for="title">Open Time <span class="require label-mandatory">*</span></label>
                                <input type="time" class="form-control input-mandatory"
                                       name="opent_time" id="opent_time"  placeholder="" value="<?php echo e($detail->storesDay->opent_time); ?>">
                            </div>
                            </div>
                              <div class="col-md-4">
                              <div class="form-group">
                                <label for="title">Close Time <span class="require label-mandatory">*</span></label>
                                <input type="time" class="form-control input-mandatory"
                                       name="close_time" id="close_time"  placeholder="" value="<?php echo e($detail->storesDay->close_time); ?>">
                            </div>
                            </div>
                            <div class="col-md-4">
                              <div class="form-group">
                                <label for="title">Sort Order <span class="require label-mandatory">*</span></label>
                                <input type="number" class="form-control"
                                       name="sort_order" id="sort_order"  placeholder="" value="<?php echo e($detail->sort_order); ?>">
                            </div>
                            </div>
                             <div class="col-md-4">
                              <div class="form-group">
                                <label for="title">Chart Link <span class="require label-mandatory">*</span></label>
                                <input type="text" class="form-control"
                                       name="link" id="link"  placeholder="" value="<?php echo e($detail->link); ?>">
                            </div>
                            </div>
                           
                             <br>
                              <?php $__currentLoopData = $day; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $dayss): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                             <div class="col-md-1">
                              <div class="form-group">
                                <label for="title"><span class="require label-mandatory"></span> <?php echo e($dayss->name); ?> <input type="checkbox" class="form-control input-mandatory"
                                       name="day[<?php echo e($dayss->id); ?>]"   
                                     <?php echo e(in_array($dayss->id ,$dayid) ? 'checked' : ''); ?>></label>
                              
                            </div>
                            </div>
                              <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                               <br>
                               
                           </div>
                          
                            <br>
                            <div class="form-group">

                                <button type="submit"  class="btn btn-primary" >Submit</button>
                            </div>

                        </form>
                    </div>
                </div>
            </div>
        </div>
    </div>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('admin.layouts.main-layout', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/jr777s/public_html/admin.jr777s.com/resources/views/admin/stores-game/edit.blade.php ENDPATH**/ ?>