X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fmisc%2Fchange_pkg.cgi;h=7b08f7b108680bc563e3ea9576d8b54cd49aceae;hb=468c9e660eb0edb2033f0f8dbb4458f20280082c;hp=ec10b85cfe247974dd5f2165ac4ebbcf1a0eb728;hpb=eec4949e2c8f09a0b89331437186b77c4db6ff38;p=freeside.git diff --git a/httemplate/misc/change_pkg.cgi b/httemplate/misc/change_pkg.cgi index ec10b85cf..7b08f7b10 100755 --- a/httemplate/misc/change_pkg.cgi +++ b/httemplate/misc/change_pkg.cgi @@ -1,6 +1,8 @@ -<% include('/elements/header-popup.html', "Change Package") %> +<& /elements/header-popup.html, mt("Change Package") &> -<% include('/elements/error.html') %> + + +<& /elements/error.html &>
@@ -8,39 +10,41 @@ <% ntable('#cccccc') %> - Current package + <% mt('Current package') |h %> <% $curuser->option('show_pkgnum') ? $cust_pkg->pkgnum.': ' : '' %><% $part_pkg->pkg |h %> - <% $part_pkg->comment |h %> - <% include('/elements/tr-select-cust-part_pkg.html', - 'pre_label' => 'New', + <& /elements/tr-select-cust-part_pkg.html, + 'pre_label' => emt('New'), 'curr_value' => scalar($cgi->param('pkgpart')), 'classnum' => $part_pkg->classnum, 'cust_main' => $cust_main, - #'extra_sql' => ' AND pkgpart != '. $cust_pkg->pkgpart, - ) - %> + &> - <% include('/elements/tr-select-cust_location.html', + <& /elements/tr-select-cust_location.html, 'cgi' => $cgi, 'cust_main' => $cust_main, - ) - %> + &> -<% include( '/elements/standardize_locations.html', +<& /elements/standardize_locations.html, 'form' => "OrderPkgForm", 'onlyship' => 1, 'no_company' => 1, + 'no_census' => 1, 'callback' => 'document.OrderPkgForm.submit();', - ) -%> +&>
- +" + onClick = "this.disabled=true; standardize_new_location();" + <% scalar($cgi->param('pkgpart')) ? '' : 'DISABLED' %> +>