Show the patron account Create Date in both horizontal and vertical patron summary... collab/phasefx/show_account_create_date
authorJason Etheridge <jason@esilibrary.com>
Tue, 8 Nov 2011 20:01:43 +0000 (15:01 -0500)
committerJason Etheridge <jason@esilibrary.com>
Tue, 8 Nov 2011 20:01:43 +0000 (15:01 -0500)
Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Open-ILS/xul/staff_client/server/locale/en-US/patron.properties
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 d4996b7..4f0ced6 100644 (file)
@@ -348,6 +348,7 @@ staff.patron.search_result.billing_address_column_label_prefix=Billing Addr:
 staff.patron.summary.patron_bill.money=$ %1$s
 staff.patron.summary.retrieve.no_barcode=summary: No barcode or ID
 staff.patron.summary.patron_net_access=Internet
+staff.patron.summary.create_date=Account created on
 staff.patron.summary.expires_on=Expires on
 staff.patron.summary.updated_on=Last updated on
 staff.patron.summary.standing_penalty.remove=Remove
index 03f9e44..fd6b91a 100644 (file)
@@ -531,6 +531,17 @@ patron.summary.prototype = {
                             };
                         }
                     ],
+                    'patron_account_create_date' : [
+                        ['render'],
+                        function(e) {
+                            return function() {
+                                util.widgets.set_text(e,
+                                    patronStrings.getString('staff.patron.summary.create_date') + ' '
+                                    + util.date.formatted_date( obj.patron.create_date(), '%{localized_date}' )
+                                );
+                            };
+                        }
+                    ],
                     'patron_date_of_exp' : [
                         ['render'],
                         function(e) {
index f341d42..b93cd38 100644 (file)
@@ -44,6 +44,9 @@
         <row id="pdsgr5a">
             <description id="patron_net_access" class="copyable net_access value"/>
         </row>
+        <row id="pdsgr5aab">
+            <description id="patron_account_create_date" class="copyable create_date value"/>
+        </row>
         <row id="pdsgr5aa">
             <description id="patron_date_of_exp" class="copyable expire_date value"/>
         </row>
index 3687fff..544b3a4 100644 (file)
@@ -84,6 +84,9 @@
             <row id="pdsgr5a">
                 <description id="patron_net_access" class="copyable net_access value"/>
             </row>
+            <row id="pdsgr5aab">
+                <description id="patron_account_create_date" class="copyable create_date value"/>
+            </row>
             <row id="pdsgr5aa">
                 <description id="patron_date_of_exp" class="copyable expire_date value"/>
             </row>