From: ivan Date: Sat, 4 Dec 2010 03:34:10 +0000 (+0000) Subject: keep dates on package change, RT#10766 X-Git-Tag: freeside_2_1_2~229 X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=d559c300cf11ffe5c2a0a4325588dd3ca934c535;p=freeside.git keep dates on package change, RT#10766 --- diff --git a/httemplate/edit/process/change-cust_pkg.html b/httemplate/edit/process/change-cust_pkg.html index 7356e6122..dfae846a0 100644 --- a/httemplate/edit/process/change-cust_pkg.html +++ b/httemplate/edit/process/change-cust_pkg.html @@ -30,6 +30,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,