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


 <!--Contents-->
    <main>
      
        <section class="registeration">
               <?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; ?>
            <div class="container">
                <div class="text-content text-center">
                    <h4><?php echo e(__('site.form')); ?></h4>
                    <p><?php echo e(__('site.form_p')); ?></p>
                </div>
                    <div class="form-container">
                       <form method="post" id="form" action="<?php echo e(url(getCurrentLocale().'/paying')); ?>">
                        <?php echo csrf_field(); ?>
                        
                            <div class="row">
                             
                                <div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">
                                     <label><?php echo e(__('site.pay_type')); ?></label>
                                    <select name="pay_type" class="form-control">
                                        <?php $__currentLoopData = $ways; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $row): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                        <option value="<?php echo e($row['PaymentMethodId']); ?>"><?php if(getCurrentLocale() == 'ar'): ?> <?php echo e($row['PaymentMethodAr']); ?> <?php else: ?> <?php echo e($row['PaymentMethodEn']); ?> <?php endif; ?></option>
                                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                    </select>
                                </div>
                                  <div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">
                                     <label><?php echo e(__('site.credit_number')); ?></label>
                      <input type="number" name="credit_number" class="form-control" placeholder="<?php echo e(__('site.credit_number')); ?>" value="<?php echo e(old('credit_number')); ?>">

                                </div>
                                <div class="col-lg-3 col-md-6 col-sm-12 col-xs-12">
                                     <label><?php echo e(__('site.month')); ?></label>
                      <input type="number" min="0" max="12" name="month" class="form-control" placeholder="<?php echo e(__('site.month')); ?>" value="<?php echo e(old('month')); ?>">
                      </div>
                                <div class="col-lg-3 col-md-6 col-sm-12 col-xs-12">
                                     <label><?php echo e(__('site.year')); ?></label>
<input type="number" name="year"min="0" max="99" class="form-control" placeholder="<?php echo e(__('site.year')); ?>" value="<?php echo e(old('year')); ?>">
                                </div>
                                     <div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">
                                     <label><?php echo e(__('site.code')); ?></label>
                      <input type="number" name="code" class="form-control" placeholder="<?php echo e(__('site.code')); ?>" value="<?php echo e(old('code')); ?>">

                                </div>
                                                               <div class="col-lg-6 col-md-6 col-sm-12 col-xs-12"></div>
                                
                                
                                <div class="col-12">
                                    <label class="text-center w-100"> <?php echo e(__('site.packages')); ?> </label>
                                    <div class="row">
                                        <?php $__currentLoopData = $packages; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $row): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                        <div class="col-lg-4 col-md-4 col-sm-12 col-xs-12">
                                            <label class="select-package">
                                                <input type="radio" name="package" class="card-input-element" value="<?php echo e($row->id); ?>" />
                                                <div class="card card-input">
                                                    <div class="card-header text-center">
                                                        <div class="image-content">
                                                            <img src="<?php echo e(asset('/lamis/images/packages/'.$row->img)); ?>">
                                                        </div>
                                                        <h5 class="main-color"><?php echo e(packagename($row->id)); ?></h5>
                                                    </div>
                                                    <div class="card-body">
                                                        <div class="text-content text-center background-gray">
                                                            <p><?php echo e(packagedescription($row->id)); ?></p>
                                                        </div>
                                                          <div class="text-content text-center background-gray">
                                                            <p><?php echo e(packagedescription($row->id)); ?></p>
                                                        </div>
                                                          <div class="text-content text-center background-gray">
                                                            <p><?php echo e(packagedescription($row->id)); ?></p>
                                                        </div>
                                                          <div class="text-content text-center background-gray">
                                                            <p><?php echo e(packagedescription($row->id)); ?></p>
                                                        </div>
                                                        
                                                      
                                                    <div class="card-footer text-center background-gray">
                                                        <p class="main-color">
                                                            <span><?php echo e($row->cost); ?></span>
                                                            <?php echo e(__('site.SAR')); ?>.
                                                        </p>
                                                        <button class="button">
                                                           <?php echo e(__('site.start_now')); ?>

                                                        </button>
                                                    </div>
                                                </div>
                                            </label>
                                        </div>
                                      
                                    </div>
                                     <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                </div>
                                </div>
                              
                                <div class="col-12 m-auto">
                                    <button type="submit" class="btn register-btn"><?php echo e(__('site.registting')); ?></button>
                                </div>
                            </div>
                       </form>
                       
                </div>
            </div>
            <img src="<?php echo e(url('')); ?>/assets/lamis/images/home-topr.png" alt="" class="r-top wow fadeInRight slow">
            <div class="polygan c-bottom"></div>
        </section>
    </main>
    <!--End-Contents-->



<?php $__env->startPush('js'); ?>
<script>
 
</script>
<?php $__env->stopPush(); ?>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('lamis.layout.main', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/omaralyomhost/public_html/lamis/resources/views/lamis/paid.blade.php ENDPATH**/ ?>