1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- @extends('app.my-account.admin.users.single')
- @section('details')
- <div class="my-4">
- <h4><b>Financial Transactions</b></h4>
- <div class="table-responsive">
- <table class="table table-sm table-hover table-striped table-bordered mb-0">
- <thead>
- <tr>
- <th>Date</th>
- <th>Order</th>
- <th>Payment Method</th>
- <th>Merchant</th>
- <th>Amount</th>
- <th>Charge or Refund</th>
- <th>Description</th>
- <th>Is stripe payment confirmed?</th>
- </tr>
- </thead>
- <tbody>
- @foreach($transactions as $transaction)
- <tr>
- <td>{{$transaction->created_at}}</td>
- <td>
- <a href="{{ route('admin.orders.view.dashboard', $transaction->storeOrder) }}">{{ $transaction->storeOrder->iid }}</a>
- </td>
- <td>
- <a href="{{ route('admin.payment-methods.view.dashboard', $transaction->paymentMethod) }}">{{ $transaction->paymentMethod->card_type }}
- ending in {{ $transaction->paymentMethod->card_last_four }}</a></td>
- <td>
- {{$transaction->paymentMethod->authorize_customer_profile_id? 'Authorize.net': 'Stripe'}}
- </td>
- <td>${{$transaction->amount}}</td>
- <td>{{$transaction->charge_or_refund}}</td>
- <td>{{$transaction->description}}</td>
- <td>
- @if($transaction->paymentMethod->stripe_id)
- @if($transaction->is_stripe_confirmation_done)
- Yes
- @else
- No
- @endif
- @else
- -
- @endif
- </td>
- </tr>
- @endforeach
- </tbody>
- </table>
- </div>
- </div>
- <div class="mt-3">
- </div>
- @endsection
|