LP#1738688: Add cancel time to Most Recent Transits
authorKathy Lussier <klussier@masslnc.org>
Wed, 29 Aug 2018 14:58:20 +0000 (10:58 -0400)
committerGalen Charlton <gmc@equinoxinitiative.org>
Thu, 13 Sep 2018 14:50:37 +0000 (10:50 -0400)
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

index c4f389b..bb26920 100644 (file)
       {{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>