Bug 28223: Add data elements to negative budgets
To test: 1 - Have a parent fund and a child fund 2 - Order an amount from the child fund that is greater than the amount available 3 - Browse to acquisitions 4 - Confirm the totals look right 5 - Click on the over spent fund to go to 'Funds for main budget' 6 - Note the totals are incorrect 7 - Apply patch 8 - Reload 9 - Totals are now correct Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
parent
0140f1e626
commit
92f69a0193
1 changed files with 1 additions and 1 deletions
|
@ -194,7 +194,7 @@
|
||||||
[% IF (value > 0) %]
|
[% IF (value > 0) %]
|
||||||
<span class="total_amount" data-parent_id="[% budget.budget_parent_id | html %]" data-self_id="[% budget.budget_id | html %]" style="color: green;">
|
<span class="total_amount" data-parent_id="[% budget.budget_parent_id | html %]" data-self_id="[% budget.budget_id | html %]" style="color: green;">
|
||||||
[% ELSIF (value < 0) %]
|
[% ELSIF (value < 0) %]
|
||||||
<span class="total_amount" style="color: red;">
|
<span class="total_amount" data-parent_id="[% budget.budget_parent_id | html %]" data-self_id="[% budget.budget_id | html %]" style="color: red;">
|
||||||
[% ELSE %]
|
[% ELSE %]
|
||||||
<span class="totalamount">
|
<span class="totalamount">
|
||||||
[% END %]
|
[% END %]
|
||||||
|
|
Loading…
Reference in a new issue