From: Sven Schöling Date: Mon, 20 Sep 2021 16:42:38 +0000 (+0200) Subject: DeliveryOrder: type data is_customer X-Git-Tag: kivitendo-mebil_0.1-0~10^2~2^2~216^2~84 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=997a37e5bd6615beac096cdcdd95979976fed4be;p=kivitendo-erp.git DeliveryOrder: type data is_customer --- 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 ],