[freeside-commits] freeside/httemplate/edit/process part_device.html, NONE, 1.1 phone_device.html, NONE, 1.1

Ivan,,, ivan at wavetail.420.am
Mon Jun 29 18:42:57 PDT 2009


Update of /home/cvs/cvsroot/freeside/httemplate/edit/process
In directory wavetail.420.am:/tmp/cvs-serv27146/httemplate/edit/process

Added Files:
	part_device.html phone_device.html 
Log Message:
phone devices (for netsapiens integration), RT#5226

--- NEW FILE: phone_device.html ---
<% include( 'elements/process.html',
               'table'    => 'phone_device',
               'redirect' => sub {
                 my( $cgi, $phone_device ) = @_;
                 popurl(3).'view/svc_phone.cgi?'.
                   'svcnum='. $phone_device->svcnum.
                   ';devicenum=';
               },
           )
%>
<%init>

# :/  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>

--- NEW FILE: part_device.html ---
<% include( 'elements/process.html',
               'table'       => 'part_device',
               'viewall_dir' => 'browse',
           )
%>
<%init>

die "access denied"
  unless $FS::CurrentUser::CurrentUser->access_right('Configuration');

</%init>



More information about the freeside-commits mailing list