summaryrefslogtreecommitdiff
path: root/httemplate/edit/process
diff options
context:
space:
mode:
authorivan <ivan>2010-08-07 07:39:07 +0000
committerivan <ivan>2010-08-07 07:39:07 +0000
commit314b9c694ad2b9c440eb699d9691570b96a15494 (patch)
tree1b9519096215ebaf2d9dc09fa4e6269f100e05e6 /httemplate/edit/process
parentd11e03383999080fec18856b89f4218c3e40b4d6 (diff)
communigate phase 3: RPOP/acct_snarf, RT#7515
Diffstat (limited to 'httemplate/edit/process')
-rw-r--r--httemplate/edit/process/acct_snarf.html20
1 files changed, 20 insertions, 0 deletions
diff --git a/httemplate/edit/process/acct_snarf.html b/httemplate/edit/process/acct_snarf.html
new file mode 100644
index 000000000..332ac5228
--- /dev/null
+++ b/httemplate/edit/process/acct_snarf.html
@@ -0,0 +1,20 @@
+<% include( 'elements/process.html',
+ 'table' => 'acct_snarf',
+ 'redirect' => $redirect,
+ 'noerror_callback' => sub {
+ my( $cgi, $object ) = @_;
+ my $error = $object->svc_export;
+ #shit, not a good place for error handling :/
+ die $error if $error;
+ },
+ )
+%>
+<%init>
+
+my $redirect = sub {
+ my($cgi, $new) = @_;
+ my $svcnum = $new->svcnum;
+ popurl(3)."browse/acct_snarf.html?svcnum=$svcnum;snarfnum=";
+};
+
+</%init>