diff options
author | ivan <ivan> | 2010-01-25 22:17:14 +0000 |
---|---|---|
committer | ivan <ivan> | 2010-01-25 22:17:14 +0000 |
commit | 9ad4f8407cc106ef5815e65bce2ee873cd0896c2 (patch) | |
tree | d4b8c2ab3df5369cb3aa5b64dc8774ec71c7933c /httemplate/edit/elements/svc_Common.html | |
parent | 667cee1c0b352573f80663eae5be2de8ad8a93de (diff) |
linking DIDs and users to PBXes, RT#7051
Diffstat (limited to 'httemplate/edit/elements/svc_Common.html')
-rw-r--r-- | httemplate/edit/elements/svc_Common.html | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/httemplate/edit/elements/svc_Common.html b/httemplate/edit/elements/svc_Common.html index ef04bd04a..31d4739bf 100644 --- a/httemplate/edit/elements/svc_Common.html +++ b/httemplate/edit/elements/svc_Common.html @@ -54,6 +54,7 @@ 'field_callback' => sub { my ($cgi, $object, $f) = @_; + my $columndef = $part_svc->part_svc_column($f->{'field'}); my $flag = $columndef->columnflag; if ( $flag eq 'F' ) { @@ -62,6 +63,15 @@ : 'hidden'; $f->{'value'} = $columndef->columnvalue; } + + if ( $f->{'type'} eq 'select-svc_pbx' ) { + $f->{'include_opt_callback'} = + sub { ( 'pkgnum' => $pkgnum, + 'svcpart' => $svcpart, + ); + }; + } + }, 'html_init' => sub { |