LP#1238015 hide patron credit summary when disabled
authorBill Erickson <berick@esilibrary.com>
Mon, 28 Oct 2013 14:24:37 +0000 (10:24 -0400)
committerDan Wells <dbw2@calvin.edu>
Tue, 26 Nov 2013 16:02:13 +0000 (11:02 -0500)
When the circ.disable_patron_credit / "Disable Patron Credit" org unit
setting is disabled, also hide the patron credit summary information in
the bills interface.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
Open-ILS/xul/staff_client/server/patron/bill2.xul

index b0135b4..2889b7b 100644 (file)
                         <row>
                             <vbox pack="center"><label value="&staff.patron.bill_interface.total_checked;" class="big_emphasis1" /></vbox><vbox pack="center"><label id="checked_owed2" class="big_emphasis1"/></vbox>
                             <spacer flex="1"/>
-                            <vbox pack="center"><label value='&staff.patron.bill_interface.credit_available;' class="big_emphasis2"/></vbox><vbox pack="center"><label id="credit_forward" class="big_emphasis2"/></vbox>
+                            <vbox class="hide_patron_credit" pack="center">
+                                <label value='&staff.patron.bill_interface.credit_available;' class="big_emphasis2"/>
+                            </vbox>
+                            <vbox class="hide_patron_credit" pack="center">
+                                <label id="credit_forward" class="big_emphasis2"/>
+                            </vbox>
                         </row>
                     </rows>
                 </grid>