ledger-transactions.blade.php 710 B

123456789101112131415161718192021
  1. <h6 class="fw-bold">Ledger Transactions</h6>
  2. <table class="table table-sm table-hover table-striped table-bordered mb-0">
  3. <thead class="bg-warning bg-opacity-10">
  4. <tr>
  5. <th>Date</th>
  6. <th>Plus/Minus</th>
  7. <th>Amount</th>
  8. <th>Memo</th>
  9. </tr>
  10. </thead>
  11. <tbody>
  12. @foreach ($order->ledgerTransactions as $transaction)
  13. <tr>
  14. <td>{{ friendly_date($transaction->created_at) }}</td>
  15. <td>{{ $transaction->plus_or_minus }}</td>
  16. <td>${{ $transaction->amount }}</td>
  17. <td>{{ $transaction->system_memo }}</td>
  18. </tr>
  19. @endforeach
  20. </tbody>
  21. </table>