From 81b52d260514fb03ba962fbf891b91c1ac93f102 Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Wed, 1 Feb 2017 15:28:25 -0800 Subject: [PATCH] fix agent override of invoice_omit_due_date, RT#73002 --- FS/FS/Template_Mixin.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FS/FS/Template_Mixin.pm b/FS/FS/Template_Mixin.pm index d7add719f..5d7fe328e 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); } -- 2.11.0