projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
phone gets a pin
[freeside.git]
/
httemplate
/
edit
/
svc_phone.cgi
diff --git
a/httemplate/edit/svc_phone.cgi
b/httemplate/edit/svc_phone.cgi
index
ca62b64
..
958558b
100644
(file)
--- a/
httemplate/edit/svc_phone.cgi
+++ b/
httemplate/edit/svc_phone.cgi
@@
-1,7
+1,7
@@
<% include( 'elements/svc_Common.html',
'name' => 'Phone number',
'table' => 'svc_phone',
<% include( 'elements/svc_Common.html',
'name' => 'Phone number',
'table' => 'svc_phone',
- 'fields' => [qw( countrycode phonenum
)], #pin
+ 'fields' => [qw( countrycode phonenum
pin )],
'labels' => {
'countrycode' => 'Country code',
'phonenum' => 'Phone number',
'labels' => {
'countrycode' => 'Country code',
'phonenum' => 'Phone number',
@@
-9,3
+9,9
@@
},
)
%>
},
)
%>
+<%init>
+
+die "access denied"
+ unless $FS::CurrentUser::CurrentUser->access_right('Provision customer service'); #something else more specific?
+
+</%init>