mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2024-12-31 19:27:51 -06:00
No popup when the amount is zero.
This commit is contained in:
parent
8ad1ede0c5
commit
0cb0720d8b
@ -85,7 +85,11 @@
|
|||||||
?>
|
?>
|
||||||
@if(isset($account->budgetInformation[0]))
|
@if(isset($account->budgetInformation[0]))
|
||||||
<td>
|
<td>
|
||||||
<a href="{{route('reports.left-unbalanced',[$account, $year, $month])}}" class="openModal">{!! Amount::format($account->budgetInformation[0]['amount'] + $account->balancedAmount) !!}</a>
|
@if($account->budgetInformation[0]['amount'] + $account->balancedAmount != 0.0)
|
||||||
|
<a href="{{route('reports.left-unbalanced',[$account, $year, $month])}}" class="openModal">{!! Amount::format($account->budgetInformation[0]['amount'] + $account->balancedAmount) !!}</a>
|
||||||
|
@else
|
||||||
|
{!! Amount::format($account->budgetInformation[0]['amount'] + $account->balancedAmount) !!}
|
||||||
|
@endif
|
||||||
</td>
|
</td>
|
||||||
@else
|
@else
|
||||||
<td>{!! Amount::format(0) !!}</td>
|
<td>{!! Amount::format(0) !!}</td>
|
||||||
|
Loading…
Reference in New Issue
Block a user