finishing e911/svc_phone location, RT#7047
[freeside.git] / httemplate / edit / elements / svc_Common.html
index 1cb1659..36950b2 100644 (file)
                            };
                    }
 
+                   if ( $f->{'field'} eq 'custnum' && $pkgnum ) {
+                     my $cust_pkg = qsearchs('cust_pkg', {'pkgnum' => $pkgnum});
+                     $object->set('custnum', $cust_pkg->custnum);
+                   }
+
                  },
 
                  'html_init' => sub {