X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/kivitendo-erp.git/blobdiff_plain/8e405005059d7957a627be4bd145b68fd945ac1d..b293ff8ad52fc76ba0c44783e3982418114d6b08:/SL/DB/CustomVariableConfig.pm diff --git a/SL/DB/CustomVariableConfig.pm b/SL/DB/CustomVariableConfig.pm index 973e3a836..6ba2238af 100644 --- a/SL/DB/CustomVariableConfig.pm +++ b/SL/DB/CustomVariableConfig.pm @@ -37,8 +37,8 @@ sub validate { use constant OPTION_DEFAULTS => { MAXLENGTH => 75, - WIDTH => 30, - HEIGHT => 5, + WIDTH => 225, + HEIGHT => 90, }; sub processed_options { @@ -75,7 +75,7 @@ sub processed_flags { } my $flags = $self->flags; - my $ret; + my $ret = {}; foreach my $flag (split m/:/, $flags) { if ( $flag =~ m/(.*?)=(.*)/ ) { @@ -111,14 +111,15 @@ sub value_col { return { bool => 'bool_value', timestamp => 'timestamp_value', + date => 'timestamp_value', number => 'number_value', integer => 'number_value', customer => 'number_value', vendor => 'number_value', part => 'number_value', + htmlfield => 'text_value', text => 'text_value', textfield => 'text_value', - date => 'text_value', select => 'text_value' }->{$type}; }