X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=httemplate%2Felements%2Ftr-select-cust-part_pkg.html;h=696baff9ff3bb04e64447d692b5e033105e1d02a;hb=ac127e9cc71ed1cfebb159095dd59b3507e54e98;hp=8431beb4e36ab83ec74819b7c1bba7ecec67509b;hpb=6db14d0fe65daec3d136edaa33a32a1fb24ba06a;p=freeside.git diff --git a/httemplate/elements/tr-select-cust-part_pkg.html b/httemplate/elements/tr-select-cust-part_pkg.html index 8431beb4e..696baff9f 100644 --- a/httemplate/elements/tr-select-cust-part_pkg.html +++ b/httemplate/elements/tr-select-cust-part_pkg.html @@ -1,5 +1,3 @@ -%if ( scalar(@pkg_class) > 1 && ! $conf->exists('disable-cust-pkg_class') ) { - <& /elements/xmlhttp.html, 'url' => $p.'misc/cust-part_pkg.cgi', 'subs' => [ 'get_part_pkg' ], @@ -28,7 +26,7 @@ discountnum.disabled = true; //disable discount dropdown } - classnum = what.options[what.selectedIndex].value; + classnum = what.value; function update_part_pkg(part_pkg) { @@ -70,6 +68,7 @@ +% if ( scalar(@pkg_class) > 1 && ! $conf->exists('disable-cust-pkg_class') ) { <% mt('Package Class') |h %> @@ -81,7 +80,9 @@ -%} +% } else { # so that the rest of the page works correctly + +% } <% mt('Package') |h %>