summaryrefslogtreecommitdiff
path: root/httemplate/misc/order_pkg.html
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2013-08-09 13:36:43 -0700
committerMark Wells <mark@freeside.biz>2013-08-09 13:36:43 -0700
commit98ea745e4b55a38ad8b5ba3749c56327d641d65d (patch)
treee7a1f0a2c4e3bc6c77f111c67f7994a6b61b1714 /httemplate/misc/order_pkg.html
parent2a49a712c97e5b5a012a91ff4bc2c0518c2af6d6 (diff)
preserve quantity when changing package type/location, #24259
Diffstat (limited to 'httemplate/misc/order_pkg.html')
-rw-r--r--httemplate/misc/order_pkg.html11
1 files changed, 1 insertions, 10 deletions
diff --git a/httemplate/misc/order_pkg.html b/httemplate/misc/order_pkg.html
index a257e53e3..66c405ac1 100644
--- a/httemplate/misc/order_pkg.html
+++ b/httemplate/misc/order_pkg.html
@@ -37,16 +37,7 @@
&>
% }
-% if ( $conf->exists('invoice-unitprice') ) {
- <TR>
- <TH ALIGN="right"><% mt('Quantity') |h %> </TD>
- <TD>
- <INPUT TYPE="text" NAME="quantity" SIZE=4 VALUE="<% $quantity %>">
- </TD>
- </TR>
-% } else {
- <INPUT TYPE="hidden" NAME="quantity" VALUE="1">
-% }
+<& /elements/tr-input-pkg-quantity.html, curr_value => $quantity &>
<TR>
<TH ALIGN="right"><% mt('Start date') |h %> </TD>