From: Kathy Lussier <klussier@masslnc.org>
Date: Wed, 29 Aug 2018 14:58:20 +0000 (-0400)
Subject: LP#1738688: Add cancel time to Most Recent Transits
X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=8a1a43b57baf4036fe5ccf485caa0ed29e2fe2a2;p=contrib%2FConifer.git

LP#1738688: Add cancel time to Most Recent Transits

Adds the transit cancel time to the Most Recent Transits section of
the Item Status Holds / Transit tab.

Test plan:
Place an item in transit and then cancel the transit. Retrieve the item in
Item Status / Detail View. In the Holds / Transit tab, there is no indication
the transit has been canceled before loading the patch. Post-patch, the
cancel time will display.

Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: John Amundson <jamundson@cwmars.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
---

diff --git a/Open-ILS/src/templates/staff/cat/item/t_holds_pane.tt2 b/Open-ILS/src/templates/staff/cat/item/t_holds_pane.tt2
index c4f389b31a..bb26920fdc 100644
--- a/Open-ILS/src/templates/staff/cat/item/t_holds_pane.tt2
+++ b/Open-ILS/src/templates/staff/cat/item/t_holds_pane.tt2
@@ -121,5 +121,11 @@
       {{transit.dest_recv_time() | date:egDateAndTimeFormat}}
     </div>
   </div>
+  <div class="flex-row">
+    <div class="flex-cell">[% l('Transit Cancel Time') %]</div>
+    <div class="flex-cell well">
+      {{transit.cancel_time() | date:egDateAndTimeFormat}}
+    </div>
+  </div>
 </div>