projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d68d551
)
add duedate_long to invoice template substitutions, RT#75066
author
Ivan Kohler
<ivan@freeside.biz>
Thu, 6 Apr 2017 19:11:51 +0000
(12:11 -0700)
committer
Ivan Kohler
<ivan@freeside.biz>
Thu, 6 Apr 2017 19:11:51 +0000
(12:11 -0700)
FS/FS/Template_Mixin.pm
patch
|
blob
|
history
diff --git
a/FS/FS/Template_Mixin.pm
b/FS/FS/Template_Mixin.pm
index
79f6813
..
837ef2e
100644
(file)
--- a/
FS/FS/Template_Mixin.pm
+++ b/
FS/FS/Template_Mixin.pm
@@
-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?
'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,
#customer info
'custnum' => $cust_main->display_custnum,