summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2010-12-04 03:34:10 +0000
committerivan <ivan>2010-12-04 03:34:10 +0000
commitd559c300cf11ffe5c2a0a4325588dd3ca934c535 (patch)
tree23f6b2133d26fd7d4821d4ebc76b7bb3da1114c9
parente494273fc4b517b5a8db6021c3225e25c539fe37 (diff)
keep dates on package change, RT#10766
-rw-r--r--httemplate/edit/process/change-cust_pkg.html2
1 files changed, 2 insertions, 0 deletions
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,