From: Werner Hahn Date: Mon, 25 Sep 2017 10:33:41 +0000 (+0200) Subject: WebshopApi: RecordsLinks auch für/bei ShopOrders anzeigen X-Git-Tag: release-3.5.4~774 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=6a13cdd529d54a34b5ab0b9da41019cb9636c75f;p=kivitendo-erp.git WebshopApi: RecordsLinks auch für/bei ShopOrders anzeigen --- diff --git a/SL/Controller/RecordLinks.pm b/SL/Controller/RecordLinks.pm index b477ba22e..660909b04 100644 --- a/SL/Controller/RecordLinks.pm +++ b/SL/Controller/RecordLinks.pm @@ -122,7 +122,7 @@ sub action_ajax_add_list { my ($self) = @_; my $manager = 'SL::DB::Manager::' . $self->link_type_desc->{model}; - my $vc = $self->link_type =~ m/sales_|^invoice|requirement_spec|letter/ ? 'customer' : 'vendor'; + my $vc = $self->link_type =~ m/shop|sales_|^invoice|requirement_spec|letter/ ? 'customer' : 'vendor'; my $project = $self->link_type_desc->{project}; my $project_id = "${project}_id"; my $description = $self->link_type_desc->{description};