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

Evergreen Git git at git.evergreen-ils.org
Sat Aug 3 11:51:21 EDT 2019


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  e11d48dd14bd2ca57b5ca5920e82816ba47b284e (commit)
      from  5d23f06e81d0ce470e3c68b527a9bc57d3b1ef38 (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 e11d48dd14bd2ca57b5ca5920e82816ba47b284e
Author: Jason Boyer <jboyer at library.in.gov>
Date:   Mon Oct 29 10:53:41 2018 -0400

    LP1800484: Substitute 0 for missing Totals values
    
    If nothing is returned for the Totals on the patron Bills tab,
    use a 0 rather than leaving the value missing.
    
    Signed-off-by: Jason Boyer <jboyer at library.in.gov>
    Signed-off-by: Rogan Hamby <rogan.hamby at gmail.com>
    Signed-off-by: Galen Charlton <gmc at equinoxinitiative.org>

diff --git a/Open-ILS/src/templates/staff/circ/patron/t_bills.tt2 b/Open-ILS/src/templates/staff/circ/patron/t_bills.tt2
index 69d04396c8..b2d41ccbc5 100644
--- a/Open-ILS/src/templates/staff/circ/patron/t_bills.tt2
+++ b/Open-ILS/src/templates/staff/circ/patron/t_bills.tt2
@@ -4,19 +4,19 @@
 
     <div class="row">
       <div class="col-md-4">[% l('Total Owed:') %]</div>
-      <div class="col-md-2 strong-text">{{summary.balance_owed() | currency}}</div>
+      <div class="col-md-2 strong-text">{{(summary.balance_owed() || 0) | currency}}</div>
       <div class="col-md-4">[% l('Refunds Available:') %]</div>
       <div class="col-md-2">{{refunds_available() | currency}}</div>
     </div>
     <div class="row">
       <div class="col-md-4">[% l('Total Billed:') %]</div>
-      <div class="col-md-2">{{summary.total_owed() | currency}}</div>
+      <div class="col-md-2">{{(summary.total_owed() || 0) | currency}}</div>
       <div class="col-md-4">[% l('Credit Available:') %]</div>
       <div class="col-md-2">{{patron().credit_forward_balance() | currency}}</div>
     </div>
     <div class="row">
       <div class="col-md-4">[% l('Total Paid/Credited:') %]</div>
-      <div class="col-md-2">{{summary.total_paid() | currency}}</div>
+      <div class="col-md-2">{{(summary.total_paid() || 0) | currency}}</div>
       <div class="col-md-4">[% l('Session Voided:') %]</div>
       <div class="col-md-2">{{session_voided | currency}}</div>
     </div>

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

Summary of changes:
 Open-ILS/src/templates/staff/circ/patron/t_bills.tt2 | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list