projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c94e78b
)
scrub bogus start dates
author
ivan
<ivan>
Wed, 16 Mar 2011 07:41:02 +0000
(07:41 +0000)
committer
ivan
<ivan>
Wed, 16 Mar 2011 07:41:02 +0000
(07:41 +0000)
bin/b-move-customers
patch
|
blob
|
history
diff --git
a/bin/b-move-customers
b/bin/b-move-customers
index
c17046b
..
411846f
100755
(executable)
--- a/
bin/b-move-customers
+++ b/
bin/b-move-customers
@@
-256,6
+256,9
@@
while ( my $customerrow = $customer_sth->fetchrow_hashref ) {
'preinsert_callback' => sub {
my($row, $object) = @_;
+
+ $object->start_date(''); #bogus start dates on all packages
+
my $src_svcpart = $row->{'svcpart'} or die "wtf2";
my $dest_svcpart = $map{'part_svc'}->{$src_svcpart};
if ( $dest_svcpart ) {