From 8a1a43b57baf4036fe5ccf485caa0ed29e2fe2a2 Mon Sep 17 00:00:00 2001 From: Kathy Lussier <klussier@masslnc.org> Date: Wed, 29 Aug 2018 10:58:20 -0400 Subject: [PATCH] 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> --- Open-ILS/src/templates/staff/cat/item/t_holds_pane.tt2 | 6 ++++++ 1 file changed, 6 insertions(+) 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> -- 2.11.0