X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fcust_bill.cgi;h=53d7bc0510d479d335a46cba3f8c603b584a219d;hb=e9af247503b619f0c61a3ba14481bc76752bdd8b;hp=da79d79e43b19951684c69dd7fc537808819311c;hpb=22a35047ecdffff80110e06cc08fc84f9ddba9b0;p=freeside.git diff --git a/httemplate/view/cust_bill.cgi b/httemplate/view/cust_bill.cgi index da79d79e4..53d7bc051 100755 --- a/httemplate/view/cust_bill.cgi +++ b/httemplate/view/cust_bill.cgi @@ -1,3 +1,4 @@ + <% #untaint invnum @@ -21,13 +22,19 @@ print qq!Enter payments (check/cash) aga print qq!Reprint this invoice!. '

'; +#false laziness with search/cust_bill_event.cgi + +print table(). 'EventDateStatus'; 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. '
'; + my $status = $cust_bill_event->status; + $status .= ': '. $cust_bill_event->statustext if $cust_bill_event->statustext; + print ''. $cust_bill_event->part_bill_event->event. ''. + time2str("%a %b %e %T %Y", $cust_bill_event->_date). ''. + $status. ''; } -print '
';
+print '
';
 
 print $cust_bill->print_text;