diff options
Diffstat (limited to 'httemplate/view/cust_main/packages/hidden.html')
-rw-r--r-- | httemplate/view/cust_main/packages/hidden.html | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/httemplate/view/cust_main/packages/hidden.html b/httemplate/view/cust_main/packages/hidden.html index e3bd0fabf..35eda8c46 100644 --- a/httemplate/view/cust_main/packages/hidden.html +++ b/httemplate/view/cust_main/packages/hidden.html @@ -18,13 +18,13 @@ <B><% time2str('%b %o, %Y', $cust_pkg->get('cancel')) %></B> </TD><TD> % if ( $pkgpart_change ) { - from <B><% $part_pkg->pkg |h %></B></A> - <% $part_pkg->custom_comment |h %> + from <% $popup_link |n %><B><% $part_pkg->pkg |h %></B> - <% $part_pkg->custom_comment |h %></A> % } % if ( $pkgpart_change and $location_change ) { <BR> % } % if ( $location_change ) { - from <I><% $cust_pkg->location_label %></I> + from <I><% $popup_link |n %><% $cust_pkg->location_label %></A></I> % } </TD> </TR> @@ -52,4 +52,14 @@ my $pkgpart_change = ($next->pkgpart != $cust_pkg->pkgpart); my $location_change = ($next->locationnum != $cust_pkg->locationnum); my $both_change = $pkgpart_change && $location_change; +my $onclick = + include('/elements/popup_link_onclick.html', + 'action' => $fsurl.'view/cust_pkg-popup.html?' . $cust_pkg->pkgnum, + 'actionlabel' => 'Package #'.$cust_pkg->pkgnum, + 'width' => '1000', + 'height' => '310', + 'color' => $cust_pkg->statuscolor, + ); +my $popup_link = qq(<A HREF="#" onclick="$onclick">); + </%init> |