[open-ils-commits] [GIT] Evergreen ILS branch master updated. a15dc23daacd6855ad2095c82d63bb52252885fe

Evergreen Git git at git.evergreen-ils.org
Mon Jul 17 10:46:33 EDT 2017


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".

The branch, master has been updated
       via  a15dc23daacd6855ad2095c82d63bb52252885fe (commit)
      from  832d8831809835347de2d864a89dcb5515924b80 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit a15dc23daacd6855ad2095c82d63bb52252885fe
Author: Jason Boyer <jboyer at library.in.gov>
Date:   Fri Jul 14 15:01:09 2017 -0400

    LP1704463: Item Status Fields Correction
    
    The Loan Duration and Fine Level fields were
    being incorrectly pulled from unrelated fields
    on the most recent circ rather than the item.
    
    Signed-off-by: Jason Boyer <jboyer at library.in.gov>
    Signed-off-by: Chris Sharp <csharp at georgialibraries.org>
    Signed-off-by: Mike Rylander <mrylander at gmail.com>

diff --git a/Open-ILS/src/templates/staff/cat/item/t_summary_pane.tt2 b/Open-ILS/src/templates/staff/cat/item/t_summary_pane.tt2
index a80e4d8..4f03835 100644
--- a/Open-ILS/src/templates/staff/cat/item/t_summary_pane.tt2
+++ b/Open-ILS/src/templates/staff/cat/item/t_summary_pane.tt2
@@ -63,7 +63,11 @@
     </div>
 
     <div class="flex-cell">[% l('Loan Duration') %]</div>
-    <div class="flex-cell well">{{circ.duration()}}</div>
+    <div class="flex-cell well">
+      <div ng-if="copy.loan_duration() == 1">[% l('Short') %]</div>
+      <div ng-if="copy.loan_duration() == 2">[% l('Normal') %]</div>
+      <div ng-if="copy.loan_duration() == 3">[% l('Long') %]</div>
+    </div>
 
     <div class="flex-cell">[% l('Renewal Type') %]</div>
     <div class="flex-cell well">
@@ -80,7 +84,11 @@
     <div class="flex-cell">[% l('Date Created') %]</div>
     <div class="flex-cell well">{{copy.create_date() | date:egDateAndTimeFormat}}</div>
     <div class="flex-cell">[% l('Fine Level') %]</div>
-    <div class="flex-cell well">{{circ.duration_rule().name()}}</div>
+    <div class="flex-cell well">
+      <div ng-if="copy.fine_level() == 1">[% l('Low') %]</div>
+      <div ng-if="copy.fine_level() == 2">[% l('Normal') %]</div>
+      <div ng-if="copy.fine_level() == 3">[% l('High') %]</div>
+    </div>
 
     <div class="flex-cell">[% l('Total Circs') %]</div>
     <div class="flex-cell well">{{total_circs}}</div>

-----------------------------------------------------------------------

Summary of changes:
 .../templates/staff/cat/item/t_summary_pane.tt2    |   12 ++++++++++--
 1 files changed, 10 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list