-sub edit_contact_link {
- my $contactnum = shift;
- include( '/elements/popup_link.html',
- 'action' => $p. "edit/cust_contact.cgi?contactnum=$contactnum",
- 'label' => emt('Edit contact'),
- 'actionlabel' => emt('Edit'),
+sub pkg_add_contact_link {
+ my $cust_pkg = shift;
+ #my $pkgpart = $cust_pkg->pkgpart;
+ include( '/elements/popup_link-cust_pkg.html',
+ 'action' => $p. "misc/change_pkg_contact.html",
+ 'label' => emt('Add contact'),
+ 'actionlabel' => emt('Change'),
+ 'cust_pkg' => $cust_pkg,