X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/50c2f2285ce7fc70626afdce52a25172761d0ab7..82c4717d48bbdb8d30c9671e71ecb0d6d8eac963:/SL/InstanceConfiguration.pm diff --git a/SL/InstanceConfiguration.pm b/SL/InstanceConfiguration.pm index 65b7b7a3d..59d4035a4 100644 --- a/SL/InstanceConfiguration.pm +++ b/SL/InstanceConfiguration.pm @@ -124,6 +124,36 @@ sub get_ap_show_mark_as_paid { return $self->{data}->{ap_show_mark_as_paid}; } +sub get_sales_order_show_delete { + my ($self) = @_; + return $self->{data}->{sales_order_show_delete}; +} + +sub get_purchase_order_show_delete { + my ($self) = @_; + return $self->{data}->{purchase_order_show_delete}; +} + +sub get_sales_delivery_order_show_delete { + my ($self) = @_; + return $self->{data}->{sales_delivery_order_show_delete}; +} + +sub get_purchase_delivery_order_show_delete { + my ($self) = @_; + return $self->{data}->{purchase_delivery_order_show_delete}; +} + +sub get_default_warehouse_id { + my ($self) = @_; + return ($self->{data}->{warehouse_id}); +} + +sub get_default_bin_id { + my ($self) = @_; + return ($self->{data}->{bin_id}); +} + 1; __END__ @@ -138,7 +168,7 @@ SL::InstanceConfiguration - Provide instance-specific configuration data =head1 SYNOPSIS -Lx-Office has two configuration levels: installation specific +kivitendo has two configuration levels: installation specific (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>. @@ -225,6 +255,25 @@ Returns the default behavior for showing best before date, true or false Returns the default behavior for showing the mark as paid button for the corresponding record type (true or false). +=item C + +=item C + +=item C + +=item C + +Returns the default behavior for showing the delete button for the +corresponding record type (true or false). + +=item C + +Returns the default warehouse_id + +=item C + +Returns the default bin_id + =back =head1 BUGS