Viewing file: 5160321ff907c6dcb09aca34de0aa5a2.php (10.04 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) --> <div class="content-header custom-content-header"> <h5><?php echo e(trans('customer.billing')); ?></h5> <p class="m-0 section-heading-text"> <i class="fa fa-university mr-1 op-07"></i> <span class="panel-name op-07"> <?php echo e(trans('customer.customer_panel')); ?>
</span> <i class="fa fa-angle-double-right ml-1 mr-1" aria-hidden="true"></i> <span class="header-active"><?php echo e(trans('customer.billing')); ?></span> </p> </div> <!-- /.content-header -->
<!-- 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">
<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->title)?$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>
<table class="w-50"> <tr> <td class="plan-des-title"><?php echo e(trans('customer.available_word')); ?> :</td> <td class="plan-des-value"> <?php if(auth('customer')->user()->current_plan->is_word_limit == 'yes'): ?> <span class="text-primary"><?php echo e(trans('customer.unlimited_word_limit')); ?></span> <?php else: ?> <span class="text-primary"><?php echo e(auth()->user()->current_plan->word_limit); ?>/<?php echo e(auth('customer')->user()->current_plan->available_word); ?></span> <?php endif; ?> </td> </tr> <tr> <td class="plan-des-title"> <?php echo e(trans('customer.available_image')); ?> : </td>
<td class="plan-des-value"> <?php if(auth('customer')->user()->current_plan->is_image_limit == 'yes'): ?> <span class="text-primary"><?php echo e(trans('customer.unlimited_image_limit')); ?></span> <?php else: ?> <span class="text-primary"><?php echo e(auth()->user()->current_plan->image_limit); ?>/<?php echo e(auth()->user()->current_plan->available_image); ?></span> <?php endif; ?> </td> </tr> <tr> <td class="plan-des-title"> <?php echo e(trans('customer.available_code')); ?> : </td>
<td class="plan-des-value"> <?php if(auth('customer')->user()->current_plan->is_code_limit == 'yes'): ?> <span class="text-primary"><?php echo e(trans('customer.unlimited_code_limit')); ?></span> <?php else: ?> <span class="text-primary"><?php echo e(auth('customer')->user()->current_plan->code_limit); ?>/<?php echo e(auth('customer')->user()->current_plan->available_code); ?></span> <?php endif; ?> </td> </tr> <tr> <td class="plan-des-title"><?php echo e(trans('customer.cost')); ?></td> <td class="plan-des-value">$<?php echo e(isset($customer_plan->price)?$customer_plan->price:0); ?></td> </tr> </table>
<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->plan_id)&&isset($plan->id)&&($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->plan_id)&&isset($plan->id)&&($customer_plan->plan_id==$plan->id)?'(Current)':''); ?></span> </li> <li class="price-tag"><?php echo e(formatNumberWithCurrSymbol($plan->price)); ?></li> <?php if($plan->is_word_limit=='yes'): ?> <li><?php echo e(trans('admin.word_limit')); ?>: <?php echo e(trans('customer.unlimited')); ?></li> <?php else: ?> <li><?php echo e(trans('admin.word_limit')); ?>: <?php echo e($plan->word_limit); ?></li> <?php endif; ?>
<?php if($plan->is_image_limit=='yes'): ?> <li><?php echo e(trans('admin.image_limit')); ?>: <?php echo e(trans('customer.unlimited')); ?></li> <?php else: ?> <li><?php echo e(trans('admin.image_limit')); ?>: <?php echo e($plan->image_limit); ?></li> <?php endif; ?>
<?php if($plan->is_code_limit=='yes'): ?> <li><?php echo e(trans('admin.code_limit')); ?>: <?php echo e(trans('customer.unlimited')); ?></li> <?php else: ?> <li><?php echo e(trans('admin.code_limit')); ?>: <?php echo e($plan->code_limit); ?></li> <?php endif; ?>
<li><?php echo e(trans('customer.recurring_type')); ?>: <?php echo e(ucwords($plan->recurring_type)); ?></li> <li><?php echo e(trans('customer.unlimited_support')); ?></li> <li><?php echo e(trans('customer.cancel_anytime')); ?></li> <li> <?php if(isset($customer_plan->plan_id)&&($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]); ?> <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 endif; ?> <?php endif; ?> </li>
</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/ai.picotech.app/public_html/resources/views/customer/billings/index.blade.php ENDPATH**/ ?>
|