|
@@ -50,7 +50,17 @@
|
|
|
@foreach ($order->financialTransactions as $transaction)
|
|
|
<tr>
|
|
|
<td>{{ friendly_date($transaction->created_at) }}</td>
|
|
|
- <td>{{ $transaction->charge_or_refund }}</td>
|
|
|
+ <td>{{ $transaction->charge_or_refund }}
|
|
|
+ @if($transaction->requires_stripe_confirmation)
|
|
|
+ @if($transaction->is_stripe_confirmation_done)
|
|
|
+ <span class="text-success">Completed</span>
|
|
|
+ @else
|
|
|
+ <span class="text-danger">Pending</span>
|
|
|
+ @endif
|
|
|
+ @else
|
|
|
+ <span class="text-success">Completed</span>
|
|
|
+ @endif
|
|
|
+ </td>
|
|
|
<td>${{ $transaction->amount }}</td>
|
|
|
<td>{!! $transaction->paymentMethod->displayName() !!}</td>
|
|
|
<td>
|