mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Ability to highlight a particular transaction. [skip ci]
This commit is contained in:
@@ -49,9 +49,9 @@
|
||||
@endif
|
||||
</h4>
|
||||
@if($repetition['paginated'] == true)
|
||||
@include('paginated.transactions',['journals' => $repetition['journals']])
|
||||
@include('paginated.transactions',['journals' => $repetition['journals'],'highlight' => $highlight])
|
||||
@else
|
||||
@include('lists.transactions',['journals' => $repetition['journals'],'sum' => true])
|
||||
@include('lists.transactions',['journals' => $repetition['journals'],'sum' => true,'highlight' => $highlight])
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -10,7 +10,11 @@
|
||||
</tr>
|
||||
<?php $total = 0; ?>
|
||||
@foreach($journals as $journal)
|
||||
<tr>
|
||||
<tr
|
||||
@if(isset($highlight) && $highlight == $journal->id)
|
||||
class="success"
|
||||
@endif
|
||||
>
|
||||
<td>
|
||||
@if($journal->transactiontype->type == 'Withdrawal')
|
||||
<span class="glyphicon glyphicon-arrow-left" title="Withdrawal"></span>
|
||||
@@ -28,10 +32,10 @@
|
||||
<td>
|
||||
@foreach($journal->components as $component)
|
||||
@if($component->class == 'Budget')
|
||||
<a href="{{route('budgets.show',$component->id)}}#GETTHEREPSOMEHOW_ORLIMITQUERYbudget-overview-in-month"><span class="glyphicon glyphicon-tasks" title="Budget: {{{$component->name}}}"></span></a>
|
||||
<a href="{{route('budgets.show',$component->id)}}?highlight={{$journal->id}}"><span class="glyphicon glyphicon-tasks" title="Budget: {{{$component->name}}}"></span></a>
|
||||
@endif
|
||||
@if($component->class == 'Category')
|
||||
<a href="#category-overview-in-month"><span class="glyphicon glyphicon-tag" title="Category: {{{$component->name}}}"></span></a>
|
||||
<a href="{{route('categories.show',$component->id)}}?highlight={{$journal->id}}"><span class="glyphicon glyphicon-tag" title="Category: {{{$component->name}}}"></span></a>
|
||||
@endif
|
||||
@endforeach
|
||||
</td>
|
||||
|
||||
Reference in New Issue
Block a user