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

<?php $__env->stopSection(); ?>
<?php $__env->startSection('content'); ?>
 <div class="row">
    <div class="col-12">
        
        <div class="row">
            <div class="col-lg-9 center-page">
                <div class="text-center">
                    <?php echo $__env->make('widget/notifications', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                    <h3 class="m-b-30 m-t-20">Choose your perfect subscriptions</h3>
                    <p>
                        Lorem Ipsum is simply dummy text of the printing and typesetting industry.
                        Lorem Ipsum has <br/> been the industry's standard dummy text ever since the
                        1500s.
                    </p>
                </div>

                <div class="row m-t-50">

                    <?php if(!$record->isEmpty()): ?>   
                    <?php $__currentLoopData = $record; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $r): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <article class="pricing-column col-md-4">
                            <div class="inner-box card-box">
                                <?php if(is_subscribe($r->name)): ?>
                                <div class="ribbon-pricing"><span>Current Subscription</span></div>
                                <?php endif; ?>
                                <div class="plan-header text-center">
                                    <h3 class="plan-title"><?php echo e($r->name); ?></h3>
                                    <h2 class="plan-price">$<?php echo e($r->price); ?></h2>
                                    <div class="plan-duration"><?php echo e($r->duration); ?></div>
                                </div>
                                <?php echo $r->description; ?>


                                <div class="text-center">
                                    <?php if(!is_subscribe($r->name)): ?>
                                    <a href="<?php echo e(route('customer.payment.subscription',encode($r->id))); ?>" class="btn btn-success btn-bordered w-lg btn-md w-md btn-bordred btn-rounded waves-effect waves-light">Buy Now</a>
                                    <?php else: ?>
                                    <button href="javascript:void(0);" class="btn btn-success w-lg btn-md w-md btn-bordred btn-rounded waves-effect waves-light" disabled="">Buy Now</button>
                                    <?php endif; ?>
                                </div>
                            </div>
                        </article>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                    <?php else: ?>
                    <h4>For the time no plan available.</h4>
                    <?php endif; ?>



                </div>
            </div><!-- end col -->
        </div>
    </div>
 </div>
<?php $__env->stopSection(); ?>


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


<script type="text/javascript">
    $(document).ready(function() {
        $(function(){
            $(this).active_menu("subscription");
        });
    });
</script>
<?php $__env->stopSection(); ?>


<?php echo $__env->make('layouts.default', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/myocanadapanel/public_html/portal/project/resources/views/customer/package.blade.php ENDPATH**/ ?>