summaryrefslogtreecommitdiff
path: root/httemplate/view
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2013-06-07 01:36:00 -0700
committerIvan Kohler <ivan@freeside.biz>2013-06-07 01:36:00 -0700
commit837b5d7c27ae2b6502d86146456f8a3cfb06f8c0 (patch)
tree4c880ee5e2c6c00c2cfe37b4a4fdfe6a83dffee1 /httemplate/view
parente695b4913b96dc0a9ff9ec7de96b64b4e33c9163 (diff)
add fields to svc_phone: SMS provider, SMS provider acct#, max simultaneous calls
Diffstat (limited to 'httemplate/view')
-rw-r--r--httemplate/view/svc_phone.cgi27
1 files changed, 19 insertions, 8 deletions
diff --git a/httemplate/view/svc_phone.cgi b/httemplate/view/svc_phone.cgi
index 408364aeb..ccd9ae7c7 100644
--- a/httemplate/view/svc_phone.cgi
+++ b/httemplate/view/svc_phone.cgi
@@ -31,15 +31,26 @@ if ( $conf->exists('showpasswords') ) {
push @fields, qw( pin phone_name forwarddst email );
+push @fields, { field => 'sms_carrierid',
+ #type=>'cdr_carrier',
+ value_callback => sub {
+ $_[0]->sms_carriername,
+ },
+ },
+ 'sms_account',
+ 'max_simultaneous',
+;
+
if ( $conf->exists('svc_phone-lnp') ) {
-push @fields, 'lnp_status',
- 'lnp_reject_reason',
- { field => 'portable', type => 'checkbox', },
- 'lrn',
- { field => 'lnp_desired_due_date', type => 'date', },
- { field => 'lnp_due_date', type => 'date', },
- 'lnp_other_provider',
- 'lnp_other_provider_account';
+ push @fields, 'lnp_status',
+ 'lnp_reject_reason',
+ { field => 'portable', type => 'checkbox', },
+ 'lrn',
+ { field => 'lnp_desired_due_date', type => 'date', },
+ { field => 'lnp_due_date', type => 'date', },
+ 'lnp_other_provider',
+ 'lnp_other_provider_account',
+ ;
}
my $html_foot = sub {