Viewing file: fdf31baf23b60f358ee8d1557936995a113b9039.php (7.3 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php $__env->startSection('title'); ?> Billings <?php $__env->stopSection(); ?>
<?php $__env->startSection('content'); ?> <!-- Content Header (Page header) --> <section class="content-header">
</section> <!-- Main content --> <div class="content billing-section"> <div class="container-fluid"> <div class="row"> <!-- /.col-md-6 --> <div class="col-lg-10 col-12 col-sm-12 col-md-10 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">
<table class="w-100"> <tr> <td> <div class="card-title float-none"><?php echo e(trans('customer.your_plan')); ?></div> <h2><?php echo e(isset($customer_plan->plan)?$customer_plan->plan->title:''); ?></h2></td> <td class="text-right"> <button type="button" class="btn btn-primary d-none"><?php echo e(trans('customer.update_plan')); ?></button> </td> </tr> </table> <?php if(isset($customer_plan->plan)): ?> <table class="w-50"> <tr> <td class="plan-des-title"><?php echo e(trans('customer.email_limit')); ?></td> <td class="plan-des-value"><?php echo e($customer_plan->email_limit - $customer_plan->available_emails); ?>
/<?php echo e($customer_plan->email_limit); ?></td> </tr> <tr> <td class="plan-des-title"><?php echo e(trans('customer.contact_limit')); ?></td> <td class="plan-des-value"><?php echo e($totalContacts); ?>
/<?php echo e($customer_plan->contact_limit); ?></td> </tr> <tr> <td class="plan-des-title"><?php echo e(trans('customer.cost')); ?></td> <td class="plan-des-value"><?php echo e(formatNumberWithCurrSymbol($customer_plan->price)); ?></td> </tr> </table> <?php endif; ?>
<div id="plans" class="plans-wrapper mt-3"> <?php $__currentLoopData = $plans; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $plan): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <div class="columns <?php echo e(isset($customer_plan) && $customer_plan->plan_id==$plan->id?'plan-active':''); ?>"> <ul class="price"> <li class="grey"><?php echo e($plan->title); ?> <span class="plan-title-current"><?php echo e(isset($customer_plan) && $customer_plan->plan_id==$plan->id?'(Current)':''); ?></span> </li> <li class="price-tag"><?php echo e(formatNumberWithCurrSymbol($plan->price)); ?></li> <li><?php echo e($plan->email_limit); ?> <?php echo e(trans('customer.email')); ?></li> <li><?php echo e($plan->contact_limit); ?> <?php echo e(trans('customer.contact_limit')); ?></li> <li><?php echo e(trans('customer.unlimited_support')); ?></li>
<?php if(!isset($customer_plan) || $customer_plan->plan_id!=$plan->id): ?> <li> <?php if(Module::has('PaymentGateway') && Module::find('PaymentGateway')->isEnabled()): ?> <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('paymentgateway::process')); ?>" data-input='{"id":"<?php echo e($plan->id); ?>"}' data-toggle="modal" data-target="#modal-confirm" type="button" class="btn btn-primary btn-sm"><?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 btn-primary btn-sm"><?php echo e(trans('customer.choose')); ?>
</button> <?php endif; ?> </li> <?php endif; ?>
</ul> </div> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </div>
</div> </div> </div> <!-- /.col-md-6 --> </div> <!-- /.row --> </div><!-- /.container-fluid --> </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/picomail.picotech.app/public_html/resources/views/customer/billings/index.blade.php ENDPATH**/ ?>
|