X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fcust_bill.cgi;h=4d98f3ebc8fb53683a29d36ed6e816d8317a0cf1;hb=5edf279b260fd952457af1ab8489eaec7952204a;hp=53d7bc0510d479d335a46cba3f8c603b584a219d;hpb=0ebeec96313dd7edfca340f01f8fbbbac1f4aa1d;p=freeside.git
diff --git a/httemplate/view/cust_bill.cgi b/httemplate/view/cust_bill.cgi
index 53d7bc051..4d98f3ebc 100755
--- a/httemplate/view/cust_bill.cgi
+++ b/httemplate/view/cust_bill.cgi
@@ -22,6 +22,13 @@ print qq!Enter payments (check/cash) aga
print qq!Reprint this invoice!. '
';
+my $conf = new FS::Conf;
+if ( $conf->exists('invoice_latex') ) {
+ print menubar(
+ 'View typeset invoice' => "${p}view/cust_bill-pdf.cgi?$invnum",
+ ), '
';
+}
+
#false laziness with search/cust_bill_event.cgi
print table(). '