<?php $__env->startSection('content'); ?>
<div class="row">
  
<div class="col-md-3"></div>
		 <div class="col-md-6 grid-margin stretch-card">
              <div class="card">
                <div class="card-body">
                  <h4 class="card-title"> <?php echo e(__('messages.rewards')); ?></h4>
                  <!-- <p class="card-description">
                    Basic form elements
                  </p> -->
                  <form class="forms-sample" action="<?php echo e(route('rewardupate')); ?>" method="post" enctype="multipart/form-data">
                    <?php echo e(csrf_field()); ?>

                     <?php if(count($errors) > 0): ?>
                    <?php if($errors->any()): ?>
                   <div class="alert alert-primary" role="alert">
                  <strong>SUCCESS : </strong><?php echo e($errors->first()); ?>

                  <button type="button" class="close" data-dismiss="alert" aria-label="Close">
                  <span aria-hidden="true">×</span>
                  </button>
                  </div>
                  <?php endif; ?>
                 <?php endif; ?>
                    <div class="form-group">
                      <label for="exampleInputName1"><?php echo e(__('messages.Oder Cart Value')); ?></label>
                      <input type="hidden" name="reward_id"  value="<?php echo e($reward->reward_id); ?>">
                      <input type="text" class="form-control" name="min_cart_value"  value="<?php echo e($reward->min_cart_value); ?>"  id="exampleInputName1" placeholder="Minimum Cart Value">
                    </div>
                    
                    <div class="form-group">
                      <label for="exampleInputName1"><?php echo e(__('messages.Reward Points')); ?></label>
                      <input type="text" class="form-control" name="reward_points"value="<?php echo e($reward->reward_point); ?>"  id="exampleInputName1" placeholder="Rewards Points">
                    </div>
                  
                  
                    <button type="submit" class="btn btn-success mr-2"><?php echo e(__('messages.Update')); ?></button>
                   
                  </form>
                </div>
              </div>
            </div>
  <div class="col-md-3"></div>

</div>
</div>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('admin.layout.app', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>