From: Sven Schöling Date: Mon, 23 Jan 2017 15:50:47 +0000 (+0100) Subject: IC: alte ic.pl edit links korrigiert X-Git-Tag: release-3.5.4~1628 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=46b1d1ce939180e1e5f603a7a0beab9b6b09f199;p=kivitendo-erp.git IC: alte ic.pl edit links korrigiert --- diff --git a/SL/Controller/DeliveryPlan.pm b/SL/Controller/DeliveryPlan.pm index bb4514d7a..06cfda935 100644 --- a/SL/Controller/DeliveryPlan.pm +++ b/SL/Controller/DeliveryPlan.pm @@ -414,7 +414,7 @@ sub link_to { } if ($object->isa('SL::DB::Part')) { my $id = $object->id; - return "ic.pl?action=$action&id=$id"; + return "controller.pl?action=Part/$action&part.id=$id"; } if ($object->isa('SL::DB::Customer')) { my $id = $object->id; diff --git a/SL/Controller/DeliveryValueReport.pm b/SL/Controller/DeliveryValueReport.pm index 05a1064fe..61d950d17 100644 --- a/SL/Controller/DeliveryValueReport.pm +++ b/SL/Controller/DeliveryValueReport.pm @@ -243,7 +243,7 @@ sub link_to { } if ($object->isa('SL::DB::Part')) { my $id = $object->id; - return "ic.pl?action=$action&id=$id"; + return "controller.pl?action=Part/$action&part.id=$id"; } if ($object->isa('SL::DB::Customer')) { my $id = $object->id; diff --git a/SL/Controller/Inventory.pm b/SL/Controller/Inventory.pm index 6a7dadc4f..3306aa19c 100644 --- a/SL/Controller/Inventory.pm +++ b/SL/Controller/Inventory.pm @@ -384,7 +384,6 @@ sub make_row_result { $row->{averconsumed}->{data} = $row->{consumed}->{data}*30/$days ; map { $row->{$_}->{data} = $form->format_amount($myconfig,$row->{$_}->{data},2); } $self->getnumcolumns(); $row->{partnumber}->{link} = 'controller.pl?action=Part/edit&part.id' . $partid; -# $row->{partdescription}->{link} = 'ic.pl?action=edit&id='.$partid; } sub action_stock {