Viewing file: 66e9c01242f2d9a40d1caf4b58ae6a10.php (5.88 KB) -rwxrwxrwx Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php $__env->startSection('title'); ?> <?php echo e(trans('admin.sender_id')); ?> <?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.customers.customer_sender_approved_list'); ?> <i data-toggle="tooltip" data-placement="right" class="fa fa-question-circle alert-tooltip" title="Admin has to set Sender ID price and this price will applicable for system's all user. Remember if admin doesn't set the price then customer can send request without payment."></i> </h2> <div class="float-right"> <button type="button" class="btn btn-primary" data-toggle="modal" data-target="#exampleModal"> <?php echo e(trans('admin.set_sender_id_price')); ?>
</button>
<a class="btn btn-info" href="<?php echo e(route('admin.sender.requests')); ?>"><?php echo app('translator')->get('admin.form.button.request'); ?> <span class="masking_counter_2">0</span></a> </div> </div> <!-- /.card-header --> <div class="card-body"> <table id="sender_ids" class="table table-striped table-bordered dt-responsive nowrap"> <thead> <tr> <th><?php echo app('translator')->get('admin.table.customer_name'); ?></th> <th><?php echo app('translator')->get('From'); ?></th> <th><?php echo app('translator')->get('admin.table.sender_id'); ?></th> <th><?php echo app('translator')->get('admin.table.expire_date'); ?></th> <th><?php echo e(trans('Action')); ?></th> </tr> </thead>
</table> </div> <!-- /.card-body --> </div> <!-- /.card --> </div> <!-- /.col --> </div> <!-- /.row --> </section> <!-- /.content --> <!-- Modal --> <div class="modal fade" id="exampleModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true"> <div class="modal-dialog" role="document"> <div class="modal-content"> <div class="modal-header"> <h5 class="modal-title" id="exampleModalLabel"><?php echo e(trans('admin.set_sender_id_price')); ?></h5> <button type="button" class="close" data-dismiss="modal" aria-label="Close"> <span aria-hidden="true">×</span> </button> </div> <form action="<?php echo e(route('admin.sender.sender_id.setting')); ?>" method="post"> <?php echo csrf_field(); ?> <div class="modal-body"> <div class="form-group"> <label for=""><?php echo e(trans('admin.sender_id_price')); ?></label> <input type="number" name="sender_id_price" value="<?php echo e(isset($senderIdPrice->value) && isset(json_decode($senderIdPrice->value)->sender_id_price)?json_decode($senderIdPrice->value)->sender_id_price:0); ?>" class="form-control" placeholder="Enter price"> </div> </div> <div class="modal-footer"> <button type="button" class="btn btn-secondary" data-dismiss="modal"><?php echo e(trans('admin.close')); ?></button> <button type="submit" class="btn btn-primary"><?php echo e(trans('admin.save')); ?></button> </div> </form> </div> </div> </div>
<?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 src="<?php echo e(asset('js/readmore.min.js')); ?>"></script>
<script> "use strict"; $('#sender_ids').DataTable({ processing: true, serverSide: true, responsive:true, ajax:'<?php echo e(route('admin.sender.get.all')); ?>', columns: [ { "data": "customer" }, { "data": "from" }, { "data": "sender_id" }, { "data": "expire_date" }, { "data": "status" }, ], });
</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/test.sms.picotech.app/public_html/resources/views/admin/senderId/index.blade.php ENDPATH**/ ?>
|