[freeside-commits] freeside/httemplate/misc delete-cgp_rule.html, NONE, 1.1
Ivan,,,
ivan at wavetail.420.am
Thu Apr 22 23:43:42 PDT 2010
- Previous message: [freeside-commits] freeside/httemplate/view/svc_acct communigate.html, NONE, 1.1 basics.html, 1.9, 1.10
- Next message: [freeside-commits] freeside/FS/FS cgp_rule_action.pm, 1.1.2.1, 1.1.2.2 cgp_rule_condition.pm, 1.1.2.1, 1.1.2.2 cgp_rule.pm, 1.1.2.1, 1.1.2.2 Mason.pm, 1.19.2.5, 1.19.2.6
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/cvsroot/freeside/httemplate/misc
In directory wavetail.420.am:/tmp/cvs-serv14727/httemplate/misc
Added Files:
delete-cgp_rule.html
Log Message:
communigate (phase 2): rules. RT#7514
--- NEW FILE: delete-cgp_rule.html ---
% if ( $error ) {
% errorpage($error);
% } else {
<% $cgi->redirect($p. "browse/cgp_rule.html?svcnum=". $svcnum) %>
% }
<%init>
# :/ needs agent-virt so you can't futz with arbitrary rules
#die "access denied"
# unless $FS::CurrentUser::CurrentUser->access_right('Provision customer service');
#untaint devicenum
my($query) = $cgi->keywords;
$query =~ /^(\d+)$/ || die "Illegal rulenum";
my $rulenum = $1;
my $cgp_rule = qsearchs('cgp_rule', { 'rulenum' => $rulenum } );
my $svcnum = $cgp_rule->svcnum;
my $error = $cgp_rule->delete;
</%init>
- Previous message: [freeside-commits] freeside/httemplate/view/svc_acct communigate.html, NONE, 1.1 basics.html, 1.9, 1.10
- Next message: [freeside-commits] freeside/FS/FS cgp_rule_action.pm, 1.1.2.1, 1.1.2.2 cgp_rule_condition.pm, 1.1.2.1, 1.1.2.2 cgp_rule.pm, 1.1.2.1, 1.1.2.2 Mason.pm, 1.19.2.5, 1.19.2.6
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the freeside-commits
mailing list