[open-ils-commits] [GIT] Evergreen ILS branch rel_3_3 updated. d3f449dd222b108f62caedcd3f06b0be88102f77
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_3 has been updated
via d3f449dd222b108f62caedcd3f06b0be88102f77 (commit)
from c97514acca8427ec40da2ae56cbc0a597d892ed7 (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 d3f449dd222b108f62caedcd3f06b0be88102f77
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