Revision 80fa0349
Von Bernd Bleßmann vor mehr als 3 Jahren hinzugefügt
SL/BackgroundJob/ConvertTimeRecordings.pm | ||
---|---|---|
156 | 156 |
my %time_recordings_by_customer_id; |
157 | 157 |
push @{ $time_recordings_by_customer_id{$_->customer_id} }, $_ for @$time_recordings; |
158 | 158 |
|
159 |
my %convert_params = map { $_ => $self->params->{$_} } qw(rounding link_order project_id); |
|
160 |
$convert_params{default_part_id} = $self->params->{part_id}; |
|
159 |
my %convert_params = ( |
|
160 |
rounding => $self->params->{rounding}, |
|
161 |
default_part_id => $self->params->{part_id}, |
|
162 |
); |
|
161 | 163 |
|
162 | 164 |
my @donumbers; |
163 | 165 |
foreach my $customer_id (keys %time_recordings_by_customer_id) { |
... | ... | |
193 | 195 |
sub convert_with_linking { |
194 | 196 |
my ($self, $time_recordings_by_order_id, $orders_by_order_id) = @_; |
195 | 197 |
|
196 |
my %convert_params = map { $_ => $self->params->{$_} } qw(rounding link_order project_id); |
|
197 |
$convert_params{default_part_id} = $self->params->{part_id}; |
|
198 |
my %convert_params = ( |
|
199 |
rounding => $self->params->{rounding}, |
|
200 |
default_part_id => $self->params->{part_id}, |
|
201 |
); |
|
198 | 202 |
|
199 | 203 |
my @donumbers; |
200 | 204 |
foreach my $related_order_id (keys %$time_recordings_by_order_id) { |
Auch abrufbar als: Unified diff
Zeiterfassung: Konvertierung: nur benötigte Paramter an new_from_time_recordings