Viewing file: 9f6d0b6a4ebb18155c3f9989c5d4ef96.php (12.46 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php $__env->startSection('title'); ?> Billings <?php $__env->stopSection(); ?>
<?php $__env->startSection('extra-css'); ?> <style>
h1 { font-size: 2.5rem; font-weight: 900; text-transform: uppercase; margin-top: 2em; margin-bottom: 0; }
.text-accent { color: #00A1AB; }
.fs-500 { font-size: 1.3125rem; margin: 0; }
.mb { margin-bottom: 0.5em; }
.plans { display: flex; justify-content: center; flex-wrap: wrap; margin: 2em 0; }
.plan { width: 16.5rem; padding: 2em; border-radius: 1em; margin: 0 0.5em 1em; text-align: center; }
.list-style-none{ list-style: none; padding: 0px !important; }
.plan--light { color: #4E4E4E; background: linear-gradient(-45deg, #E5E3E8, #FAFAFA); }
.plan--light .plan-price { color: #00A1AB; }
.plan--light .choose-plan-btn { color: #FFF; background: #4E4E4E; }
.plan--accent { color: #FFF; background: linear-gradient(-45deg, #00A1AB, #3741A0); }
.plan--accent .choose-plan-btn { color: #4E4E4E; background: #FFF; }
.plan-title { text-transform: uppercase; margin: 0 0 1em; }
.plan-price { margin: 0; font-size: 3rem; line-height: 1; font-weight: 900; }
.plan-price span { display: block; font-size: 1.5625rem; font-weight: 300; }
.plan-description { margin: 2em 0; line-height: 1.5; }
.choose-plan-btn { display: inline-block; padding: 0.5em 0.75em; border-radius: 0.25em; text-transform: uppercase; text-decoration: none; font-weight: 700; color: #FFF; background: #00A1AB; transition: 0.3s; }
.choose-plan-btn:hover { opacity: 0.75; } .pricing-plans{ display: flex !important; } .btn-mb { margin-bottom: 3em; }
.btn--light { color: #4E4E4E; background: #FFF; }
.btn--dark { color: #FFF; background: #4E4E4E; } </style>
<?php $__env->stopSection(); ?> <?php $__env->startSection('content'); ?> <!-- Content Header (Page header) --> <section class="content-header">
</section> <!-- Main content --> <div class="content"> <div class="container-fluid"> <div class="row"> <!-- /.col-md-6 --> <div class="col-lg-12 mx-auto"> <div class="card"> <div class="card-header"> <h5 class="m-0"> <?php echo e(trans('customer.billing')); ?>
</h5> </div> <div class="card-body"> <?php if($customer_plan): ?> <div class="card mb-4"> <div class="card-body"> <h4 class="text-muted"><?php echo e(trans('Your Current Plan')); ?>: <strong><?php echo e($customer_plan->plan->title); ?></strong></h4> <h6> <?php echo e(trans('Plan Will Expire At')); ?>: <?php echo e($customer_plan->expire_date); ?>
</h6> <h6><?php echo e(trans('Plan Price')); ?>: <span class="ml-4"><?php echo e(formatNumberWithCurrSymbol($customer_plan->price)); ?></span></h6> </div> </div> <?php endif; ?> <section class="pricing-plans">
<?php $__currentLoopData = $plans; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $plan): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<div class="plans">
<div class="plan <?php echo e(isset($customer_plan) && $customer_plan->plan_id==$plan->id?'plan--accent':'plan--light'); ?>"> <h2 class="plan-title"><?php echo e($plan->title); ?></h2>
<p class="plan-price"><?php echo e(formatNumberWithCurrSymbol($plan->price)); ?><span>/ <?php echo e(ucwords($plan->recurring_type)); ?></span></p>
<p class="plan-description"> <ul class="list-style-none p-0"> <?php if($plan->meal_plan=='yes'): ?> <li><?php echo e(trans('Meal Plan')); ?></li> <?php endif; ?>
<?php if($plan->workout_plan=='yes'): ?> <li><?php echo e(trans('Workout Plan')); ?></li> <?php endif; ?> <?php if($plan->live_support=='yes'): ?> <li> Live Support </li> <?php endif; ?>
<?php if(isset($plan->details) && $plan->details): ?> <?php $__currentLoopData = json_decode($plan->details); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $detail): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <?php if($detail): ?> <li> <?php echo e($detail); ?>
</li> <?php endif; ?> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> <?php endif; ?>
<li> Cancel Anytime </li>
</ul> </p> <?php if(!$customer_plan || $customer_plan->plan_id!=$plan->id): ?> <?php if(Module::has('PaymentGateway') && Module::find('PaymentGateway')->isEnabled()): ?> <button data-message="<?php echo trans('customer.messages.update_plan',['plan'=>$plan->title]); ?>" data-action="<?php echo e(route('paymentgateway::process')); ?>" data-input='{"id":"<?php echo e($plan->id); ?>"}' data-toggle="modal" data-target="#modal-confirm" type="button" class="btn choose-plan-btn"><?php echo e(trans('customer.choose')); ?>
</button> <?php else: ?> <button data-message="<?php echo trans('customer.messages.update_plan',['plan'=>$plan->title]); ?> <br/> <span class='text-sm text-muted'><?php echo e(trans('customer.messages.update_plan_nb')); ?></span>" data-action="<?php echo e(route('customer.billing.update')); ?>" data-input='{"id":"<?php echo e($plan->id); ?>"}' data-toggle="modal" data-target="#modal-confirm" type="button" class="btn choose-plan-btn"><?php echo e(trans('customer.choose')); ?>
</button> <?php endif; ?> <?php else: ?> <button class="btn choose-plan-btn disabled" disabled><?php echo e(trans('Owned')); ?></button> <?php endif; ?>
</div>
</div>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</section>
</div>
</div> </div> </div> <!-- /.col-md-6 --> </div> <!-- /.row --> </div><!-- /.container-fluid --> </div> <?php $contactData = get_settings('contact_info') ? json_decode(get_settings('contact_info')) : ''; ?> <!-- Modal --> <div class="modal fade" id="contactModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalCenterTitle" aria-hidden="true"> <div class="modal-dialog modal-dialog-centered" role="document"> <div class="modal-content"> <div class="modal-header"> <h5 class="modal-title" id="exampleModalLongTitle">Contact With Admin</h5> <button type="button" class="close" data-dismiss="modal" aria-label="Close"> <span aria-hidden="true">×</span> </button> </div> <div class="modal-body"> <div class="form-group"> <h5> <strong>Phone Number: </strong> <?php if(isset($contactData) && isset($contactData->phone_number)): ?> <a class="d-inline-block" href="tel:<?php echo clean($contactData->phone_number); ?>"> <?php echo clean($contactData->phone_number); ?>
</a> <?php endif; ?> </h5> </div>
<div class="form-group"> <h5> <strong>Email: </strong> <?php if(isset($contactData) && isset($contactData->email_address)): ?> <a class="d-inline-block" href="mailto:<?php echo clean($contactData->email_address); ?>"> <?php echo clean($contactData->email_address); ?>
</a> <?php endif; ?> </h5> </div> <div class="form-group"> <?php if(isset($contactData) && isset($contactData->address)): ?> <?php echo clean($contactData->address); ?>
<?php endif; ?> </div> </div> <div class="modal-footer"> <button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button> </div> </div> </div> </div> <!-- /.content --> <?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.customer', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/picotech/domains/fitness.picotech.app/public_html/resources/views/customer/billings/index.blade.php ENDPATH**/ ?>
|