diff options
author | ivan <ivan> | 2010-03-12 21:29:04 +0000 |
---|---|---|
committer | ivan <ivan> | 2010-03-12 21:29:04 +0000 |
commit | f433b4f187e484e8c40bdcebbeb5a5d51b3ae38e (patch) | |
tree | 6597ace03fadaa451eaceca9c986e40ebfe6bcc8 /httemplate/edit/elements | |
parent | 02348fb69ac302f117ca8b510b68871eff25d4c6 (diff) |
finishing e911/svc_phone location, RT#7047
Diffstat (limited to 'httemplate/edit/elements')
-rw-r--r-- | httemplate/edit/elements/svc_Common.html | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/httemplate/edit/elements/svc_Common.html b/httemplate/edit/elements/svc_Common.html index 1cb1659f4..36950b2c9 100644 --- a/httemplate/edit/elements/svc_Common.html +++ b/httemplate/edit/elements/svc_Common.html @@ -101,6 +101,11 @@ }; } + if ( $f->{'field'} eq 'custnum' && $pkgnum ) { + my $cust_pkg = qsearchs('cust_pkg', {'pkgnum' => $pkgnum}); + $object->set('custnum', $cust_pkg->custnum); + } + }, 'html_init' => sub { |