
<?php $__env->startSection('content'); ?>
<div class="custom--table-container table-responsive--md">
    <table class="table table custom--table">
        <thead>
          <tr>
              <th scope="col"><?php echo app('translator')->get('Date'); ?></th>
              <th scope="col"><?php echo app('translator')->get('Total Click'); ?></th>
              <th scope="col"><?php echo app('translator')->get('Total Earn'); ?></th>
          </tr>
      </thead>
        <tbody>
           <?php $__empty_1 = true; $__currentLoopData = $viewads; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $view): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?>
           <tr>
                <td class=""> <?php echo e(showDateTime($view->date, 'd M, Y')); ?> </td>
                <td><?php echo e($view->total_clicks); ?></td>
                <td>
                    <?php echo e(showAmount($view->total_earned)); ?> <?php echo e($general->cur_text); ?>

                </td>
            </tr>
          <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?>
              <tr>
                  <td class="text-center" colspan="100%"><?php echo e(__($emptyMessage)); ?></td>
              </tr>
          <?php endif; ?>
      </tbody>
  </table>
</div>

<div class="d-flex justify-content-end mt-4">
    <?php echo e(paginateLinks($viewads)); ?>

</div>

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

<?php echo $__env->make($activeTemplate.'layouts.master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/kutwos5/public_html/core/resources/views/templates/ptc_diamond/user/ptc/earnings.blade.php ENDPATH**/ ?>