X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fcust_main%2Fpackages%2Fstatus.html;h=2707803efc98d9b58a63c90098f642b4fdc78370;hb=0fb307c305e4bc2c9c27dc25a3308beae3a4d33c;hp=74e52efdd8e98ba7a972de0019c57d0d6cfb32d3;hpb=29472410e3b882a6a6b74fe48d28db411fe8fcff;p=freeside.git diff --git a/httemplate/view/cust_main/packages/status.html b/httemplate/view/cust_main/packages/status.html index 74e52efdd..2707803ef 100644 --- a/httemplate/view/cust_main/packages/status.html +++ b/httemplate/view/cust_main/packages/status.html @@ -3,6 +3,10 @@ %#this should use cust_pkg->status and cust_pkg->statuscolor eventually +% if ( $cust_pkg->order_date ) { + <% pkg_status_row($cust_pkg, 'Ordered', 'order_date', %opt ) %> +% } + % if ( $cust_pkg->get('cancel') ) { #status: cancelled % my $cpr = $cust_pkg->last_cust_pkg_reason('cancel'); @@ -54,7 +58,9 @@ <% pkg_status_row_changed( $cust_pkg, %opt, 'colspan'=>$colspan ) %> <% pkg_status_row_if( $cust_pkg, $last_bill_or_renewed, 'last_bill', %opt, curuser=>$curuser ) %> -% # pkg_status_row($cust_pkg, 'Next bill', 'bill', %opt) +% if ( $part_pkg->option('suspend_bill', 1) ) { + <% pkg_status_row_if( $cust_pkg, 'Next bill', 'bill', %opt, curuser=>$curuser ) %> +% } <% pkg_status_row_if( $cust_pkg, 'Expires', 'expire', %opt, curuser=>$curuser ) %> <% pkg_status_row_if( $cust_pkg, 'Contract ends', 'contract_end', %opt ) %>