payment_history.blade.php 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  1. @extends('backend.layouts.app')
  2. @section('content')
  3. <div class="card">
  4. <div class="card-header">
  5. <h5 class="mb-0 h6">{{ translate('Affiliate payments of ').$affiliate_user->user->name }}</h5>
  6. </div>
  7. <div class="card-body">
  8. <table class="table aiz-table mb-0">
  9. <thead>
  10. <tr>
  11. <th>#</th>
  12. <th>{{ translate('Date')}}</th>
  13. <th>{{ translate('Amount')}}</th>
  14. <th>{{ translate('Payment Method') }}</th>
  15. </tr>
  16. </thead>
  17. <tbody>
  18. @foreach($affiliate_payments as $key => $payment)
  19. <tr>
  20. <td>{{ $key+1 }}</td>
  21. <td>{{ $payment->created_at }}</td>
  22. <td>
  23. {{ single_price($payment->amount) }}
  24. </td>
  25. <td>{{ ucfirst($payment->payment_method) }}</td>
  26. </tr>
  27. @endforeach
  28. </tbody>
  29. </table>
  30. </div>
  31. </div>
  32. @endsection