From 6a13cdd529d54a34b5ab0b9da41019cb9636c75f Mon Sep 17 00:00:00 2001 From: Werner Hahn Date: Mon, 25 Sep 2017 12:33:41 +0200 Subject: [PATCH] =?utf8?q?WebshopApi:=20RecordsLinks=20auch=20f=C3=BCr/bei?= =?utf8?q?=20ShopOrders=20anzeigen?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- SL/Controller/RecordLinks.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}; -- 2.20.1