non cat count in summary
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 14 Aug 2006 21:59:12 +0000 (21:59 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 14 Aug 2006 21:59:12 +0000 (21:59 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@5509 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/xul/staff_client/server/patron/summary.js
Open-ILS/xul/staff_client/server/patron/summary_overlay.xul

index 47988d5..489bda9 100644 (file)
@@ -152,6 +152,7 @@ patron.summary.prototype = {
                                                                var e3 = document.getElementById( 'patron_claimed_returned' ); if (e3) e3.setAttribute('value','...');
                                                                var e4 = document.getElementById( 'patron_long_overdue' ); if (e4) e4.setAttribute('value','...');
                                                                var e5 = document.getElementById( 'patron_lost' ); if (e5) e5.setAttribute('value','...');
+                                                               var e6 = document.getElementById( 'patron_noncat' ); if (e6) e6.setAttribute('value','...');
                                                                obj.network.simple_request(
                                                                        'FM_CIRC_COUNT_RETRIEVE_VIA_USER',
                                                                        [ ses(), obj.patron.id() ],
@@ -164,6 +165,14 @@ patron.summary.prototype = {
                                                                                if (e5) e5.setAttribute('value', robj.lost      );
                                                                        }
                                                                );
+                                                               obj.network.simple_request(
+                                                                       'FM_ANCC_RETRIEVE_VIA_USER',
+                                                                       [ ses(), obj.patron.id() ],
+                                                                       function(req) {
+                                                                               var robj = req.getResultObject();
+                                                                               if (e6) e6.setAttribute('value',robj.length);
+                                                                       }
+                                                               );
                                                        };
                                                }
                                        ],
index 9550785..6da8ce6 100644 (file)
                        <label id="PatronSummaryStatus_lost_label" value="Lost:" class="text_left items_lost label"/>
                        <label id="patron_lost" class="items_lost value"/>
                </row>
+               <row id="pdsgr6a">
+                       <label id="PatronSummaryStatus_noncat_label" value="Non Cat:" class="text_left items_noncat label"/>
+                       <label id="patron_noncat" class="items_noncat value"/>
+               </row>
        </rows>
 </grid>