|
@@ -26,9 +26,7 @@
|
|
<th class="px-3 border-0">Date</th>
|
|
<th class="px-3 border-0">Date</th>
|
|
<th class="border-0">Type</th>
|
|
<th class="border-0">Type</th>
|
|
<th class="border-0">Client</th>
|
|
<th class="border-0">Client</th>
|
|
- <th class="border-0">Note</th>
|
|
|
|
- {{--<th class="border-0">Reason</th>--}}
|
|
|
|
- <th class="border-0">Memo</th>
|
|
|
|
|
|
+ <th class="border-0">Context</th>
|
|
<th class="border-0">Amount</th>
|
|
<th class="border-0">Amount</th>
|
|
<th class="border-0">Balance</th>
|
|
<th class="border-0">Balance</th>
|
|
</tr>
|
|
</tr>
|
|
@@ -53,10 +51,14 @@
|
|
</td>
|
|
</td>
|
|
<td>
|
|
<td>
|
|
@if($transaction->bill && $transaction->bill->note)
|
|
@if($transaction->bill && $transaction->bill->note)
|
|
|
|
+ <a href="{{route('patients.view.notes.view.dashboard', ['patient'=>$transaction->client, 'note'=>$transaction->bill->note])}}">
|
|
|
|
+ ({{$transaction->bill->note->effective_dateest}})
|
|
@if($transaction->bill->note->noteTemplate)
|
|
@if($transaction->bill->note->noteTemplate)
|
|
{{ $transaction->bill->note->noteTemplate->title }}
|
|
{{ $transaction->bill->note->noteTemplate->title }}
|
|
@endif
|
|
@endif
|
|
- <a href="{{route('patients.view.notes.view.dashboard', ['patient'=>$transaction->client, 'note'=>$transaction->bill->note])}}">Go to note</a>
|
|
|
|
|
|
+ </a>
|
|
|
|
+ @else
|
|
|
|
+ {{ $transaction->custom_memo ? $transaction->custom_memo : '-' }}
|
|
@endif
|
|
@endif
|
|
</td>
|
|
</td>
|
|
{{--<td>
|
|
{{--<td>
|
|
@@ -90,8 +92,15 @@
|
|
-
|
|
-
|
|
@endif
|
|
@endif
|
|
</td>--}}
|
|
</td>--}}
|
|
- <td>{{ $transaction->custom_memo ? $transaction->custom_memo : '-' }}</td>
|
|
|
|
- <td>${{ $transaction->amount }}</td>
|
|
|
|
|
|
+ <td>
|
|
|
|
+ @if($transaction->amount > 0)
|
|
|
|
+ ${{ $transaction->amount }}
|
|
|
|
+ @else
|
|
|
|
+ <span class="text-success font-weight-bold">
|
|
|
|
+ ${{ $transaction->amount }}
|
|
|
|
+ </span>
|
|
|
|
+ @endif
|
|
|
|
+ </td>
|
|
<td>${{ $transaction->resulting_balance }}</td>
|
|
<td>${{ $transaction->resulting_balance }}</td>
|
|
</tr>
|
|
</tr>
|
|
@endforeach
|
|
@endforeach
|