From 04220e7ef18314883ad1cec05c552f13d8d5f7e4 Mon Sep 17 00:00:00 2001 From: Mark Wells Date: Wed, 19 Feb 2014 14:08:06 -0800 Subject: collapse display of location-changed packages, #25130 --- httemplate/view/cust_main/packages/section.html | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'httemplate/view/cust_main/packages/section.html') diff --git a/httemplate/view/cust_main/packages/section.html b/httemplate/view/cust_main/packages/section.html index 152ccaa5d..730bb2cf0 100755 --- a/httemplate/view/cust_main/packages/section.html +++ b/httemplate/view/cust_main/packages/section.html @@ -35,6 +35,25 @@ <& services.html, %iopt &> +% # insert hidden predecessors to this package, if any +% # and a rolldown button to show them +% # (we'll make it do something later) +% if ( $cust_pkg->get('changed_from_pkg') ) { + + + +% # the hidden block here has ID="cust_pkgX" where X is the first pkgnum +% # it contains. + <& hidden.html, $cust_pkg->get('changed_from_pkg'), + %iopt, + 'next_pkg' => $cust_pkg, + &> + + +% } % $row++; % # show the change target, if there is one % if ( $cust_pkg->change_to_pkg ) { -- cgit v1.2.1