show full and short name for patron org with privacy opt-in
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Sun, 9 Dec 2007 21:26:39 +0000 (21:26 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Sun, 9 Dec 2007 21:26:39 +0000 (21:26 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_2@8185 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/xul/staff_client/server/patron/barcode_entry.xul

index 8770745..5c2b661 100644 (file)
                                     var parts = patron.util.retrieve_name_via_id( ses(), robj );
     
                                     if (0 != g.error.yns_alert(
-                                        'Does patron ' + parts[0] + ', ' + parts[1] + (parts[2] ? ' ' + parts[2] : '') + ' from ' + g.data.hash.aou[ parts[3] ].shortname() + ' consent to having their personal information shared with your library?',
+                                        'Does patron ' + parts[0] + ', ' + parts[1] + (parts[2] ? ' ' + parts[2] : '') + ' from ' + g.data.hash.aou[ parts[3] ].name() + ' (' + g.data.hash.aou[ parts[3] ].shortname() + ') consent to having their personal information shared with your library?',
                                         'Patron/Library Opt-In Confirmation',
                                         'Accept', 'Deny', null, 'Check here to confirm this message'
                                         )