summaryrefslogtreecommitdiff
path: root/FS
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2013-05-31 22:26:51 -0700
committerIvan Kohler <ivan@freeside.biz>2013-05-31 22:26:51 -0700
commit5c70d9af4f7b07ccd9b67c203abd23f25218293e (patch)
treeadf37f13cf64e31d7a2281a80e8a53821db68a99 /FS
parent13a5508296bd6760314bdccdb52926d67e955d9e (diff)
add raw date to invoice templates, RT#21007
Diffstat (limited to 'FS')
-rw-r--r--FS/FS/Template_Mixin.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/FS/FS/Template_Mixin.pm b/FS/FS/Template_Mixin.pm
index be9d68a88..e4db2eeda 100644
--- a/FS/FS/Template_Mixin.pm
+++ b/FS/FS/Template_Mixin.pm
@@ -449,6 +449,7 @@ sub print_generic {
'invnum' => ( $params{'no_number'} ? '' : $self->invnum ),
'quotationnum' => $self->quotationnum,
'no_date' => $params{'no_date'},
+ '_date' => ( $params{'no_date'} ? '' : $self->_date ),
'date' => ( $params{'no_date'}
? ''
: time2str($date_format, $self->_date)