[freeside-commits] branch FREESIDE_4_BRANCH updated. 81b52d260514fb03ba962fbf891b91c1ac93f102

Ivan ivan at 420.am
Wed Feb 1 15:28:26 PST 2017


The branch, FREESIDE_4_BRANCH has been updated
       via  81b52d260514fb03ba962fbf891b91c1ac93f102 (commit)
      from  41586592a424ce02595237d2048b0fdb18033ddd (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 81b52d260514fb03ba962fbf891b91c1ac93f102
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Wed Feb 1 15:28:25 2017 -0800

    fix agent override of invoice_omit_due_date, RT#73002

diff --git a/FS/FS/Template_Mixin.pm b/FS/FS/Template_Mixin.pm
index d7add71..5d7fe32 100644
--- a/FS/FS/Template_Mixin.pm
+++ b/FS/FS/Template_Mixin.pm
@@ -1953,7 +1953,7 @@ sub balance_due_msg {
     if ( $self->due_date ) {
       $msg .= ' - ' . $self->mt('Please pay by'). ' '.
               $self->due_date2str('short')
-        unless $self->conf->config_bool('invoice_omit_due_date');
+       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 |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)




More information about the freeside-commits mailing list