[freeside-commits] branch FREESIDE_4_BRANCH updated. d5a4d5b95dfc1221deadf90e95ed54c1fd6527e9
Ivan
ivan at 420.am
Mon Apr 3 18:33:02 PDT 2017
The branch, FREESIDE_4_BRANCH has been updated
via d5a4d5b95dfc1221deadf90e95ed54c1fd6527e9 (commit)
from 8231205cece72104d86c834abd2dffd342b0e988 (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 d5a4d5b95dfc1221deadf90e95ed54c1fd6527e9
Author: Ivan Kohler <ivan at freeside.biz>
Date: Mon Apr 3 18:33:01 2017 -0700
configure "Please pay by" string per agent, RT#75372
diff --git a/FS/FS/Template_Mixin.pm b/FS/FS/Template_Mixin.pm
index bde7a9c..8c63204 100644
--- a/FS/FS/Template_Mixin.pm
+++ b/FS/FS/Template_Mixin.pm
@@ -1958,8 +1958,11 @@ sub balance_due_msg {
# _items_total) and not here
# (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')
+ my $please_pay_by =
+ $self->conf->config('invoice_pay_by_msg', $self->agentnum)
+ || 'Please pay by [_1]';
+ $msg .= ' - ' . $self->mt($please_pay_by, $self->due_date2str('short')).
+ ' '
unless $self->conf->config_bool('invoice_omit_due_date',$self->agentnum);
} elsif ( $self->terms ) {
$msg .= ' - '. $self->mt($self->terms);
-----------------------------------------------------------------------
Summary of changes:
FS/FS/Template_Mixin.pm | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
More information about the freeside-commits
mailing list