X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fmisc%2Fchange_pkg.cgi;h=2ab9329a17ccd40daef36102d4a8dd39777d77e3;hb=5fdd19665fb7c0ad425a99d3dbf9ad7e27fbf44a;hp=8f0067d2d19254805a2c4c79bb54ab6d5da746a1;hpb=990ffbe494523af17f1a3551a020e306ad9f8d7a;p=freeside.git diff --git a/httemplate/misc/change_pkg.cgi b/httemplate/misc/change_pkg.cgi index 8f0067d2d..2ab9329a1 100755 --- a/httemplate/misc/change_pkg.cgi +++ b/httemplate/misc/change_pkg.cgi @@ -1,8 +1,8 @@ -<% include('/elements/header-popup.html', "Change Package") %> +<& /elements/header-popup.html, mt("Change Package") &> -<% include('/elements/error.html') %> +<& /elements/error.html &>
@@ -10,41 +10,37 @@ <% 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, 'callback' => 'document.OrderPkgForm.submit();', - ) -%> +&>
" onClick = "this.disabled=true; standardize_new_location();" <% scalar($cgi->param('pkgpart')) ? '' : 'DISABLED' %> >