diff options
Diffstat (limited to 'httemplate/view/cust_main/packages/contact.html')
| -rw-r--r-- | httemplate/view/cust_main/packages/contact.html | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/httemplate/view/cust_main/packages/contact.html b/httemplate/view/cust_main/packages/contact.html index 93129915f..4e0551b31 100644 --- a/httemplate/view/cust_main/packages/contact.html +++ b/httemplate/view/cust_main/packages/contact.html @@ -3,6 +3,7 @@ % if ( $show_link ) { <FONT SIZE=-1> ( <%pkg_change_contact_link($cust_pkg)%> ) + ( <%pkg_detach_link($cust_pkg)%> ) </FONT> % } % } elsif ( $show_link ) { @@ -49,6 +50,19 @@ sub pkg_add_contact_link { ); } +sub pkg_detach_link { + my $cust_pkg = shift; + #my $pkgpart = $cust_pkg->pkgpart; + include( '/elements/popup_link-cust_pkg.html', + 'action' => $p. "misc/detach_pkg.html", + 'label' => emt('Detach'), + 'actionlabel' => emt('Detach'), + 'cust_pkg' => $cust_pkg, + 'width' => 616, + 'height' => 676, + ); +} + #sub edit_contact_link { # my $contactnum = shift; # include( '/elements/popup_link.html', |
