X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fmisc%2Fchange_pkg.cgi;h=2ab9329a17ccd40daef36102d4a8dd39777d77e3;hb=d0c5ddbd31af8b1747d447f31623e1af05961eb4;hp=16b7071214473b5c8f77a2135221c6fd50284d31;hpb=e3c3d86b7091d806af42e40475a28ea8afb5865c;p=freeside.git diff --git a/httemplate/misc/change_pkg.cgi b/httemplate/misc/change_pkg.cgi index 16b707121..2ab9329a1 100755 --- a/httemplate/misc/change_pkg.cgi +++ b/httemplate/misc/change_pkg.cgi @@ -1,38 +1,49 @@ -<% include('/elements/header-popup.html', "Change Package") %> +<& /elements/header-popup.html, mt("Change Package") &> -<% include('/elements/error.html') %> + -
+<& /elements/error.html &> + + <% 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, - ) - %> + &> +<& /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' %> +>