[freeside-commits] branch master updated. 09af85fc0e7a48392c930c9672a99448cf9630d4

Ivan ivan at 420.am
Thu Dec 22 14:01:34 PST 2016


The branch, master has been updated
       via  09af85fc0e7a48392c930c9672a99448cf9630d4 (commit)
      from  786096939b4d209e03d90de725f3a7310845f280 (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 09af85fc0e7a48392c930c9672a99448cf9630d4
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Thu Dec 22 14:01:33 2016 -0800

    omit due date option, RT#73002

diff --git a/FS/FS/Template_Mixin.pm b/FS/FS/Template_Mixin.pm
index caa31f7..d7add71 100644
--- a/FS/FS/Template_Mixin.pm
+++ b/FS/FS/Template_Mixin.pm
@@ -1952,7 +1952,8 @@ sub balance_due_msg {
     # (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');
+              $self->due_date2str('short')
+        unless $self->conf->config_bool('invoice_omit_due_date');
     } elsif ( $self->terms ) {
       $msg .= ' - '. $self->mt($self->terms);
     }

-----------------------------------------------------------------------

Summary of changes:
 FS/FS/Template_Mixin.pm |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)




More information about the freeside-commits mailing list