Option für Mindesthaltbarkeitsdatum in Mandantenkonfiguration verschoben.
[kivitendo-erp.git] / bin / mozilla / do.pl
index b58cd71..570c7c3 100644 (file)
@@ -1444,7 +1444,7 @@ sub transfer_out {
         my $pinfo = $part_info_map{$request->{parts_id}};
         my $binfo = $bin_info_map{$request->{bin_id}};
 
-        if ($::lx_office_conf{features}->{show_best_before}) {
+        if ($::instance_conf->get_show_bestbefore) {
             push @{ $form->{ERRORS} }, $locale->text("There is not enough available of '#1' at warehouse '#2', bin '#3', #4, #5, for the transfer of #6.",
                                                      $pinfo->{description},
                                                      $binfo->{warehouse_description},