projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
scalar cgi param
[freeside.git]
/
httemplate
/
edit
/
process
/
elements
/
ApplicationCommon.html
diff --git
a/httemplate/edit/process/elements/ApplicationCommon.html
b/httemplate/edit/process/elements/ApplicationCommon.html
index
c7bdd3e
..
097a45d
100644
(file)
--- a/
httemplate/edit/process/elements/ApplicationCommon.html
+++ b/
httemplate/edit/process/elements/ApplicationCommon.html
@@
-21,11
+21,12
@@
Examples:
</%doc>
%if ( $error ) {
% $cgi->param('error', $error);
</%doc>
%if ( $error ) {
% $cgi->param('error', $error);
-<% $cgi->redirect(popurl(2). $opt{error_redirect}. '?'. $cgi->query_string ) %>
+% my $query = $m->scomp('/elements/create_uri_query');
+<% $cgi->redirect(popurl(2). $opt{error_redirect}. "?$query") %>
%} else {
%} else {
-<
% header("$src_thing application$to sucessful") %
>
+<
& /elements/header-popup.html, "$src_thing application$to sucessful" &
>
<SCRIPT TYPE="text/javascript">
<SCRIPT TYPE="text/javascript">
-
window.top.location.
reload();
+
top
reload();
</SCRIPT>
</BODY>
</HTML>
</SCRIPT>
</BODY>
</HTML>
@@
-68,9
+69,9
@@
my $dbh = dbh;
my $new;
# $new = new FS::cust_refund ( {
# 'reason' => 'Refunding payment', #enter reason in UI
my $new;
# $new = new FS::cust_refund ( {
# 'reason' => 'Refunding payment', #enter reason in UI
-# 'refund' =>
$cgi->param('amount'
),
+# 'refund' =>
scalar($cgi->param('amount')
),
# 'payby' => 'BILL',
# 'payby' => 'BILL',
-# #'_date' =>
$cgi->param('_date'
),
+# #'_date' =>
scalar($cgi->param('_date')
),
# 'payinfo' => 'Cash', #enter payinfo in UI
# 'paynum' => $paynum,
# } );
# 'payinfo' => 'Cash', #enter payinfo in UI
# 'paynum' => $paynum,
# } );