diff options
author | ivan <ivan> | 2007-10-27 04:46:05 +0000 |
---|---|---|
committer | ivan <ivan> | 2007-10-27 04:46:05 +0000 |
commit | 9ed8adbf1ab5aba8181903e9c262f2b69dba6cbc (patch) | |
tree | cb1474ff04a974f356db758a01c8299c9a7b0a6e /httemplate/search | |
parent | cb008af3d5847be4e31f5f67e3ac017b8adea58f (diff) |
simple payment receipts in web interface, sorry arnie, RT#2738
Diffstat (limited to 'httemplate/search')
-rwxr-xr-x | httemplate/search/cust_pay.cgi | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/httemplate/search/cust_pay.cgi b/httemplate/search/cust_pay.cgi index 0eefd2b50..2166eb16d 100755 --- a/httemplate/search/cust_pay.cgi +++ b/httemplate/search/cust_pay.cgi @@ -37,10 +37,10 @@ #'align' => 'lrrrll', 'align' => 'rrr'.FS::UI::Web::cust_aligns(), 'links' => [ - '', - '', - '', - ( map { $_ ne 'Cust. Status' ? $link : '' } + $link, + $link, + $link, + ( map { $_ ne 'Cust. Status' ? $cust_link : '' } FS::UI::Web::cust_header() ), ], @@ -226,7 +226,9 @@ if ( $cgi->param('magic') ) { } -my $link = sub { +my $link = [ "${p}view/cust_pay.html?paynum=", 'paynum' ]; + +my $cust_link = sub { my $cust_pay = shift; $cust_pay->cust_main_custnum ? [ "${p}view/cust_main.cgi?", 'custnum' ] |