projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ACLs: finish group edit (agents + rights) & browse
[freeside.git]
/
httemplate
/
edit
/
process
/
cust_bill_pay.cgi
diff --git
a/httemplate/edit/process/cust_bill_pay.cgi
b/httemplate/edit/process/cust_bill_pay.cgi
index
0025b16
..
fc668bb
100755
(executable)
--- a/
httemplate/edit/process/cust_bill_pay.cgi
+++ b/
httemplate/edit/process/cust_bill_pay.cgi
@@
-33,11
+33,19
@@
if ($cgi->param('invnum') =~ /^Refund$/) {
my $error = $new->insert;
if ( $error ) {
my $error = $new->insert;
if ( $error ) {
+
$cgi->param('error', $error);
$cgi->param('error', $error);
- print $cgi->redirect(popurl(2). "cust_bill_pay.cgi?". $cgi->query_string );
+ %><%= $cgi->redirect(popurl(2). "cust_bill_pay.cgi?". $cgi->query_string ) %><%
+
} else {
} else {
- print $cgi->redirect(popurl(3). "view/cust_main.cgi?$custnum");
-}
+ #print $cgi->redirect(popurl(3). "view/cust_main.cgi?$custnum");
+
+ %><%= header('Payment application sucessful') %>
+ <SCRIPT TYPE="text/javascript">
+ window.top.location.reload();
+ </SCRIPT>
+
+ </BODY></HTML>
-%>
+
<% }
%>