Part Controller -part link in Verbrauchsbericht (?) aktualisiert
authorG. Richardson <information@kivitendo-premium.de>
Thu, 1 Dec 2016 14:30:41 +0000 (15:30 +0100)
committerG. Richardson <information@kivitendo-premium.de>
Thu, 1 Dec 2016 14:32:42 +0000 (15:32 +0100)
SL/Controller/Inventory.pm

index c56bb78..e416e80 100644 (file)
@@ -384,7 +384,7 @@ sub make_row_result {
        $row->{outcorrection}->{data} - $row->{incorrection}->{data};
   $row->{averconsumed}->{data} = $row->{consumed}->{data}*30/$days ;
   map { $row->{$_}->{data} = $form->format_amount($myconfig,$row->{$_}->{data},2); } $self->getnumcolumns();
-  $row->{partnumber}->{link} = 'ic.pl?action=edit&id='.$partid;
+  $row->{partnumber}->{link} = 'controller.pl?action=Part/edit&part.id' . $partid;
 #  $row->{partdescription}->{link} = 'ic.pl?action=edit&id='.$partid;
 }