typeset invoice view in web UI uses pdf instead of postscript, closes Bug#614
[freeside.git] / httemplate / view / cust_bill.cgi
index 95f1a0a..4e0c438 100755 (executable)
@@ -22,6 +22,12 @@ print qq!<A HREF="${p}edit/cust_pay.cgi?$invnum">Enter payments (check/cash) aga
 
 print qq!<A HREF="${p}misc/print-invoice.cgi?$invnum">Reprint this invoice</A>!.      '<BR><BR>';
 
+print menubar(
+  'View typeset invoice' => "${p}view/cust_bill-pdf.cgi?$invnum",
+), '<BR><BR>';
+
+#false laziness with search/cust_bill_event.cgi
+
 print table(). '<TR><TH>Event</TH><TH>Date</TH><TH>Status</TH></TR>';
 foreach my $cust_bill_event (
   sort { $a->_date <=> $b->_date } $cust_bill->cust_bill_event