summaryrefslogtreecommitdiff
path: root/httemplate/view/cust_main/packages/section.html
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2014-02-25 16:23:14 -0800
committerIvan Kohler <ivan@freeside.biz>2014-02-25 16:23:14 -0800
commit439d00a59c67a7d9d53b5d89c14ab332be16e38b (patch)
tree26ad1d7d93bc1249ac2034b328e32e5f39101dfe /httemplate/view/cust_main/packages/section.html
parent0e0b58d3384aeaf24634319ceeb10a51ef3c26eb (diff)
parentcf69a36faa57cdb544948c905059cf1e1ac73e07 (diff)
Merge branch 'master' of git.freeside.biz:/home/git/freeside
Diffstat (limited to 'httemplate/view/cust_main/packages/section.html')
-rwxr-xr-xhttemplate/view/cust_main/packages/section.html19
1 files changed, 19 insertions, 0 deletions
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 @@
</TD>
<& services.html, %iopt &>
</TR>
+% # 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') ) {
+ <TR CLASS="row<% $row % 2 %>">
+ <TD COLSPAN=4>
+ <BUTTON CLASS="rolldown_button"
+ ID="rolldown_<% $cust_pkg->change_pkgnum %>">
+ History &#x2b07;
+ </BUTTON>
+% # 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,
+ &>
+ </TD>
+ </TR>
+% }
% $row++;
% # show the change target, if there is one
% if ( $cust_pkg->change_to_pkg ) {