X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fview%2Fcust_bill.cgi;h=7906af65b224d64bb932c3383b13d8b5b85c6a89;hp=7c2af06a77755da1ffff16751e3549c2cadab1e8;hb=1cd72a6f1bd5ca39410f525779f5ca4ee9228a1c;hpb=a4c96748eb6eab29a70f3a944c6520283a635c78
diff --git a/httemplate/view/cust_bill.cgi b/httemplate/view/cust_bill.cgi
index 7c2af06a7..7906af65b 100755
--- a/httemplate/view/cust_bill.cgi
+++ b/httemplate/view/cust_bill.cgi
@@ -20,15 +20,34 @@ print header('Invoice View', menubar(
print qq!Enter payments (check/cash) against this invoice | !
if $cust_bill->owed > 0;
-print qq!Reprint this invoice!. '
';
+print qq!Reprint this invoice!;
+if ( grep { $_ ne 'POST' } $cust_bill->cust_main->invoicing_list ) {
+ print qq! | !.
+ qq!Re-email this invoice!;
+}
+
+print '
';
+
+my $conf = new FS::Conf;
+if ( $conf->exists('invoice_latex') ) {
+ print menubar(
+ 'View typeset invoice' => "${p}view/cust_bill-pdf.cgi?$invnum.pdf",
+ ), '
';
+}
+
+#false laziness with search/cust_bill_event.cgi
+print table(). '
'; +print ''; print $cust_bill->print_text;