[open-ils-commits] [GIT] Evergreen ILS branch rel_3_2 updated. 787f94732a62d5704674b263aab9536edf23cb96
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_2 has been updated
via 787f94732a62d5704674b263aab9536edf23cb96 (commit)
from cb9d542f117dbd463d25b9d45e38b8204ba4910d (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 787f94732a62d5704674b263aab9536edf23cb96
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