<?php $__env->startSection('panel'); ?>
    <div class="row">

        <div class="col-lg-12">
            <div class="card b-radius--10 ">
                <div class="card-body p-0">

                    <div class="table-responsive--sm table-responsive">
                        <table class="table table--light style--two">
                            <thead>
                            <tr>
                                <th scope="col"><?php echo app('translator')->get('Date'); ?></th>
                                <th scope="col"><?php echo app('translator')->get('PTC Ad'); ?></th>
                                <th scope="col"><?php echo app('translator')->get('User'); ?></th>
                                <th scope="col"><?php echo app('translator')->get('Amount'); ?></th>
                            </tr>
                            </thead>
                            <tbody>
                                <?php $__empty_1 = true; $__currentLoopData = $ptcviews; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $data): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?>
                                <tr>
                                    <td><?php echo e(\Carbon\Carbon::parse($data->view_date)->format('Y-m-d')); ?></td>
                                    <td> <a href="<?php echo e(route('admin.ptc.edit',$data->ptc->id)); ?>"><?php echo e(strLimit($data->ptc->title,20)); ?></a></td>
                                    <td><a href="<?php echo e(route('admin.users.detail', $data->user->id)); ?>"><span>@</span><?php echo e($data->user->username); ?></a></td>
                                    <td class="fw-bold"><?php echo e(getAmount($data->amount)); ?> <?php echo e($general->cur_text); ?> </td>
                                </tr>
                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?>
                                <tr>
                                    <td class="text-muted text-center" colspan="100%"><?php echo e($emptyMessage); ?></td>
                                </tr>
                                <?php endif; ?>

                            </tbody>
                        </table><!-- table end -->
                    </div>
                </div>
                <?php if($ptcviews->hasPages()): ?>
                <div class="card-footer py-4">
                    <?php echo e(paginateLinks($ptcviews)); ?>

                </div>
                <?php endif; ?>
            </div><!-- card end -->
        </div>


    </div>
<?php $__env->stopSection(); ?>

<?php $__env->startPush('breadcrumb-plugins'); ?>
    <form action="" method="GET" class="form-inline float-sm-end">
        <div class="input-group">
            <input type="text" name="search" class="form-control bg--white" placeholder="<?php echo app('translator')->get('Search Username'); ?>" value="<?php echo e(request()->search); ?>">
            <button class="btn btn--primary input-group-text" type="submit"><i class="fa fa-search"></i></button>
        </div>
    </form>
<?php $__env->stopPush(); ?>

<?php echo $__env->make('admin.layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/earnusdt/public_html/core/resources/views/admin/reports/ptcview.blade.php ENDPATH**/ ?>