[freeside-commits] branch FREESIDE_3_BRANCH updated. 08b37b2247f01a274879b63a3d6b921c3e6db844

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


The branch, FREESIDE_3_BRANCH has been updated
       via  08b37b2247f01a274879b63a3d6b921c3e6db844 (commit)
      from  93e7186ecd347c46a09bdc88ca391e8f0d1ab7da (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 08b37b2247f01a274879b63a3d6b921c3e6db844
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Wed Feb 1 15:28:27 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 78be880..229c3ad 100644
--- a/FS/FS/Template_Mixin.pm
+++ b/FS/FS/Template_Mixin.pm
@@ -1948,7 +1948,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