projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
RT# 71364 - Added group total to top of payment report
[freeside.git]
/
httemplate
/
misc
/
unsusp_pkg.cgi
diff --git
a/httemplate/misc/unsusp_pkg.cgi
b/httemplate/misc/unsusp_pkg.cgi
index
b350693
..
e7157db
100755
(executable)
--- a/
httemplate/misc/unsusp_pkg.cgi
+++ b/
httemplate/misc/unsusp_pkg.cgi
@@
-1,7
+1,14
@@
%if ( $error ) {
% errorpage($error);
%} else {
%if ( $error ) {
% errorpage($error);
%} else {
-<% $cgi->redirect(popurl(2). "view/cust_main.cgi?".$cust_pkg->getfield('custnum')) %>
+<% $cgi->redirect(
+ -uri => popurl(2). "view/cust_main.cgi?show=packages;custnum=$custnum",
+ -cookie => CGI::Cookie->new( -name => 'freeside_status',
+ -value => mt('Package unsuspended'),
+ -expires => '+5m',
+ ),
+ )
+%>
%}
<%init>
%}
<%init>
@@
-17,4
+24,6
@@
my $cust_pkg = qsearchs('cust_pkg',{'pkgnum'=>$pkgnum});
my $error = $cust_pkg->unsuspend;
my $error = $cust_pkg->unsuspend;
+my $custnum = $cust_pkg->custnum;
+
</%init>
</%init>