projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
for exports with per-service machine selection, make sure there is always a machine...
[freeside.git]
/
httemplate
/
edit
/
svc_phone.cgi
diff --git
a/httemplate/edit/svc_phone.cgi
b/httemplate/edit/svc_phone.cgi
index
9647b68
..
13bbe82
100644
(file)
--- a/
httemplate/edit/svc_phone.cgi
+++ b/
httemplate/edit/svc_phone.cgi
@@
-6,6
+6,11
@@
my( $cgi, $svc_x, $part_svc, $cust_pkg, $fields, $opt ) = @_;
$svc_x->locationnum($cust_pkg->locationnum) if $cust_pkg;
},
my( $cgi, $svc_x, $part_svc, $cust_pkg, $fields, $opt ) = @_;
$svc_x->locationnum($cust_pkg->locationnum) if $cust_pkg;
},
+ 'svc_edit_callback' => sub {
+ my( $cgi, $svc_x, $part_svc, $cust_pkg, $fields, $opt) = @_;
+ my $conf = new FS::Conf;
+ $svc_x->sip_password('*HIDDEN*') unless $conf->exists('showpasswords');
+ },
&>
<%init>
&>
<%init>
@@
-28,6
+33,11
@@
my $begin_callback = sub {
type => 'select-did',
label => 'Phone number',
multiple => $bulk,
type => 'select-did',
label => 'Phone number',
multiple => $bulk,
+ },
+ { field => 'sim_imsi',
+ type => 'text',
+ size => 15,
+ maxlength => 15,
};
push @$fields, { field => 'domsvc',
};
push @$fields, { field => 'domsvc',