X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fmisc%2Forder_pkg.html;h=2332f20281f208b6a766622d20bf45076a791b9d;hb=613464e6e7b634586bca9fabac145d2850b0f0f7;hp=e05205ba7190d52d449f23ba022099a3786488f1;hpb=d6be23266fb627a4e7831055bf55ae675dbad4e9;p=freeside.git diff --git a/httemplate/misc/order_pkg.html b/httemplate/misc/order_pkg.html index e05205ba7..2332f2028 100644 --- a/httemplate/misc/order_pkg.html +++ b/httemplate/misc/order_pkg.html @@ -1,98 +1,134 @@ -<% include('/elements/header-popup.html', 'Order new package' ) %> +<& /elements/header-popup.html, mt('Order new package') &> - - function enable_order_pkg () { - if ( document.OrderPkgForm.pkgpart.selectedIndex > 0 ) { - document.OrderPkgForm.submit.disabled = false; - if ( document.OrderPkgForm.pkgpart.options[document.OrderPkgForm.pkgpart.selectedIndex].getAttribute('data-can_discount') == 1 ) { - document.OrderPkgForm.discountnum.disabled = false; - } else { - document.OrderPkgForm.discountnum.disabled = true; - } - } else { - document.OrderPkgForm.submit.disabled = true; - document.OrderPkgForm.discountnum.disabled = true; - } - } - - - -<% include('/elements/error.html') %> +<& /elements/error.html &>