<?php $__env->startSection('title', __('locale.menu.Subscriptions')); ?> <?php $__env->startSection('page-style'); ?> <link rel="stylesheet" type="text/css" href="<?php echo e(asset('css/base/pages/page-pricing.css')); ?>"> <?php $__env->stopSection(); ?> <?php $__env->startSection('content'); ?> <section id="pricing-plan"> <!-- title text and switch button --> <div class="text-center"> <h1 class="mt-5"><?php echo e(__('locale.plans.pricing')); ?> <?php echo e(__('locale.menu.Plans')); ?></h1> <p class="mb-2 pb-75"> <?php echo e(__('locale.description.plan_price')); ?> </p> </div> <!--/ title text and switch button --> <!-- pricing plan cards --> <div class="row pricing-card"> <div class="col-12 col-sm-offset-2 col-sm-10 col-md-12 col-lg-offset-2 col-lg-10 mx-auto"> <?php $__currentLoopData = $plans->chunk(3); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $chunk): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <div class="row"> <?php $__currentLoopData = $chunk; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $plan): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <div class="col-12 col-md-4"> <div class="card standard-pricing <?php echo e($plan->is_popular ? "popular" : null); ?> text-center"> <div class="card-body"> <?php if($plan->is_popular): ?> <div class="pricing-badge text-end"> <span class="badge rounded-pill badge-light-primary">Popular</span> </div> <?php endif; ?> <i data-feather="shopping-cart" class="mb-2 mt-5 feather-32"></i> <h3><?php echo e($plan->name); ?></h3> <p class="card-text"><?php echo e($plan->description); ?></p> <div class="annual-plan"> <div class="plan-price mt-2"> <sup class="font-medium-1 fw-bold text-primary"><?php echo e(str_replace('{PRICE}','',$plan->currency->format)); ?></sup> <span class="pricing-basic-value fw-bolder text-primary"><?php echo e(round($plan->price)); ?></span> <sub class="pricing-duration text-body font-medium-1 fw-bold">/<?php echo e($plan->displayFrequencyTime()); ?></sub> </div> <small class="annual-pricing d-none text-muted"></small> </div> <ul class="list-group list-group-circle text-start"> <li class="list-group-item"><?php echo e($plan->displayTotalQuota()); ?> <?php echo e(__('locale.labels.sms_credit')); ?></li> <?php if($plan->getOption('create_sending_server') == 'yes'): ?> <li class="list-group-item"><?php echo e(__('locale.plans.create_own_sending_server')); ?></li> <?php endif; ?> <?php if($plan->getOption('sender_id_verification') == 'yes'): ?> <li class="list-group-item"><?php echo e(__('locale.plans.need_sender_id_verification')); ?></li> <?php endif; ?> <?php if($plan->getOption('api_access') == 'yes'): ?> <li class="list-group-item"><?php echo e(__('locale.plans.customer_can_use_api')); ?></li> <?php endif; ?> <li class="list-group-item"><?php echo e(__('locale.labels.text_messages')); ?>: <?php echo e($plan->getOption('plain_sms')); ?> <?php echo e(__('locale.labels.credit_per_sms')); ?></li> <li class="list-group-item"><?php echo e(__('locale.labels.voice_messages')); ?>: <?php echo e($plan->getOption('voice_sms')); ?> <?php echo e(__('locale.labels.credit_per_sms')); ?></li> <li class="list-group-item"><?php echo e(__('locale.labels.picture_messages')); ?>: <?php echo e($plan->getOption('mms_sms')); ?> <?php echo e(__('locale.labels.credit_per_sms')); ?></li> </ul> <a href="<?php echo e(route('customer.subscriptions.purchase', $plan->uid)); ?>" class="btn w-100 mt-2 <?php echo e($plan->is_popular ? "btn-primary" : "btn-outline-primary"); ?> <?php echo e(isset($subscription) && $plan->id == $subscription->plan_id ? "disabled" : ""); ?> "> <?php echo e(isset($subscription) && $plan->id == $subscription->plan_id ? __('locale.labels.current_plan') : __('locale.labels.subscribe_now')); ?> </a> </div> </div> </div> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </div> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </div> </div> </section> <?php $__env->stopSection(); ?> <?php echo $__env->make('layouts/contentLayoutMaster', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/bouloter/sms/resources/views/customer/Accounts/plan.blade.php ENDPATH**/ ?>