From: Bernd Bleßmann Date: Fri, 18 Oct 2019 12:45:08 +0000 (+0200) Subject: Auftrags-Controller: Positions-Update: auch Artikelnummern updaten X-Git-Tag: release-3.5.6.1~449 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=8e413f64229523fe4e632e7bf9f54aed49321c53;p=kivitendo-erp.git Auftrags-Controller: Positions-Update: auch Artikelnummern updaten --- diff --git a/SL/Controller/Order.pm b/SL/Controller/Order.pm index c19c87f2c..1c4bce82a 100644 --- a/SL/Controller/Order.pm +++ b/SL/Controller/Order.pm @@ -1019,8 +1019,14 @@ sub action_update_row_from_master_data { $self->js ->run('kivi.Order.update_sellprice', $item_id, $item->sellprice_as_number) - ->val('.row_entry:has(#item_' . $item_id . ') [name = "order.orderitems[].description"]', $item->description) - ->val('.row_entry:has(#item_' . $item_id . ') [name = "order.orderitems[].longdescription"]', $item->longdescription); + ->html('.row_entry:has(#item_' . $item_id . ') [name = "partnumber"] a', $item->part->partnumber) + ->val ('.row_entry:has(#item_' . $item_id . ') [name = "order.orderitems[].description"]', $item->description) + ->val ('.row_entry:has(#item_' . $item_id . ') [name = "order.orderitems[].longdescription"]', $item->longdescription); + + if ($self->search_cvpartnumber) { + $self->get_item_cvpartnumber($item); + $self->js->html('.row_entry:has(#item_' . $item_id . ') [name = "cvpartnumber"]', $item->{cvpartnumber}); + } } $self->recalc();