From 997a37e5bd6615beac096cdcdd95979976fed4be Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Mon, 20 Sep 2021 18:42:38 +0200 Subject: [PATCH] DeliveryOrder: type data is_customer --- SL/Controller/DeliveryOrder/TypeData.pm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/SL/Controller/DeliveryOrder/TypeData.pm b/SL/Controller/DeliveryOrder/TypeData.pm index e525f576a..d6828a1cf 100644 --- a/SL/Controller/DeliveryOrder/TypeData.pm +++ b/SL/Controller/DeliveryOrder/TypeData.pm @@ -43,6 +43,7 @@ my %type_data = ( properties => { customervendor => "customer", is_quotation => 0, + is_customer => 1, nr_key => "ordnumber", }, part_classification_query => [ "used_for_sale" => 1 ], @@ -72,6 +73,7 @@ my %type_data = ( properties => { customervendor => "vendor", is_quotation => 0, + is_customer => 0, nr_key => "ordnumber", }, part_classification_query => [ "used_for_purchase" => 1 ], @@ -101,6 +103,7 @@ my %type_data = ( properties => { customervendor => "customer", is_quotation => 1, + is_customer => 1, nr_key => "quonumber", }, part_classification_query => [ "used_for_sale" => 1 ], @@ -130,6 +133,7 @@ my %type_data = ( properties => { customervendor => "vendor", is_quotation => 1, + is_customer => 0, nr_key => "quonumber", }, part_classification_query => [ "used_for_purchase" => 1 ], @@ -153,6 +157,7 @@ my %type_data = ( }, properties => { customervendor => "customer", + is_customer => 1, nr_key => "donumber", }, part_classification_query => [ "used_for_sale" => 1 ], @@ -176,6 +181,7 @@ my %type_data = ( }, properties => { customervendor => "vendor", + is_customer => 0, nr_key => "donumber", }, part_classification_query => [ "used_for_purchase" => 1 ], -- 2.20.1