Bugzilla – Attachment 120173 Details for
Bug 28223
Total for budgets is incorrect when child funds have negative values
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 28223 - Add data elements to negative budgets
Bug-28223---Add-data-elements-to-negative-budgets.patch (text/plain), 1.57 KB, created by
Martin Renvoize
on 2021-04-26 12:53:36 UTC
(
hide
)
Description:
Bug 28223 - Add data elements to negative budgets
Filename:
MIME Type:
Creator:
Martin Renvoize
Created:
2021-04-26 12:53:36 UTC
Size:
1.57 KB
patch
obsolete
>From 2f36484c8bf8f329438137d83eab9c30d52d0584 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Mon, 26 Apr 2021 12:40:48 +0000 >Subject: [PATCH] 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> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tt >index 91b4286a99..d7f15fe08d 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tt >@@ -194,7 +194,7 @@ > [% 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;"> > [% 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 %] > <span class="totalamount"> > [% END %] >-- >2.20.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 28223
:
120172
|
120173
|
120207