From: Katrin Fischer <[email protected]>

Alternate patch for bug 6080.

Instead of removing the line altogether make it possible to hide it
easily by adding an id.

To test:
- apply patch
- check your funds table for the last line labelled 'Total'
- add to IntranetUserCss: #funds_total {display:none;}
- check again, line should be hidden now

Reason:
The totals is only confusing for multi-level funds, but not wrong.
If you are using only 1 level of funds, it works all ok.

Signed-off-by: Nicole C. Engard <[email protected]>
---
 .../prog/en/modules/acqui/acqui-home.tt            |    2 +-
 1 files changed, 1 insertions(+), 1 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 a274365..86650eb 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
@@ -99,7 +99,7 @@ $(document).ready(function() {
             <th>Avail</th>
         </tr>
         </thead>
-        <tfoot>
+        <tfoot id="funds_total">
         <tr>
             <th>Total</th>
             <th>&nbsp;</th>
-- 
1.7.2.3

_______________________________________________
Koha-patches mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-patches
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to