<?php if (isset($component)) { $__componentOriginal8e2ce59650f81721f93fef32250174d77c3531da = $component; } ?>
<?php $component = $__env->getContainer()->make(App\View\Components\AppLayout::class, []); ?>
<?php $component->withName('app-layout'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php $component->withAttributes([]); ?>
    <?php echo $__env->make('admin.include.sidebar', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
    <!-- Page Content  -->
    <div class="wrapper">
       <!-- Sidebar  -->
       <!-- Page Content  -->
       <div id="content">

          <div class="navbar-expand-lg navbar-light bg-light">
            <form action="<?php echo e(route('setting.update',$coupon->id)); ?>" method="POST" enctype="multipart/form-data">
               <?php echo csrf_field(); ?>
               <?php echo method_field('PATCH'); ?>
               <div class="col-12">
                  <div class="row">
                    <div class="col-md-6 form-group">
                       <label>Minimum Booking Days</label>
                       <input type="text" class="form-control" value="<?php echo e($coupon->minday); ?>" id="" name="minday" required="">
                    </div>
                    <div class="col-md-6 form-group">
                       <label>Minimum Booking Amount</label>
                       <input type="text" class="form-control" value="<?php echo e($coupon->minamt); ?>" id="" name="minamt"required="">
                    </div>
                    <div class="col-md-6 form-group">
                       <label>Booking Restriction Heading</label>
                       <input placeholder="If you type anything here, it will no allow any booking and will show this on the app." type="text" class="form-control" value="<?php echo e($coupon->reshead); ?>" id="" name="reshead">
                    </div>
                    <div class="col-md-6 form-group">
                       <label>Booking Restriction Text</label>
                       <input placeholder="If you type anything here, it will no allow any booking and will show this on the app." type="text" class="form-control" value="<?php echo e($coupon->restext); ?>" id="" name="restext">
                    </div>
                    <div class="col-md-6 form-group">
                       <label>Latest IOS Version</label>
                       <input type="text" class="form-control" value="<?php echo e($coupon->iosversion); ?>" id="" name="iosversion"required="">
                    </div>
                    <div class="col-md-6 form-group">
                       <label>Latest Android Version</label>
                       <input type="text" class="form-control" value="<?php echo e($coupon->andversion); ?>" id="" name="andversion"required="">
                    </div>
                    <div class="col-md-6 form-group">
                     <label>Minimum Booking Age</label>
                     <input type="number" class="form-control" value="<?php echo e($coupon->min_age); ?>" id="" name="min_age"required="">
                  </div>
                  <div class="col-md-6 form-group">
                     <label>Minimum Licence Years</label>
                     <input type="number" class="form-control" value="<?php echo e($coupon->min_lic_yr); ?>" id="" name="min_lic_yr"required="">
                  </div>
                  <div class="col-md-6 form-group">
                     <label>Currency</label>
                     <select name="curr" class="form-control" required>
                        <?php $__currentLoopData = $currency; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <option value="<?php echo e($item->currency_symbol); ?>" <?php echo e($item->currency_symbol == $coupon->curr ? 'selected':''); ?>><?php echo e($item->country); ?> (<?php echo e($item->currency_symbol); ?>)</option>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                     </select>
                  </div>
                  <div class="col-md-6 form-group">
                     <label>Time Zone</label>
                     <select name="timezone" class="form-control" required>
                        <?php $__currentLoopData = $country; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <option value="<?php echo e($item); ?>" <?php echo e($item == $coupon->timezone ? 'selected':''); ?>><?php echo e($item); ?></option>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                     </select>
                  </div>
                  <div class="col-md-6 form-group">
                     <label>Booking Cutoff Days (in Days)</label>
                     <input type="number" class="form-control" value="<?php echo e($coupon->minadvance); ?>" id="" name="minadvance"required=""> 
                  </div>
                    <div class="col-6 form-group">
                       <label> Accept Card Payment</label>
                       <select name="cardpay" class="form-control" required>
                          <option value="1" <?php echo e($coupon->cardpay == 1 ? 'selected':''); ?>>Yes</option>
                          <option value="0" <?php echo e($coupon->cardpay == 0 ? 'selected':''); ?>>No</option>
                       </select>
                    </div>
                    <div class="col-6 form-group">
                       <label>Accept Cash Payment</label>
                       <select name="cashpay" class="form-control" required>
                          <option value="1" <?php echo e($coupon->cashpay == 1 ? 'selected':''); ?>>Yes</option>
                          <option value="0" <?php echo e($coupon->cashpay == 0 ? 'selected':''); ?>>No</option>
                       </select>
                    </div>
                     <div class="col-md-12">
                        <input type="submit" class="btn btn-success" value="submit">
                     </div>
                  </div>
               </div>
            </form>
          </div>
       </div>
    </div>
   <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal8e2ce59650f81721f93fef32250174d77c3531da)): ?>
<?php $component = $__componentOriginal8e2ce59650f81721f93fef32250174d77c3531da; ?>
<?php unset($__componentOriginal8e2ce59650f81721f93fef32250174d77c3531da); ?>
<?php endif; ?>
<?php /**PATH /home/isoftco/public_html/zedostar/resources/views/admin/setting/edit.blade.php ENDPATH**/ ?>