c553280536763e6da11ca4ff07a76216b606d53a.php 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <?php $__env->startSection('panel_content'); ?>
  2. <div class="card">
  3. <div class="card-header">
  4. <h5 class="mb-0 h6"><?php echo e(translate('Payment History')); ?></h5>
  5. </div>
  6. <?php if(count($payments) > 0): ?>
  7. <div class="card-body">
  8. <table class="table aiz-table mb-0">
  9. <thead>
  10. <tr>
  11. <th>#</th>
  12. <th><?php echo e(translate('Date')); ?></th>
  13. <th><?php echo e(translate('Amount')); ?></th>
  14. <th><?php echo e(translate('Payment Method')); ?></th>
  15. </tr>
  16. </thead>
  17. <tbody>
  18. <?php $__currentLoopData = $payments; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $payment): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
  19. <tr>
  20. <td>
  21. <?php echo e($key+1); ?>
  22. </td>
  23. <td><?php echo e(date('d-m-Y', strtotime($payment->created_at))); ?></td>
  24. <td>
  25. <?php echo e(single_price($payment->amount)); ?>
  26. </td>
  27. <td>
  28. <?php echo e(ucfirst(str_replace('_', ' ', $payment->payment_method))); ?> <?php if($payment->txn_code != null): ?> (<?php echo e(translate('TRX ID')); ?> : <?php echo e($payment->txn_code); ?>) <?php endif; ?>
  29. </td>
  30. </tr>
  31. <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
  32. </tbody>
  33. </table>
  34. <div class="aiz-pagination">
  35. <?php echo e($payments->links()); ?>
  36. </div>
  37. </div>
  38. <?php endif; ?>
  39. </div>
  40. <?php $__env->stopSection(); ?>
  41. <?php echo $__env->make('seller.layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /www/wwwroot/www.easybuyjp.shop/resources/views/seller/payment_history.blade.php ENDPATH**/ ?>