X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=httemplate%2Fview%2Fcust_statement.html;h=3e1345ed50817bca900b811c0b93cde820c953d3;hb=3c54c844c665ed108c7892a154fd3972fab1f3e5;hp=b078c9d07ea36d8c26ef013f6f5de71945eeb57c;hpb=1e34f4a5d142bd58f5918219db0931e81ad0418e;p=freeside.git
diff --git a/httemplate/view/cust_statement.html b/httemplate/view/cust_statement.html
index b078c9d07..3e1345ed5 100755
--- a/httemplate/view/cust_statement.html
+++ b/httemplate/view/cust_statement.html
@@ -4,16 +4,16 @@
% if ( $FS::CurrentUser::CurrentUser->access_right('Resend invoices') ) {
-%# Re-print this statement
+%# Re-print this statement
% if ( grep { $_ ne 'POST' } $cust_statement->cust_main->invoicing_list ) {
%# |
- Re-email this statement
+ Re-email this statement
% }
% if ( 0 ) {
% #if ( $conf->exists('hylafax') && length($cust_statement->cust_main->fax) ) {
- | Re-fax this statement
+ | Re-fax this statement
% }
@@ -24,7 +24,7 @@
% #if ( $conf->exists('invoice_latex') ) {
% if ( 0 ) { #broken???
- View typeset statement
+ View typeset statement
% }
@@ -73,6 +73,7 @@ die "Statement #$statementnum not found!" unless $cust_statement;
my $custnum = $cust_statement->custnum;
my $display_custnum = $cust_statement->cust_main->display_custnum;
-my $link = $templatename ? "$templatename-$statementnum" : $statementnum;
+my $link = "statementnum=$statementnum";
+$link .= ';template='. uri_escape($templatename) if $templatename;
%init>