X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fedit%2Fsvc_phone.cgi;h=d48e6353b0912a7d856e9c0f74f21419dcb6146a;hb=d5fa12d1022afb592e80803971e90d18eac414e0;hp=9647b6887fc5fb86c32e30674a2d15dee7b436c0;hpb=fb4ab1073f0d15d660c6cdc4e07afebf68ef3924;p=freeside.git diff --git a/httemplate/edit/svc_phone.cgi b/httemplate/edit/svc_phone.cgi index 9647b6887..d48e6353b 100644 --- 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; }, + '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> @@ -28,6 +33,11 @@ my $begin_callback = sub { type => 'select-did', label => 'Phone number', multiple => $bulk, + }, + { field => 'sim_imsi', + type => 'text', + size => 15, + maxlength => 15, }; push @$fields, { field => 'domsvc', @@ -111,6 +121,25 @@ my $begin_callback = sub { ; } + if ( ! $bulk ) { + + push @$fields, + { + type => 'tablebreak-tr-title', + value => 'Carrier Information', + colspan => 8, + }, + { field => 'sms_carrierid', + label => 'SMS Carrier', + type => 'select-cdr_carrier', + }, + 'sms_account', + 'max_simultaneous', + ; + + } + }; +