[freeside-commits] branch FREESIDE_4_BRANCH updated. 444fbfdd9a55d746c73cc120cd1ecda10075e347

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


The branch, FREESIDE_4_BRANCH has been updated
       via  444fbfdd9a55d746c73cc120cd1ecda10075e347 (commit)
      from  ea25ca75fd236adcbf5d0f2efa96cd55924d9aa1 (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 444fbfdd9a55d746c73cc120cd1ecda10075e347
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Thu Dec 22 14:01:35 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