X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FIS.pm;h=e9bd54d4793d9d73d68016347525e3617649168e;hb=d86c9e0ef9579462801d72442a1ce29b6980bdc4;hp=e1eb4438b7eb8eba93c3896511fc1f4362b916a5;hpb=62f2141002f5b8c11fa9d881473fd3bc469b4eef;p=kivitendo-erp.git diff --git a/SL/IS.pm b/SL/IS.pm index e1eb4438b..e9bd54d47 100644 --- a/SL/IS.pm +++ b/SL/IS.pm @@ -2435,16 +2435,6 @@ sub retrieve_item { last; } } - ## customer_id ggf beim ersten mal noch nicht gesetzt nur customer -- - ($form->{customer}, $form->{customer_id}) = split(/--/, $form->{customer}) if ! $form->{customer_id}; - if ( $form->{customer_id} ) { - my $cprice = SL::DB::Manager::PartCustomerPrice->get_first( - query => [ parts_id => $ref->{id} , customer_id => $form->{customer_id} ] ); - if ( $cprice ) { - $::lxdebug->message(LXDebug->DEBUG2(), "cprice id=".$cprice->{id}." price=".$cprice->{price}); - $ref->{sellprice} = $cprice->{price}; - } - } $ref->{onhand} *= 1; push @{ $form->{item_list} }, $ref;