From abfe40881b223c813d51162f497c9fd653f2473f Mon Sep 17 00:00:00 2001 From: Jason Stephenson Date: Wed, 8 Feb 2023 13:09:57 -0500 Subject: [PATCH] Revert changes from LP#1919500 Directly revert Open-ILS/web/js/ui/default/staff/cat/item/app.js. Revert Open-ILS/src/templates_cons/staff/cat/item/t_circ_list_pane.tt2 via templates_cons override. Signed-off-by: Jason Stephenson --- .../staff/cat/item/t_circ_list_pane.tt2 | 70 ++++++++++++++++++++++ Open-ILS/web/js/ui/default/staff/cat/item/app.js | 3 +- 2 files changed, 71 insertions(+), 2 deletions(-) create mode 100644 Open-ILS/src/templates_cons/staff/cat/item/t_circ_list_pane.tt2 diff --git a/Open-ILS/src/templates_cons/staff/cat/item/t_circ_list_pane.tt2 b/Open-ILS/src/templates_cons/staff/cat/item/t_circ_list_pane.tt2 new file mode 100644 index 0000000000..5165571b14 --- /dev/null +++ b/Open-ILS/src/templates_cons/staff/cat/item/t_circ_list_pane.tt2 @@ -0,0 +1,70 @@ +
+
+ [% l('Item has not circulated.') %] +
+
+
+
+ [% l('Circulation History not available for display.') %] +
+
+
+
+
+ +
+
+
+ + +
+ +
+
[% l('Check Out Date') %]
+
{{circ.xact_start() | date:egDateAndTimeFormat}}
+
[% l('Due Date') %]
+
{{circ.due_date() | egDueDate:egDateAndTimeFormat:circ.circ_lib():circ.duration()}}
+
[% l('Stop Fines Time') %]
+
{{circ.stop_fines_time() | date:egDateAndTimeFormat}}
+
[% l('Checkin Time') %]
+
{{circ.checkin_time() | date:egDateAndTimeFormat}}
+
+
+
[% l('Check Out Library') %]
+
{{circ.circ_lib().shortname()}}
+
[% l('Renewal?') %]
+
{{ + circ.phone_renewal() == 't' || + circ.desk_renewal() == 't' || + circ.opac_renewal() == 't' || + circ.auto_renewal() == 't' + }}
+
[% l('Stop Fines Reason') %]
+
{{circ.stop_fines()}}
+
[% l('Check In Library') %]
+
{{circ.checkin_lib().shortname()}}
+
+
+
+ diff --git a/Open-ILS/web/js/ui/default/staff/cat/item/app.js b/Open-ILS/web/js/ui/default/staff/cat/item/app.js index f7220130bd..c94a479ef1 100644 --- a/Open-ILS/web/js/ui/default/staff/cat/item/app.js +++ b/Open-ILS/web/js/ui/default/staff/cat/item/app.js @@ -1088,8 +1088,7 @@ console.debug($scope.copy_alert_count); 'usr', 'workstation', 'checkin_workstation', - 'recurring_fine_rule', - 'circ_staff' + 'recurring_fine_rule' ], au : ['card'] }, -- 2.11.0