summaryrefslogtreecommitdiff
path: root/httemplate/view/cust_statement.html
diff options
context:
space:
mode:
authorivan <ivan>2009-08-20 09:47:05 +0000
committerivan <ivan>2009-08-20 09:47:05 +0000
commit1e34f4a5d142bd58f5918219db0931e81ad0418e (patch)
treebacfc80211078bd21e2ef44c3461b15078bfbd9d /httemplate/view/cust_statement.html
parente042c7a9463af50a08cab6ddfcd62fed2b5f276e (diff)
email statements, RT#4860
Diffstat (limited to 'httemplate/view/cust_statement.html')
-rwxr-xr-xhttemplate/view/cust_statement.html13
1 files changed, 8 insertions, 5 deletions
diff --git a/httemplate/view/cust_statement.html b/httemplate/view/cust_statement.html
index ec4ee9e..b078c9d 100755
--- a/httemplate/view/cust_statement.html
+++ b/httemplate/view/cust_statement.html
@@ -4,13 +4,15 @@
% if ( $FS::CurrentUser::CurrentUser->access_right('Resend invoices') ) {
- <A HREF="<% $p %>misc/print-invoice.cgi?<% $link %>">Re-print this statement</A>
+%# <A HREF="<% $p %>misc/print-invoice.cgi?<% $link %>">Re-print this statement</A>
% if ( grep { $_ ne 'POST' } $cust_statement->cust_main->invoicing_list ) {
- | <A HREF="<% $p %>misc/email-invoice.cgi?<% $link %>">Re-email this statement</A>
+%# |
+ <A HREF="<% $p %>misc/email-invoice.cgi?<% $link %>">Re-email this statement</A>
% }
-% if ( $conf->exists('hylafax') && length($cust_statement->cust_main->fax) ) {
+% if ( 0 ) {
+% #if ( $conf->exists('hylafax') && length($cust_statement->cust_main->fax) ) {
| <A HREF="<% $p %>misc/fax-invoice.cgi?<% $link %>">Re-fax this statement</A>
% }
@@ -19,7 +21,8 @@
% }
-% if ( $conf->exists('invoice_latex') ) {
+% #if ( $conf->exists('invoice_latex') ) {
+% if ( 0 ) { #broken???
<A HREF="<% $p %>view/cust_statement-pdf.cgi?<% $link %>.pdf">View typeset statement</A>
<BR><BR>
@@ -47,7 +50,7 @@ die "access denied"
#untaint statement
my($query) = $cgi->keywords;
$query =~ /^((.+)-)?(\d+)$/;
-my $templatename = $2;
+my $templatename = $2 || 'statement'; #XXX configure... via event?? eh..
my $statementnum = $3;
my $conf = new FS::Conf;