pickup lib in classic pull for hold list
authorpines <pines@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 30 Oct 2006 16:04:13 +0000 (16:04 +0000)
committerpines <pines@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 30 Oct 2006 16:04:13 +0000 (16:04 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@6529 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/xul/staff_client/server/admin/hold_pull_list_classic.js
Open-ILS/xul/staff_client/server/admin/hold_pull_list_classic.xhtml

index e7407c1..f1772cb 100644 (file)
@@ -54,6 +54,8 @@ function pullListDrawHolds(r) {
 function pullListDrawHold( tbody, row, hold, idx ) {
 
        $n(row, 'date').appendChild(text(hold.request_time().replace(/\ .*/, "")));
+       var pl = typeof hold.pickup_lib() == 'object' ? hold.pickup_lib().shortname() : g.data.hash.aou[ hold.pickup_lib() ].shortname();
+       $n(row, 'pickup').appendChild(text(pl));
 
        switch( hold.hold_type() ) {
                case 'C' : unHideMe($n(row, 'copy_hold')); break;
index cd30256..d10133c 100644 (file)
@@ -58,7 +58,7 @@
 <b>Copy:</b> <span name='copy_number'/>   <b>Location:</b> <span name='copy_location'/>   <b>Item ID:</b> <span name='barcode'/>
 <b>Item Type:</b> <span name='item_type'><span name='format_at' class='hide_me'>Book               </span><span name='format_at-d' class='hide_me'>Large Print Book   </span><span name='format_i' class='hide_me'>Audiobook          </span><span name='format_g' class='hide_me'>Video Recording    </span><span name='format_j' class='hide_me'>Music              </span><span name='format_m' class='hide_me'>Electronic Resource</span></span>   <b>Patron ID:</b> <span name='patron'/>
 <b>Requested:</b> <span name='date'/>            <b>Hold Type:</b> <span name='copy_hold' class='hide_me'>Copy Hold</span><span name='volume_hold' class='hide_me'>Volume Hold</span><span name='title_hold' class='hide_me'>Title Hold</span><span name='mr_hold' class='hide_me'>Metarecord Hold</span>
-<span name="age_protect_span" class='hide_me'><b>Hold Protection:</b> <span name="age_protect"/></span>
+<b>Pickup:</b> <span name='pickup'/>            <span name="age_protect_span" class='hide_me'><b>Hold Protection:</b> <span name="age_protect"/></span>
 </pre>
 </div>
        </body>