<?php $__env->startSection('title', 'FFMS'); ?>

<?php $__env->startSection('content'); ?>
  <div class="row">
      <div class="col-12">
          <div class="card">
              <div class="card-primary">
                  <div class="card-header">
                      <h3 class="card-title" style="color: blue;"><b>Subscription </b></h3>
                  </div>
                  <!-- /.card-header -->
                  <div class="card-body">
                        <div class="col-12">
                            <div class="form-group row">
                              <div class="col-12">
                                <?php
                                  $payment_link_id = "";
                                ?>
                                <?php if(isset($paymentlinks)): ?>
                                  <?php if(isset($paymentlinks->id)): ?>
                                  <?php
                                    $payment_link_id = $paymentlinks->id;
                                    $formurl = $paymentlinks->payment_link;
                                    $formurl = $formurl."?prefilled_email=".$email;
                                  ?>
                                  <?php endif; ?>
                                <?php endif; ?>
                                <?php if($payment_link_id!=""): ?>
                                  <?php if($sts==0): ?>
                                      <h3>
                                          <?php echo e($status); ?>

                                      </h3>
                                      <br><br>
                                      <label style="color: blue;">Please Click the button.</label>
                                      <br><br>
                                      <?php if(($log_sts==1) && ($sts==0)): ?>
                                        <a href="<?php echo e(URL::to('/')); ?>"  class="btn btn-primary btn-sm">Proceed to Login</a>
                                      <?php endif; ?>
                                      <?php if(($sts==0) && ($log_sts==0)): ?>
                                        <a href="<?php echo e($formurl); ?>"  class="btn btn-primary btn-sm">Proceed To Payment</a>
                                      <?php endif; ?>
                                  <?php endif; ?>
                                  <?php if($sts==1): ?>
                                      <h3 style="color: red;">
                                          <?php echo e($status); ?>

                                      </h3>
                                  <?php endif; ?>
                                <?php else: ?>
                                  <h3 style="color: red;"> Some Problem.. </h3>
                                <?php endif; ?>
                              </div>
                            </div>
                        </div>
                    <!-- /.card-body -->     
                  </div>
              </div>
          </div>
      </div>
  </div>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.subscriptionheader', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>