X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fcust_main%2Fpackages%2Fhidden.html;h=9efe3fc713e1cae88d71d50fb509cc0b41a59d82;hb=8dd41f364aaba88969dfd0908feb22709025e7f6;hp=e3bd0fabf8b1e1ee1d2a25f4a5bb6b952f0e2a1d;hpb=04220e7ef18314883ad1cec05c552f13d8d5f7e4;p=freeside.git
diff --git a/httemplate/view/cust_main/packages/hidden.html b/httemplate/view/cust_main/packages/hidden.html
index e3bd0fabf..9efe3fc71 100644
--- a/httemplate/view/cust_main/packages/hidden.html
+++ b/httemplate/view/cust_main/packages/hidden.html
@@ -9,22 +9,28 @@
% if ( $pkgpart_change and $location_change ) {
- Package type and location change
+ <% emt('Package type and location change') %>
% } elsif ( $pkgpart_change ) {
- Package type change
+ <% emt('Package type change') %>
% } elsif ( $location_change ) {
- Location change
-% } # or else what?
+ <% emt('Location change') %>
+% } else { # in case the package was somehow replaced with itself
+ <% emt('Other package change') %>
+% }
<% time2str('%b %o, %Y', $cust_pkg->get('cancel')) %>
|
% if ( $pkgpart_change ) {
- from <% $part_pkg->pkg |h %> - <% $part_pkg->custom_comment |h %>
+ <% emt('from') %> <% $popup_link |n %><% $part_pkg->pkg |h %> - <% $part_pkg->custom_comment |h %>
% }
% if ( $pkgpart_change and $location_change ) {
% }
% if ( $location_change ) {
- from <% $cust_pkg->location_label %>
+ <% emt('from') %> <% $popup_link |n %><% $cust_pkg->location_label %>
+% }
+% if ( !$pkgpart_change and !$location_change ) {
+% # have to show _something_
+ <% $popup_link |n %><% emt('Details') %>
% }
|
@@ -52,4 +58,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();
+
%init>