diff options
| author | ivan <ivan> | 2011-10-06 07:02:49 +0000 |
|---|---|---|
| committer | ivan <ivan> | 2011-10-06 07:02:49 +0000 |
| commit | 14c5096e04f0d1ac2a19a3c6c41e537a9aa0f78c (patch) | |
| tree | 4b87a5eb5ec1acac9ac60c50fc79f1138de4338d /httemplate/edit/process/dsl_device.html | |
| parent | ce18f284969a1eaed7985a91123a275a57090e12 (diff) | |
add dsl_device to track mac addresses, RT#13656
Diffstat (limited to 'httemplate/edit/process/dsl_device.html')
| -rw-r--r-- | httemplate/edit/process/dsl_device.html | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/httemplate/edit/process/dsl_device.html b/httemplate/edit/process/dsl_device.html new file mode 100644 index 000000000..4dd53d444 --- /dev/null +++ b/httemplate/edit/process/dsl_device.html @@ -0,0 +1,22 @@ +<% include( 'elements/process.html', + 'table' => 'dsl_device', + 'redirect' => sub { + my( $cgi, $dsl_device ) = @_; + popurl(3).'view/svc_dsl.cgi?'. + 'svcnum='. $dsl_device->svcnum. + ';devicenum='; + }, + ) +%> +<%init> + +if($cgi->param('sel_mac_addr') && !$cgi->param('mac_addr')) { + $cgi->param('mac_addr',$cgi->param('sel_mac_addr')); +} + +# :/ needs agent-virt so you can't futz with arbitrary devices + +die "access denied" + unless $FS::CurrentUser::CurrentUser->access_right('Provision customer service'); #something else more specific? + +</%init> |
