stray closing /TABLE in the no-ticket case
[freeside.git] / httemplate / elements / tr-input-pkg-quantity.html
1 % if ( FS::Conf->new->exists('invoice-unitprice') or $curr_value > 1 ) {
2   <TR>
3     <TH ALIGN="right"><% mt('Quantity') |h %>
4     </TH>
5     <TD>
6       <INPUT TYPE="text" NAME="quantity" SIZE=4 VALUE="<% $curr_value |h %>">
7     </TD>
8   </TR>
9 % } else {
10   <INPUT TYPE="hidden" NAME="quantity" VALUE="1">
11 % }
12 <%init>
13 my %opt = @_;
14 my $curr_value = $cgi->param('quantity') || $opt{'curr_value'} || 1;
15 </%init>