Viewing file: 13c911d21fba23858db189afa102a5eec441d5c9.php (4.48 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php $__env->startSection('title'); ?> Plans <?php $__env->stopSection(); ?>
<?php $__env->startSection('extra-css'); ?>
<link rel="stylesheet" href="<?php echo e(asset('plugins/datatables-bs4/css/dataTables.bootstrap4.min.css')); ?>">
<link rel="stylesheet" href="<?php echo e(asset('plugins/datatables-responsive/css/responsive.bootstrap4.min.css')); ?>">
<?php $__env->stopSection(); ?>
<?php $__env->startSection('content'); ?>
<!-- Main content -->
<section class="content">
<div class="row">
<div class="col-12">
<div class="card">
<div class="card-header">
<h2 class="card-title"><?php echo app('translator')->get('admin.plans.plan'); ?></h2>
<div class="float-right">
<a class="btn btn-primary" href="<?php echo e(route('admin.plans.create')); ?>"><?php echo app('translator')->get('admin.form.button.new'); ?></a>
<a class="btn btn-info" href="<?php echo e(route('admin.plan.requests')); ?>"><?php echo app('translator')->get('admin.form.button.request'); ?><span class="plan_pending_count pending_plan_req_btn"><?php echo e(pendingPlanRequest()); ?></span></a>
</div>
</div>
<!-- /.card-header -->
<div class="card-body table-body">
<table id="plans" class="table table-striped table-bordered dt-responsive nowrap">
<thead>
<tr>
<th><?php echo app('translator')->get('admin.table.title'); ?></th>
<th><?php echo app('translator')->get('admin.table.contact_limit'); ?></th>
<th><?php echo app('translator')->get('admin.table.device_limit'); ?></th>
<th><?php echo app('translator')->get('admin.table.daily_receive_limit'); ?></th>
<th><?php echo app('translator')->get('admin.table.daily_send_limit'); ?></th>
<th><?php echo app('translator')->get('admin.table.price'); ?></th>
<th><?php echo app('translator')->get('admin.table.recurring_type'); ?></th>
<th><?php echo app('translator')->get('admin.table.status'); ?></th>
<th><?php echo app('translator')->get('admin.table.created_at'); ?></th>
<th><?php echo app('translator')->get('admin.table.action'); ?></th>
</tr>
</thead>
</table>
</div>
<!-- /.card-body -->
</div>
<!-- /.card -->
</div>
<!-- /.col -->
</div>
<!-- /.row -->
</section>
<!-- /.content -->
<?php $__env->stopSection(); ?>
<?php $__env->startSection('extra-scripts'); ?>
<script src="<?php echo e(asset('plugins/datatables/jquery.dataTables.min.js')); ?>"></script>
<script src="<?php echo e(asset('plugins/datatables-bs4/js/dataTables.bootstrap4.min.js')); ?>"></script>
<script src="<?php echo e(asset('plugins/datatables-responsive/js/dataTables.responsive.min.js')); ?>"></script>
<script src="<?php echo e(asset('plugins/datatables-responsive/js/responsive.bootstrap4.min.js')); ?>"></script>
<script>
"use strict";
$('#plans').DataTable({
processing: true,
serverSide: true,
responsive:true,
ajax:'<?php echo e(route('admin.plan.get.all')); ?>',
columns: [
{ "data": "title" },
{ "data": "contact_limit" },
{ "data": "device_limit" },
{ "data": "daily_receive_limit" },
{ "data": "daily_send_limit" },
{ "data": "price" },
{ "data": "recurring_type" },
{ "data": "status" },
{ "data": "created_at" },
{ "data": "action" },
]
});
</script>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.admin', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/picotech/domains/gateway.picotech.app/public_html/resources/views/admin/plans/index.blade.php ENDPATH**/ ?>
|