LP#1879983: each tab now has a Items for Pickup / Items Checked Out column
authorGalen Charlton <gmc@equinoxinitiative.org>
Mon, 15 Jun 2020 15:48:11 +0000 (11:48 -0400)
committerGalen Charlton <gmc@equinoxinitiative.org>
Mon, 15 Jun 2020 15:51:04 +0000 (11:51 -0400)
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/src/templates/staff/circ/curbside/t_arrived_manager.tt2
Open-ILS/src/templates/staff/circ/curbside/t_delivered_manager.tt2
Open-ILS/src/templates/staff/circ/curbside/t_staged_manager.tt2
Open-ILS/src/templates/staff/circ/curbside/t_to_be_staged_manager.tt2

index bdc350b..aeb4152 100644 (file)
@@ -27,6 +27,9 @@
       </div>
     </eg-grid-field>
     <eg-grid-field label="[% l('Appointment ID') %]" path="slot.id"></eg-grid-field>
+    <eg-grid-field label="[% l('Items for Pickup') %]" path="holds" compiled>
+      <eg-curbside-holds-list holds="item.holds" bib-data="item.bib_data_by_hold" slot="item.slot"></eg-curbside-holds-list>
+    </eg-grid-field>
     <eg-grid-field label="[% l('Action') %]" handlers="gridCellHandlers" compiled>
       <button class="btn btn-sm btn-primary"
         ng-disabled="col.handlers.wasHandled(item['slot_id']) || col.handlers.patronIsBlocked(item['slot'].patron())"
index 340cd7c..2b1e00b 100644 (file)
     <eg-grid-menu-item handler="refresh_delivered" standalone="true"
         label="[% l('Refresh List')%]"></eg-grid-menu-item>
 
-    <eg-grid-field label="[% l('Delivery Date/Time') %]" path="delivered" datatype="timestamp"></eg-grid-field>
-    <eg-grid-field label="[% l('Patron') %]" path="patron" compiled>
-      <a href="./circ/patron/{{item.patron().id()}}/holds" target="_blank">
-        {{item.patron().family_name()}} / {{item.patron().card().barcode()}}
+    <eg-grid-field label="[% l('Delivery Date/Time') %]" path="slot.delivered" datatype="timestamp"></eg-grid-field>
+    <eg-grid-field label="[% l('Patron') %]" path="slot.patron" compiled>
+      <a href="./circ/patron/{{item.slot.patron().id()}}/holds" target="_blank">
+        {{item.slot.patron().family_name()}} / {{item.slot.patron().card().barcode()}}
         <span class="glyphicon glyphicon-new-window"></span>
       </a>
       <br>
-      <span ng-show="item.notes()">
+      <span ng-show="item.slot.notes()">
         <strong>[% l('Notes:') %]</strong> {{item.notes()}}
       </span>
     </eg-grid-field>
     <eg-grid-field label="[% l('Appointment ID') %]" path="id"></eg-grid-field>
+    <eg-grid-field label="[% l('Items Checked Out') %]" path="holds" compiled>
+      <eg-curbside-holds-list holds="item.holds" bib-data="item.bib_data_by_hold" slot="item.slot"></eg-curbside-holds-list>
+    </eg-grid-field>
   </eg-grid>
 </div>
index 9d3c580..1615553 100644 (file)
@@ -27,6 +27,9 @@
       </div>
     </eg-grid-field>
     <eg-grid-field label="[% l('Appointment ID') %]" path="slot.id"></eg-grid-field>
+    <eg-grid-field label="[% l('Items for Pickup') %]" path="holds" compiled>
+      <eg-curbside-holds-list holds="item.holds" bib-data="item.bib_data_by_hold" slot="item.slot"></eg-curbside-holds-list>
+    </eg-grid-field>
     <eg-grid-field label="[% l('Action') %]" handlers="gridCellHandlers" compiled>
       <div class="row">
         <div class="col-xs-12">
index 9fd0acb..d0bd9da 100644 (file)
@@ -28,7 +28,7 @@
     </eg-grid-field>
     <eg-grid-field label="[% l('Appointment ID') %]" path="slot.id"></eg-grid-field>
     <eg-grid-field label="[% l('Items for Pickup') %]" path="holds" compiled>
-      <eg-curbside-holds-list holds="item.holds" bib-data="item.bib_data_by_hold"></eg-curbside-holds-list>
+      <eg-curbside-holds-list holds="item.holds" bib-data="item.bib_data_by_hold" slot="item.slot"></eg-curbside-holds-list>
     </eg-grid-field>
     <eg-grid-field label="[% l('Staging Staff') %]" path="slot.stage_staff" handlers="gridCellHandlers" compiled>
       {{item.slot.stage_staff().usrname()}}