[freeside-commits] branch master updated. 32a1571c24a90b89676e646f58436446df7deafb

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


The branch, master has been updated
       via  32a1571c24a90b89676e646f58436446df7deafb (commit)
      from  54355a47c10ecdfd86c26c8f5568f5c2f87de172 (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 32a1571c24a90b89676e646f58436446df7deafb
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Wed Feb 1 15:28:24 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 5e85f8e..62d15a3 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