projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6b9c37c
)
DeliveryOrder: type data is_customer
author
Sven Schöling
<s.schoeling@googlemail.com>
Mon, 20 Sep 2021 16:42:38 +0000
(18:42 +0200)
committer
Jan Büren
<jan@kivitendo.de>
Mon, 14 Feb 2022 13:52:11 +0000
(14:52 +0100)
SL/Controller/DeliveryOrder/TypeData.pm
patch
|
blob
|
history
diff --git
a/SL/Controller/DeliveryOrder/TypeData.pm
b/SL/Controller/DeliveryOrder/TypeData.pm
index
e525f57
..
d6828a1
100644
(file)
--- 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,
properties => {
customervendor => "customer",
is_quotation => 0,
+ is_customer => 1,
nr_key => "ordnumber",
},
part_classification_query => [ "used_for_sale" => 1 ],
nr_key => "ordnumber",
},
part_classification_query => [ "used_for_sale" => 1 ],
@@
-72,6
+73,7
@@
my %type_data = (
properties => {
customervendor => "vendor",
is_quotation => 0,
properties => {
customervendor => "vendor",
is_quotation => 0,
+ is_customer => 0,
nr_key => "ordnumber",
},
part_classification_query => [ "used_for_purchase" => 1 ],
nr_key => "ordnumber",
},
part_classification_query => [ "used_for_purchase" => 1 ],
@@
-101,6
+103,7
@@
my %type_data = (
properties => {
customervendor => "customer",
is_quotation => 1,
properties => {
customervendor => "customer",
is_quotation => 1,
+ is_customer => 1,
nr_key => "quonumber",
},
part_classification_query => [ "used_for_sale" => 1 ],
nr_key => "quonumber",
},
part_classification_query => [ "used_for_sale" => 1 ],
@@
-130,6
+133,7
@@
my %type_data = (
properties => {
customervendor => "vendor",
is_quotation => 1,
properties => {
customervendor => "vendor",
is_quotation => 1,
+ is_customer => 0,
nr_key => "quonumber",
},
part_classification_query => [ "used_for_purchase" => 1 ],
nr_key => "quonumber",
},
part_classification_query => [ "used_for_purchase" => 1 ],
@@
-153,6
+157,7
@@
my %type_data = (
},
properties => {
customervendor => "customer",
},
properties => {
customervendor => "customer",
+ is_customer => 1,
nr_key => "donumber",
},
part_classification_query => [ "used_for_sale" => 1 ],
nr_key => "donumber",
},
part_classification_query => [ "used_for_sale" => 1 ],
@@
-176,6
+181,7
@@
my %type_data = (
},
properties => {
customervendor => "vendor",
},
properties => {
customervendor => "vendor",
+ is_customer => 0,
nr_key => "donumber",
},
part_classification_query => [ "used_for_purchase" => 1 ],
nr_key => "donumber",
},
part_classification_query => [ "used_for_purchase" => 1 ],