X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fmisc%2Forder_pkg.html;h=2332f20281f208b6a766622d20bf45076a791b9d;hb=613464e6e7b634586bca9fabac145d2850b0f0f7;hp=b232debd7baa139c54b4e1ed1f634689655fdc6e;hpb=29472410e3b882a6a6b74fe48d28db411fe8fcff;p=freeside.git diff --git a/httemplate/misc/order_pkg.html b/httemplate/misc/order_pkg.html index b232debd7..2332f2028 100644 --- a/httemplate/misc/order_pkg.html +++ b/httemplate/misc/order_pkg.html @@ -1,113 +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.submitButton.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.submitButton.disabled = true; - document.OrderPkgForm.discountnum.disabled = true; - } - } - - - -<% include('/elements/error.html') %> +<& /elements/error.html &>