X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Ftr-input-pkg-quantity.html;fp=httemplate%2Felements%2Ftr-input-pkg-quantity.html;h=7ade573990aef82009e0541d8edcf236606d44bd;hb=188ea70e3966bb70cf5b112428671473ed9f9580;hp=0000000000000000000000000000000000000000;hpb=5f25f76ab660040203be626ce62128af021d6185;p=freeside.git diff --git a/httemplate/elements/tr-input-pkg-quantity.html b/httemplate/elements/tr-input-pkg-quantity.html new file mode 100644 index 000000000..7ade57399 --- /dev/null +++ b/httemplate/elements/tr-input-pkg-quantity.html @@ -0,0 +1,15 @@ +% if ( FS::Conf->new->exists('invoice-unitprice') or $curr_value > 1 ) { + + <% mt('Quantity') |h %> + + + + + +% } else { + +% } +<%init> +my %opt = @_; +my $curr_value = $cgi->param('quantity') || $opt{'curr_value'} || 1; +