X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/5aaa3c621371557ed9fde80ef6a07e2b7959c0cb..4b31e6ba4211c900648d92af80ae8d09041977ad:/SL/InstanceConfiguration.pm diff --git a/SL/InstanceConfiguration.pm b/SL/InstanceConfiguration.pm index 47cdd0e19..4629e9423 100644 --- a/SL/InstanceConfiguration.pm +++ b/SL/InstanceConfiguration.pm @@ -49,6 +49,11 @@ sub get_profit_determination { return $self->{data}->{profit_determination}; } +sub get_show_bestbefore { + my ($self) = @_; + return $self->{data}->{show_bestbefore}; +} + 1; __END__ @@ -64,7 +69,7 @@ SL::InstanceConfiguration - Provide instance-specific configuration data =head1 SYNOPSIS Lx-Office has two configuration levels: installation specific -(provided by the global variable C<%::lxoffice_conf>) and instance +(provided by the global variable C<%::lx_office_conf>) and instance specific. The latter is provided by a global instance of this class, C<$::instance_conf>. @@ -101,6 +106,10 @@ Returns the default inventory system, perpetual or periodic Returns the default profit determination method, balance or income +=item C + +Returns the default behavior for showing best before date, true or false + =back =head1 BUGS