LP#1402797 Add checkout/in workstation colums to the available set
authorMike Rylander <mrylander@gmail.com>
Mon, 22 Sep 2014 16:02:33 +0000 (12:02 -0400)
committerBill Erickson <berickxx@gmail.com>
Thu, 12 Feb 2015 16:58:26 +0000 (11:58 -0500)
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Open-ILS/src/templates/staff/circ/patron/t_items_out.tt2
Open-ILS/web/js/ui/default/staff/circ/patron/items_out.js

index 71fc1a0..5c87466 100644 (file)
@@ -55,6 +55,8 @@
     </a>
   </eg-grid-field>
   <eg-grid-field label="[% l('Due Date') %]" path='due_date' dateformat='short'></eg-grid-field>
+  <eg-grid-field label="[% l('Workstation') %]" path='workstation.name'></eg-grid-field>
+  <eg-grid-field label="[% l('Checkin Workstation') %]" path='checkin_workstation.name'></eg-grid-field>
   <eg-grid-field label="[% l('Checkout / Renewal Library') %]" path='circ_lib.shortname'></eg-grid-field>
   <eg-grid-field label="[% l('Renewals Remaining') %]" path='renewal_remaining'></eg-grid-field>
   <eg-grid-field label="[% l('Fines Stopped') %]" path='stop_fines'></eg-grid-field>
index fa68501..3f3518d 100644 (file)
@@ -81,7 +81,7 @@ function($scope,  $q,  $routeParams,  egCore , egUser,  patronSvc ,
         return egCore.pcrud.search('circ', {id : id_list},
             {   flesh : 4,
                 flesh_fields : {
-                    circ : ['target_copy'],
+                    circ : ['target_copy', 'workstation', 'checkin_workstation'],
                     acp : ['call_number'],
                     acn : ['record'],
                     bre : ['simple_record']