X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fedit%2Fcust_pay.cgi;h=2794e2218fdbee00a7694b1fd031ebca0857712e;hb=0bdec843e4a9bb7f947c9ba980a40f7bf37020fb;hp=38654e98d2bfde8cde7147e163cd3f062057bc5a;hpb=f91771606ce8a2bb4f2fa44e7bf54c9b7c945db6;p=freeside.git diff --git a/httemplate/edit/cust_pay.cgi b/httemplate/edit/cust_pay.cgi index 38654e98d..2794e2218 100755 --- a/httemplate/edit/cust_pay.cgi +++ b/httemplate/edit/cust_pay.cgi @@ -1,20 +1,9 @@ + <% -# - -use strict; -use vars qw( $cgi $link $linknum $p1 $_date $payby $payinfo $paid $quickpay ); -use Date::Format; -use CGI; -use CGI::Carp qw(fatalsToBrowser); -use FS::Conf; -use FS::UID qw(cgisuidsetup); -use FS::CGI qw(header popurl ntable small_custview); my $conf = new FS::Conf; -$cgi = new CGI; -cgisuidsetup($cgi); - +my($link, $linknum, $paid, $payby, $payinfo, $quickpay); if ( $cgi->param('error') ) { $link = $cgi->param('link'); $linknum = $cgi->param('linknum'); @@ -41,9 +30,9 @@ if ( $cgi->param('error') ) { } else { die "illegal query ". $cgi->keywords; } -$_date = time; +my $_date = time; -$p1 = popurl(1); +my $p1 = popurl(1); print header("Post payment", ''); print qq!Error: !, $cgi->param('error'), @@ -96,7 +85,7 @@ if ( $link eq 'invnum' ) { } } - print ''; + print '

'; $custnum = $cust_bill->custnum;