diff options
author | levinse <levinse> | 2010-12-28 18:34:39 +0000 |
---|---|---|
committer | levinse <levinse> | 2010-12-28 18:34:39 +0000 |
commit | 38532144b08af1ae9e577c32ad1924e7c891b8c6 (patch) | |
tree | b11ad872d606bb828c02f20720c9dff13813e8cf /httemplate | |
parent | 1058f6e338399f9b22a5f294ef17b14403ca0848 (diff) |
add cust_pkg.order_date, RT6628
Diffstat (limited to 'httemplate')
-rwxr-xr-x | httemplate/edit/REAL_cust_pkg.cgi | 1 | ||||
-rw-r--r-- | httemplate/view/cust_main/packages/status.html | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/httemplate/edit/REAL_cust_pkg.cgi b/httemplate/edit/REAL_cust_pkg.cgi index ba217ebca..859baa1b1 100755 --- a/httemplate/edit/REAL_cust_pkg.cgi +++ b/httemplate/edit/REAL_cust_pkg.cgi @@ -46,6 +46,7 @@ <TD BGCOLOR="#ffffff"><% $cust_pkg->otaker %></TD> </TR> + <& .row_display, cust_pkg=>$cust_pkg, column=>'order_date', label=>'Order' &> % if ( $cust_pkg->setup && ! $cust_pkg->start_date ) { <& .row_display, cust_pkg=>$cust_pkg, column=>'start_date', label=>'Start' &> % } else { diff --git a/httemplate/view/cust_main/packages/status.html b/httemplate/view/cust_main/packages/status.html index f9198c2dc..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'); |