X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fview%2Fcust_bill.cgi;h=5860ffd110ad8cf3163a3d132411a2fdcc1d338e;hp=6bc1568167223aaee2863988506f488d7d955723;hb=c828daa905491e65deb30a2ed34af609cdb96b99;hpb=298b8d9a262265fe7106da1ff552ce6778237034 diff --git a/httemplate/view/cust_bill.cgi b/httemplate/view/cust_bill.cgi index 6bc156816..5860ffd11 100755 --- a/httemplate/view/cust_bill.cgi +++ b/httemplate/view/cust_bill.cgi @@ -1,4 +1,4 @@ - + <% #untaint invnum @@ -20,10 +20,15 @@ print header('Invoice View', menubar( print qq!Enter payments (check/cash) against this invoice | ! if $cust_bill->owed > 0; -print qq!Reprint this invoice!. -# "

(Printed $printed times)". -#print cust_bill_events - '
'.
+print qq!Reprint this invoice!.      '

'; + +foreach my $cust_bill_event ( + sort { $a->_date <=> $b->_date } $cust_bill->cust_bill_event +) { + print time2str("%a %b %e %T %Y", $cust_bill_event->_date). ' - '. + $cust_bill_event->part_bill_event->event. '
'; +} +print '
';
 
 print $cust_bill->print_text;