diff options
author | Ivan Kohler <ivan@freeside.biz> | 2014-01-09 15:29:50 -0800 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2014-01-09 15:29:50 -0800 |
commit | 87a59b1bdf236765177c27ab18390ef1317cc34c (patch) | |
tree | 00ea14723ad672b5aedeb2a9f11a1f840ef3f619 /httemplate/view | |
parent | 8a7eec7b683294a15aab0b2bf1710e10fa80b4c5 (diff) |
time/data/etc. unit pricing add-ons, RT#24392
Diffstat (limited to 'httemplate/view')
-rw-r--r-- | httemplate/view/cust_main/packages/package.html | 2 | ||||
-rw-r--r-- | httemplate/view/cust_main/packages/status.html | 18 |
2 files changed, 11 insertions, 9 deletions
diff --git a/httemplate/view/cust_main/packages/package.html b/httemplate/view/cust_main/packages/package.html index 7a1e9a5..06eb50d 100644 --- a/httemplate/view/cust_main/packages/package.html +++ b/httemplate/view/cust_main/packages/package.html @@ -11,7 +11,7 @@ <A NAME="cust_pkg<% $cust_pkg->pkgnum %>" ID ="cust_pkg<% $cust_pkg->pkgnum %>" ><% $curuser->option('show_pkgnum') ? $cust_pkg->pkgnum.': ' : '' %><B><% $part_pkg->pkg |h %></B></A> -% my $custom_comment = $part_pkg->custom_comment(); +% my $custom_comment = $part_pkg->custom_comment('cust_pkg'=>$cust_pkg); <% $custom_comment ? ' - ' : '' %> <% $custom_comment |h %> </TD> diff --git a/httemplate/view/cust_main/packages/status.html b/httemplate/view/cust_main/packages/status.html index 70b623c..3ebdf22 100644 --- a/httemplate/view/cust_main/packages/status.html +++ b/httemplate/view/cust_main/packages/status.html @@ -416,14 +416,16 @@ sub pkg_status_row_changed { my $old = $cust_pkg->old_cust_pkg; if ( $old ) { my $part_pkg = $old->part_pkg; - $html .= pkg_status_row_colspan( $cust_pkg, - emt("Changed from [_1]: [_2]", - $cust_pkg->change_pkgnum, - $part_pkg->pkg_comment(nopartpkg => 1) ), - '', - 'size' => '-1', - 'align' => 'right', - ); + $html .= pkg_status_row_colspan( + $cust_pkg, + emt("Changed from [_1]: [_2]", + $cust_pkg->change_pkgnum, + $part_pkg->pkg_comment(cust_pkg=>$old, nopartpkg=>1) + ), + '', + 'size' => '-1', + 'align' => 'right', + ); } $html; |