<?php $__env->startSection('content'); ?>

 <div class="container-xxl flex-grow-1 container-p-y">
<div class="card mt-4">
    <div class="card-header">
                   <h1 class="">Add Payment </h1>
    </div>

    <div class="card-body">

      <?php if($errors->any()): ?>
      <div class="alert alert-danger">

          <?php $__currentLoopData = $errors->all(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $error): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
          <div><?php echo e($error); ?></div>

          <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>

      </div>

      <?php endif; ?>

         <form action="<?php echo e(url('admin/update-payment-list/'.$payment_id->id)); ?>" method="POST" enctype="multipart/form-data">
                                  <?php echo csrf_field(); ?>
                                  <?php echo method_field('PUT'); ?>
                                  <div class="mb-3">
                                  
                                                 <label for=""> <?php echo e(__('gatewayname')); ?></label>
                                                 <input type="text"  value="<?php echo e($payment_id->title); ?>" name="title" disabled class="form-control">
                                  </div>
                                  <div class="mb-3">
                                    <label for=""><?php echo e(__('gatewaytitle')); ?></label>
                                    <input type="text"  value="<?php echo e($payment_id->subtitle); ?>" name="subtitle" class="form-control">
 
                                   </div>

                                  <div class="mb-3">
                          
                                     <label for=""><?php echo e(__('gatewayimage')); ?></label>
                                     <input type="file" name="img" class="form-control">
                                     <img src="<?php echo e(asset($payment_id->img)); ?>" width="50px" height="50px" alt="Img">
                                 </div>

                                  <div class="mb-3">
                                                
                                                 <label for=""><?php echo e(__('gatewayiattr')); ?></label>
                                                 <input type="text" name="attributes" value="<?php echo e($payment_id->attributes); ?>"  class="form-control">
                                  </div>
                                

                                <div class="mb-3">
                                    <label class="form-label" for="country"><?php echo e(__('gatewayStatus')); ?></label>
                                    <select id="select" name="status" class="select2 form-select">
                                        <option value="1" <?php echo e($payment_id->status == 1 ? 'selected' : ''); ?>><?php echo e(__('active')); ?></option>
                                        <option value="0" <?php echo e($payment_id->status == 0 ? 'selected' : ''); ?>><?php echo e(__('deactive')); ?></option>
                                   
                                    </select>
                                  </div>
                            

                                  <div class="col-md-6">
                                    
                                     <button type="submit" class="btn btn-primary"><?php echo e(__('updategateway')); ?></button>
                                 </div>

                   </form>

    </div>

</div>
 </div>

<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/xorgeekc/public_html/medishop/resources/views/admin/payment/editpayment.blade.php ENDPATH**/ ?>