X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FDB%2FCustomVariableConfig.pm;h=6ba2238af9af37de28101792a8f066663dd00c6f;hb=bfa674c9d4edc551afa6e27aac6f684a7b8cb656;hp=973e3a836be474e23749ce3a26c479e9e5634df5;hpb=8e405005059d7957a627be4bd145b68fd945ac1d;p=kivitendo-erp.git 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}; }