This add the Parent/Guardian (ident2) below the library card on standard and horiz... user/edoceo/lp1089767
authoredoceo <code@edoceo.com>
Thu, 13 Dec 2012 05:08:51 +0000 (21:08 -0800)
committeredoceo <code@edoceo.com>
Thu, 13 Dec 2012 05:08:51 +0000 (21:08 -0800)
Signed-off-by: edoceo <code@edoceo.com>
Open-ILS/web/opac/locale/en-US/lang.dtd
Open-ILS/xul/staff_client/server/patron/summary.js
Open-ILS/xul/staff_client/server/patron/summary_overlay.xul
Open-ILS/xul/staff_client/server/patron/summary_overlay_horiz.xul

index 70063d8..256d58d 100644 (file)
 <!ENTITY staff.patron_display.items.print_receipt.accesskey 'P'>
 <!ENTITY staff.patron_display.items_claimed_returned.label 'Items Claimed Returned:'>
 <!ENTITY staff.patron_display.library_card.label 'Library Card:'>
+<!ENTITY staff.patron_display.parent_guardian.label 'Parent/Guardian:'>
 <!ENTITY staff.patron_display.verify_password.label 'Test Password'>
 <!ENTITY staff.patron_display.verify_password.accesskey 'P'>
 <!ENTITY staff.patron_display.toggle_summary.label 'Toggle Summary'>
index 0b65cc4..f9dbd1b 100644 (file)
@@ -592,6 +592,14 @@ patron.summary.prototype = {
                             };
                         }
                     ],
+                    'patron_parent_guardian' : [
+                        ['render'],
+                        function(e) {
+                            return function() {
+                                util.widgets.set_text(e, obj.patron.ident_value2() );
+                            }
+                        }
+                    ],
                     'patron_hold_alias' : [
                         ['render'],
                         function(e) {
index 4a39089..4707c0b 100644 (file)
                 value="&staff.patron_display.library_card.label;"/>
             <description id="patron_card" class="copyable card value click_link" onclick="try { copy_to_clipboard(event); } catch(E) { alert(E); }"/>
         </row>
+        <row>
+            <label id="PatronSummaryContact_guardian" value="&staff.patron_display.parent_guardian.label;" />
+            <description id="patron_parent_guardian" class="" />
+        </row>
         <row id="pdsgr1">
             <label id="PatronSummaryContact_ident_label" class="copyable text_left"
                 value="&staff.patron_display.ident1.label;"/>
index 037adf6..f3df8d3 100644 (file)
                     <description id="patron_card" class="copyable card value click_link" onclick="try { copy_to_clipboard(event); } catch(E) { alert(E); }"/>
                 </row>
                 <row>
+                    <label id="PatronSummaryContact_guardian" value="&staff.patron_display.parent_guardian.label;" />
+                    <description id="patron_parent_guardian" class="" />
+                </row>
+                <row>
                     <label id="PatronSummaryContact_hold_alias_label" class="copyable text_left" value="&staff.patron_display.hold_alias.label;"/>
                     <description id="patron_hold_alias" class="copyable hold_alias value" />
                 </row>