Bugzilla – Attachment 95987 Details for
Bug 23767
Spent and Ordered total values don't include child funds on acqui-home
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 23767: Include child funds in total spent and ordered on acqui-home
Bug-23767-Include-child-funds-in-total-spent-and-o.patch (text/plain), 2.36 KB, created by
Séverine Queune
on 2019-12-04 10:47:53 UTC
(
hide
)
Description:
Bug 23767: Include child funds in total spent and ordered on acqui-home
Filename:
MIME Type:
Creator:
Séverine Queune
Created:
2019-12-04 10:47:53 UTC
Size:
2.36 KB
patch
obsolete
>From f8510634b8ffc9e65c3dd8a0685215d7b5030185 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Mon, 7 Oct 2019 17:19:27 +0000 >Subject: [PATCH] Bug 23767: Include child funds in total spent and ordered on > acqui-home >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >To test: > 1 - Have three funds, two parents and one child > 2 - Open a basket and add an order to each fund > 3 - View acqui-home.pl > 4 - Note that ordered values are only added from the two parent funds > 5 - Complete these orders (close basket, receive) > 6 - Note the spent only includes parent funds > 7 - Place three more orders, one from each fund > 8 - Now you can see both spent and ordered are incorrect > 9 - Apply patch >10 - Reload, all should add correctly > >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Signed-off-by: Séverine QUEUNE <severine.queune@bulac.fr> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/acqui/acqui-home.tt | 8 -------- > 1 file changed, 8 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/acqui-home.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/acqui-home.tt >index f20c54c..02bcf6b 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/acqui-home.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/acqui-home.tt >@@ -142,20 +142,12 @@ > </td> > <td class="data"> > <a href="ordered.pl?fund=[% loop_budge.budget_id | uri %]&fund_code=[% loop_budge.budget_code | uri %]"> >- [% IF loop_budge.budget_parent_id %] >- [% loop_budge.budget_ordered | $Price %] >- [% ELSE %] > <span class="total_amount">[% loop_budge.budget_ordered | $Price %]</span> >- [% END %] > </a> > </td> > <td class="data"> > <a href="spent.pl?fund=[% loop_budge.budget_id | uri %]&fund_code=[% loop_budge.budget_code | uri %]"> >- [% IF loop_budge.budget_parent_id %] >- [% loop_budge.budget_spent | $Price %] >- [% ELSE %] > <span class="total_amount">[% loop_budge.budget_spent | $Price %]</span> >- [% END %] > </a> > </td> > <td class="data"> >-- >2.1.4
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 23767
:
93828
|
94811
|
95334
|
95335
|
95840
|
95841
|
95987
|
95988
|
98618
|
116258
|
116284
|
116285
|
116701
|
116702