LP1904036 Use new due date display options
authorBill Erickson <berickxx@gmail.com>
Wed, 30 Jun 2021 17:54:43 +0000 (13:54 -0400)
committerGalen Charlton <gmc@equinoxOLI.org>
Fri, 28 Oct 2022 00:13:35 +0000 (20:13 -0400)
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Open-ILS/src/eg2/src/app/staff/circ/checkin/checkin.component.html
Open-ILS/src/eg2/src/app/staff/circ/patron/checkout.component.html
Open-ILS/src/eg2/src/app/staff/share/circ/grid.component.html

index ae2d324..46d26c5 100644 (file)
       <eg-grid-column path="copy.status.name"
         label="Item Status" i18n-label></eg-grid-column>
 
+      <eg-grid-column path="circ.due_date" label="Due Date" i18n-label
+        timezoneContextOrg="circ.circ_lib" dateOnlyIntervalField="circ.duration"
+        datatype="timestamp"></eg-grid-column>
+
       <eg-grid-column path="copy.*" idlClass="acp" [hidden]="true"></eg-grid-column>
       <eg-grid-column path="circ.*" idlClass="circ" [hidden]="true"></eg-grid-column>
       <eg-grid-column path="mbts.*" idlClass="mbts" [hidden]="true"></eg-grid-column>
index 28cfbc3..df1d397 100644 (file)
         label="Row Index" i18n-label [hidden]="true"></eg-grid-column>
       <eg-grid-column path="circ.id" label="Circ ID" i18n-label></eg-grid-column>
 
-      <!-- TODO 
-        [datePlusTime]="true" when non-full-day circ 
-      -->
       <eg-grid-column path="dueDate" label="Due Date" i18n-label
+        timezoneContextOrg="circ.circ_lib" dateOnlyIntervalField="circ.duration"
         datatype="timestamp"></eg-grid-column>
 
       <eg-grid-column path="copy.barcode" label="Barcode" i18n-label></eg-grid-column>
index 5edee57..de5f7fe 100644 (file)
   <eg-grid-column path="circ.id" 
     label="Circ ID" i18n-label></eg-grid-column>
 
-  <!-- TODO 
-    [datePlusTime]="true" when non-full-day circ 
-  -->
   <eg-grid-column path="dueDate" label="Due Date" i18n-label
+    timezoneContextOrg="circ.circ_lib" dateOnlyIntervalField="circ.duration"
     datatype="timestamp"></eg-grid-column>
 
   <eg-grid-column path="copy.barcode" label="Barcode" i18n-label