[freeside-commits] branch FREESIDE_3_BRANCH updated. 325cf93ded5af225b3ec4a2fc896a456db86109c
Ivan
ivan at 420.am
Thu Dec 22 14:01:37 PST 2016
The branch, FREESIDE_3_BRANCH has been updated
via 325cf93ded5af225b3ec4a2fc896a456db86109c (commit)
from 02f201b799d08f21ecd665536020ce8a3f937ba3 (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 325cf93ded5af225b3ec4a2fc896a456db86109c
Author: Ivan Kohler <ivan at freeside.biz>
Date: Thu Dec 22 14:01:36 2016 -0800
omit due date option, RT#73002
diff --git a/FS/FS/Template_Mixin.pm b/FS/FS/Template_Mixin.pm
index efe9769..78be880 100644
--- a/FS/FS/Template_Mixin.pm
+++ b/FS/FS/Template_Mixin.pm
@@ -1947,7 +1947,8 @@ sub balance_due_msg {
# (yes, or if invoice_sections is enabled; this is just for compatibility)
if ( $self->due_date ) {
$msg .= ' - ' . $self->mt('Please pay by'). ' '.
- $self->due_date2str('short');
+ $self->due_date2str('short')
+ unless $self->conf->config_bool('invoice_omit_due_date');
} elsif ( $self->terms ) {
$msg .= ' - '. $self->mt($self->terms);
}
-----------------------------------------------------------------------
Summary of changes:
FS/FS/Template_Mixin.pm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
More information about the freeside-commits
mailing list