[open-ils-commits] [GIT] Evergreen ILS branch rel_3_1 updated. 8a5df85868cba2f659844a997c7fd9d58a818cb1

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, rel_3_1 has been updated
       via  8a5df85868cba2f659844a997c7fd9d58a818cb1 (commit)
      from  ba284537646742c473a173b9c58ed2964b611a7f (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 8a5df85868cba2f659844a997c7fd9d58a818cb1
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 13a92304b6..fa6d96fbd5 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