901a4a4b62d9ba1fbc68ee2a2178800751187a5f.php 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <?php $__env->startSection('content'); ?>
  2. <div class="card">
  3. <div class="card-header">
  4. <h3 class="mb-0 h6"><?php echo e(translate('Seller Payments')); ?></h3>
  5. </div>
  6. <div class="card-body">
  7. <table class="table aiz-table mb-0">
  8. <thead>
  9. <tr>
  10. <th data-breakpoints="lg">#</th>
  11. <th data-breakpoints="lg"><?php echo e(translate('Date')); ?></th>
  12. <th><?php echo e(translate('Seller')); ?></th>
  13. <th><?php echo e(translate('Amount')); ?></th>
  14. <th data-breakpoints="lg"><?php echo e(translate('Payment Details')); ?></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. <?php $user = \App\Models\User::find($payment->seller_id); ?>
  20. <?php if($user && $user->shop): ?>
  21. <tr>
  22. <td><?php echo e($key+1); ?></td>
  23. <td><?php echo e($payment->created_at); ?></td>
  24. <td>
  25. <?php echo e($user->name); ?> (<?php echo e($user->shop->name); ?>)
  26. </td>
  27. <td>
  28. <?php echo e(single_price($payment->amount)); ?>
  29. </td>
  30. <td><?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; ?></td>
  31. </tr>
  32. <?php endif; ?>
  33. <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
  34. </tbody>
  35. </table>
  36. <div class="aiz-pagination">
  37. <?php echo e($payments->links()); ?>
  38. </div>
  39. </div>
  40. </div>
  41. <?php $__env->stopSection(); ?>
  42. <?php echo $__env->make('backend.layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /Users/shaoguo/Desktop/公司资料/小梦/商城/ebayShop/resources/views/backend/sellers/payment_histories/index.blade.php ENDPATH**/ ?>