X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fedit%2Fprocess%2Fchange-cust_pkg.html;h=2770f3283cf4ce1dddb27e0ba99e838c2bcd6fda;hb=36bb53a4a79512e7e24321873ddbbff525d629fb;hp=7356e6122d3b7a7d4f08a521bd07fd8d01d4bca8;hpb=624b2d44625f69d71175c3348cae635d580c890b;p=freeside.git diff --git a/httemplate/edit/process/change-cust_pkg.html b/httemplate/edit/process/change-cust_pkg.html index 7356e6122..2770f3283 100644 --- a/httemplate/edit/process/change-cust_pkg.html +++ b/httemplate/edit/process/change-cust_pkg.html @@ -3,7 +3,7 @@ % $cgi->redirect(popurl(3). 'misc/change_pkg.cgi?'. $cgi->query_string ); % } else { - <% header("Package changed") %> + <% header(emt("Package changed")) %> @@ -19,7 +19,6 @@ die "access denied" unless $curuser->access_right('Change customer package'); my $cust_pkg = qsearchs({ - #'select' => 'cust_pkg.*', 'table' => 'cust_pkg', 'addl_from' => 'LEFT JOIN cust_main USING ( custnum )', 'hashref' => { 'pkgnum' => scalar($cgi->param('pkgnum')), }, @@ -30,6 +29,8 @@ die 'unknown pkgnum' unless $cust_pkg; my %change = map { $_ => scalar($cgi->param($_)) } qw( locationnum pkgpart ); +$change{'keep_dates'} = 1; + if ( $cgi->param('locationnum') == -1 ) { my $cust_location = new FS::cust_location { 'custnum' => $cust_pkg->custnum,