diff options
author | ivan <ivan> | 2008-03-29 08:15:45 +0000 |
---|---|---|
committer | ivan <ivan> | 2008-03-29 08:15:45 +0000 |
commit | 3f23bdfaef8eb6bb092b72ea741b63e243f8ab19 (patch) | |
tree | 38afeaebc98c09ae571c3ed4193d7a97cb54dac0 /httemplate/misc/order_pkg.html | |
parent | ca292755ee3fc2027707b046352414e06ad45584 (diff) |
okay. and thank goodness its on 1.9. really fix error reporting on quick package order this time. have to change cust cancel popup slightly too, but its for the better (easier custnum parsing). and lastly make it easier for reason selection to be reused without stickiness-on-errors being a big pain in the ass
Diffstat (limited to 'httemplate/misc/order_pkg.html')
-rw-r--r-- | httemplate/misc/order_pkg.html | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/httemplate/misc/order_pkg.html b/httemplate/misc/order_pkg.html index 05cd99cc5..f4f297140 100644 --- a/httemplate/misc/order_pkg.html +++ b/httemplate/misc/order_pkg.html @@ -10,6 +10,8 @@ function enable_order_pkg () { } </SCRIPT> +<% include('/elements/error.html') %> + <FORM NAME="OrderPkgForm" ACTION="<% $p %>edit/process/quick-cust_pkg.cgi" METHOD="POST"> <INPUT TYPE="hidden" NAME="custnum" VALUE="<% $cust_main->custnum %>"> @@ -19,8 +21,9 @@ function enable_order_pkg () { <TH ALIGN="right">Package</TH> <TD> <% include('/elements/select-cust-part_pkg.html', - 'cust_main' => $cust_main, - 'onchange' => 'enable_order_pkg', + 'curr_value' => scalar( $cgi->param('pkgpart') ), + 'cust_main' => $cust_main, + 'onchange' => 'enable_order_pkg', ) %> </TD> @@ -50,8 +53,7 @@ die "access denied" my $conf = new FS::Conf; -my($query) = $cgi->keywords; -$query =~ /^(\d+)$/; +$cgi->param('custnum') =~ /^(\d+)$/; my $custnum = $1; my $cust_main = qsearchs({ 'table' => 'cust_main', |