Viewing file: 8851d9035e2d9d5816a88e8f387af716.php (3.82 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php $__env->startSection('title'); ?> <?php echo e(trans('admin.topup_request')); ?> <?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')); ?>">
<style>
table{
text-align: center;
}
</style>
<?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.topup_request'); ?>
<i data-toggle="tooltip" data-placement="right" class="fa fa-question-circle alert-tooltip"
title="Customer can top up SMS unit from their panel and request will come here for admin approval.
Whenever admin will approve,
SMS unit will add in customer's SMS wallet."></i>
</h2>
</div>
<!-- /.card-header -->
<div class="card-body">
<table id="requests" class="table table-striped table-bordered dt-responsive nowrap">
<thead>
<tr>
<th><?php echo app('translator')->get('admin.numbers.customer'); ?></th>
<th><?php echo e(trans('customer.created_at')); ?></th>
<th><?php echo e(trans('admin.payment_status')); ?></th>
<th><?php echo e(trans('Credit')); ?></th>
<th><?php echo app('translator')->get('admin.form.status'); ?></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";
$('#requests').DataTable({
processing: true,
serverSide: true,
responsive:true,
ajax:'<?php echo e(route('admin.get.all.topup.request')); ?>',
columns: [
{ "data": "customer" },
{ "data": "created_at" },
{ "data": "payment_status" },
{ "data": "credit" },
{ "data": "status" },
{ "data": "action" },
]
});
</script>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.admin', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH E:\Project\Pico-SMS-v-2\picosms\resources\views/admin/topup/request.blade.php ENDPATH**/ ?>
|