HEX
Server: Apache/2.4.41 (Amazon) OpenSSL/1.0.2k-fips PHP/5.6.40
System: Linux ip-172-31-40-18 4.14.146-93.123.amzn1.x86_64 #1 SMP Tue Sep 24 00:45:23 UTC 2019 x86_64
User: apache (48)
PHP: 5.6.40
Disabled: NONE
Upload Files
File: /var/www/html/punjabcabs/storage/framework/views/68fc3b6cb5a6342a5145143750bc758cfd9c6fca.php
<?php $__env->startSection('title', 'Payment History '); ?>

<?php $__env->startSection('content'); ?>
<div class="content-area py-1">
    <div class="container-fluid">

        <div class="row bg-title">
            <div class="col-lg-6 col-md-6 col-sm-6 col-xs-12">
                <h4 class="page-title"><?php echo app('translator')->get('admin.payment_history'); ?></h4>
            </div>
            <div class="col-lg-6 col-sm-6 col-md-6 col-xs-12">
                <ol class="breadcrumb">
                    <li><a href="<?php echo e(route('admin.dashboard')); ?>"><?php echo app('translator')->get('admin.dashboard'); ?></a></li>
                    <li class="active"><?php echo app('translator')->get('admin.payment_history'); ?></li>
                </ol>
            </div>
        </div>

        <div class="box box-block bg-white">
            <table class="table table-striped table-bordered dataTable" id="payment-list">
                <thead>
                    <tr>
                        <th><?php echo app('translator')->get('admin.member.request_id'); ?></th>
                        <th><?php echo app('translator')->get('admin.member.transaction_id'); ?></th>
                        <th><?php echo app('translator')->get('admin.member.from'); ?></th>
                        <th><?php echo app('translator')->get('admin.member.to'); ?></th>
                        <th><?php echo app('translator')->get('admin.member.total_amount'); ?></th>
                        <th><?php echo app('translator')->get('admin.member.payment_mode'); ?></th>
                        <th><?php echo app('translator')->get('admin.member.payment_status'); ?></th>
                    </tr>
                </thead>
            </table>
        </div>
    </div>
</div>
<?php $__env->stopSection(); ?>

<?php $__env->startSection('scripts'); ?>
<script>
    function update_content(){
        $('#payment-list').DataTable({
            "destroy": true,
            "responsive": true,
            "dom": 'lBfrtip',
            "buttons": [
                'copyHtml5',
                'excelHtml5',
                'csvHtml5',
                'pdfHtml5'
            ],
            "oLanguage": {
                'sProcessing': '<i class="fa fa-circle-o-notch fa-spin" style="font-size:24px;color:#a377b1;"></i>'
            },
            "processing": true,
            "serverSide": true,
            "ajax":{
                     "url": "<?php echo e(route('admin.paymentrow')); ?>",
                     "dataType": "json",
                     "type": "POST",
                     "data":{ _token: "<?php echo e(csrf_token()); ?>"}
                   },
            "columns": [
                { "data": "request_id" },
                { "data": "transaction_id" },
                { "data": "from" },
                { "data": "to" },
                { "data": "total_amount" },
                { "data": "payment_mode" },
                { "data": "payment_status" },
            ]    

        });
    }

    $(window).load(function(){
        update_content();
    });
</script>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('admin.layout.base', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>