add duedate_long to invoice template substitutions, RT#75066
authorIvan Kohler <ivan@freeside.biz>
Thu, 6 Apr 2017 19:11:51 +0000 (12:11 -0700)
committerIvan Kohler <ivan@freeside.biz>
Thu, 6 Apr 2017 19:11:51 +0000 (12:11 -0700)
FS/FS/Template_Mixin.pm

index 79f6813..837ef2e 100644 (file)
@@ -563,6 +563,7 @@ sub print_generic {
     'notice_name'     => $notice_name, # escape?
     'current_charges' => sprintf("%.2f", $self->charged),
     'duedate'         => $self->due_date2str('rdate'), #date_format?
+    'duedate_long'    => $self->due_date2str('long'),
 
     #customer info
     'custnum'         => $cust_main->display_custnum,