Bug 6080: Add id to total line in funds table
authorKatrin Fischer <Katrin.Fischer.83@web.de>
Wed, 27 Jul 2011 21:01:02 +0000 (23:01 +0200)
committerChris Cormack <chrisc@catalyst.net.nz>
Sun, 31 Jul 2011 23:23:48 +0000 (11:23 +1200)
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 Engard <nengard@bywatersolutions.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/acqui-home.tt

index a274365..86650eb 100644 (file)
@@ -99,7 +99,7 @@ $(document).ready(function() {
             <th>Avail</th>
         </tr>
         </thead>
-        <tfoot>
+        <tfoot id="funds_total">
         <tr>
             <th>Total</th>
             <th>&nbsp;</th>