X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fmisc%2Forder_pkg.html;h=2332f20281f208b6a766622d20bf45076a791b9d;hb=c5e31619e5a3071506cff19578e9e377753a96f4;hp=17c56055e09f3d3f638a4853fb1c9e4e74920304;hpb=e0a26680d75fc2000bde195eba7946805a3aaa28;p=freeside.git diff --git a/httemplate/misc/order_pkg.html b/httemplate/misc/order_pkg.html index 17c56055e..2332f2028 100644 --- a/httemplate/misc/order_pkg.html +++ b/httemplate/misc/order_pkg.html @@ -1,29 +1,13 @@ -<% 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 &>