Viewing file: 0b81516da57ac0beae5cc022acee163d233c93fe.php (12.72 KB) -rwxrwxrwx Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php $__env->startSection('title'); ?> Billings <?php $__env->stopSection(); ?>
<?php $__env->startSection('extra-css'); ?>
<style> .b-plan-title{ font-size: 22px !important; color: white !important; } .price li{ padding: 12px !important; text-align: left; font-weight: 500; } .ribbon-wrapper{ height: 70px; overflow: hidden; position: absolute; width: 70px; z-index: 10; left: 24% !important; margin-top: 6px !important; top: auto !important; right: auto !important; } .ribbon-wrapper .ribbon{ font-size: 10px !important; padding: 8px 4px 8px 4px !important; } .b-plan-title .current-title{ font-size: 13px !important; } </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-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"> <?php if($customer_plan): ?> <table class="w-100"> <tr> <td> <div class="card-title float-none"><?php echo e(trans('customer.your_plan')); ?></div> <h2><?php echo e($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.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($customer_plan && $customer_plan->plan_id==$plan->id?'plan-active':''); ?>"> <?php if($plan->set_as_popular=='yes'): ?> <div class="ribbon-wrapper"> <div class="ribbon bg-danger"> Popular </div> </div> <?php endif; ?> <ul class="price"> <li class="grey"> <h3 class="mb-0 b-plan-title"> <?php echo e($plan->title); ?>
<span class="ml-1 current-title"> <?php echo e($customer_plan && $customer_plan->plan_id==$plan->id?'(Current)':''); ?>
</span> </h3> <h6> <?php echo e($plan->short_description); ?>
</h6> </li>
<li class="price-tag text-muted"><strong><?php echo e(trans('Plan Price')); ?></strong>: <?php echo e(formatNumberWithCurrSymbol($plan->price)); ?></li> <li class="text-muted"><strong><?php echo e(trans('Recurring Type')); ?></strong>: <?php echo e(ucfirst($plan->recurring_type)); ?></li> <?php if($plan->unlimited_contact=='yes'): ?> <li class="text-muted"><strong><?php echo e(trans('Contact Limit')); ?></strong>: <?php echo e(trans('Unlimited')); ?></li> <?php else: ?> <li class="text-muted"><strong><?php echo e(trans('Contact Limit')); ?></strong>: <?php echo e($plan->max_contact); ?></li> <?php endif; ?>
<?php if($plan->unlimited_contact_group=='yes'): ?> <li class="text-muted"><strong><?php echo e(trans('Group Limit')); ?></strong>: <?php echo e(trans('Unlimited')); ?></li> <?php else: ?> <li class="text-muted"><strong><?php echo e(trans('Group Limit')); ?></strong>: <?php echo e($plan->contact_group_limit); ?></li> <?php endif; ?> <li class="text-muted"><strong><?php echo e(trans('Free SMS Unit')); ?></strong>: <?php echo e($plan->free_sms_credit); ?></li> <li class="text-muted"><strong><?php echo e(trans('SMS Unit Price')); ?></strong>: <?php echo e($plan->sms_unit_price); ?></li>
<?php if($plan->api_availability=='yes'): ?> <li class="text-muted"><strong><?php echo e(trans('API Available')); ?></strong>: Yes</li> <?php else: ?> <li class="text-muted"><strong><?php echo e(trans('API Available')); ?></strong>: No</li> <?php endif; ?> <li class="text-muted"><strong><?php echo e(trans('SMS Send Limit')); ?></strong>: <?php echo e($plan->sms_sending_limit); ?>(<small>Per Month</small>)</li>
<li class="text-muted"> <a href="<?php echo e(route('coverage',[$plan->id])); ?>" target="_blank">See Coverage</a> </li>
<li> <?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]); ?> <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 w-100 d-block"><?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 w-100 d-block"><?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> <?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/test.sms.picotech.app/public_html/resources/views/customer/billings/index.blade.php ENDPATH**/ ?>
|