X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FController%2FPart.pm;h=d5a7f2a5f139464f4aaffedaf19e147d7f6b2e76;hb=ab3f3ed87a12c70d9538b1a07fc0e4659dc43d28;hp=e64a774a76f0fb9c56a69f903e0fef13223a7e64;hpb=766f5705ecb9cd56adfbffd94c871959bb64c6fd;p=kivitendo-erp.git diff --git a/SL/Controller/Part.pm b/SL/Controller/Part.pm index e64a774a7..d5a7f2a5f 100644 --- a/SL/Controller/Part.pm +++ b/SL/Controller/Part.pm @@ -52,6 +52,7 @@ sub action_ajax_autocomplete { description => $_->description, type => $_->type, unit => $_->unit, + cvars => { map { ($_->config->name => { value => $_->value_as_text, is_valid => $_->is_valid }) } @{ $_->cvars_by_config } }, } } @{ $self->parts }; # neato: if exact match triggers we don't even need the init_parts