|
@@ -18,24 +18,35 @@
|
|
|
<table class="table table-condensed p-0 m-0">
|
|
|
<thead class="bg-light">
|
|
|
<tr>
|
|
|
- <th class="px-3 border-0">Date</th>
|
|
|
- <th class="px-3 border-0">Type</th>
|
|
|
- <th class="px-3 border-0">Chart</th>
|
|
|
- <th class="px-3 border-0">Context</th>
|
|
|
- <th class="px-3 border-0">Amount</th>
|
|
|
- <th class="px-3 border-0">Balance</th>
|
|
|
+ <th class="px-3 border-0">Date</th>
|
|
|
+ <th class="px-3 border-0">Type</th>
|
|
|
+ <th class="px-3 border-0">Chart</th>
|
|
|
+ <th class="px-3 border-0">Context</th>
|
|
|
+ <th class="px-3 border-0">Amount</th>
|
|
|
+ <th class="px-3 border-0">Balance</th>
|
|
|
</tr>
|
|
|
</thead>
|
|
|
<tbody>
|
|
|
@foreach($financialTransactions as $financialTransaction)
|
|
|
<tr>
|
|
|
-
|
|
|
+ <td>{{ friendlier_date($financialTransaction->created_at) }}</td>
|
|
|
+ <td>{{ $financialTransaction->type }}</td>
|
|
|
+ <td>
|
|
|
+ @if($financialTransaction->client)
|
|
|
+ <a native target="_blank" href="{{route('patients.view.dashboard', $financialTransaction->client)}}">
|
|
|
+ {{$financialTransaction->client->chart_number}}
|
|
|
+ </a>
|
|
|
+ @endif
|
|
|
+ </td>
|
|
|
+ <td>{{ $financialTransaction->reason_type }}</td>
|
|
|
+ <td>${{ $financialTransaction->amount }}</td>
|
|
|
+ <td></td>
|
|
|
</tr>
|
|
|
@endforeach
|
|
|
|
|
|
@if(count($financialTransactions) === 0)
|
|
|
<tr>
|
|
|
- <td colspan="9">No records found!</td>
|
|
|
+ <td colspan="6">No records found!</td>
|
|
|
</tr>
|
|
|
@endif
|
|
|
</tbody>
|