summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2010-12-04 03:34:09 +0000
committerivan <ivan>2010-12-04 03:34:09 +0000
commitf105a0865d82f93544a4210a4307b39159eb57bb (patch)
tree6b5e1c3dc79026ed9a1f49eac06bd7a587457067
parentd2521e0bbe5f2ed8f4b800da75967c98abc7b797 (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,