Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision bb3e6ada

Von Moritz Bunkus vor fast 14 Jahren hinzugefügt

  • ID bb3e6ada9c9ecd6dec1be77f0c47fe20319ffb71
  • Vorgänger ad7247ec
  • Nachfolger bb800c52

Konfigurationsoption "show_best_before" ist in Abschnitt "features"

Unterschiede anzeigen:

SL/Form.pm
809 809
  $additional_params->{"conf_latex_templates"}        = $::lx_office_conf{print_templates}->{latex};
810 810
  $additional_params->{"conf_opendocument_templates"} = $::lx_office_conf{print_templates}->{opendocument};
811 811
  $additional_params->{"conf_vertreter"}              = $::lx_office_conf{system}->{vertreter};
812
  $additional_params->{"conf_show_best_before"}       = $::lx_office_conf{system}->{show_best_before};
812
  $additional_params->{"conf_show_best_before"}       = $::lx_office_conf{features}->{show_best_before};
813 813
  $additional_params->{"conf_parts_image_css"}        = $::lx_office_conf{features}->{parts_image_css};
814 814
  $additional_params->{"conf_parts_listing_images"}   = $::lx_office_conf{features}->{parts_listing_images};
815 815
  $additional_params->{"conf_parts_show_image"}       = $::lx_office_conf{features}->{parts_show_image};
bin/mozilla/do.pl
1361 1361
        my $pinfo = $part_info_map{$request->{parts_id}};
1362 1362
        my $binfo = $bin_info_map{$request->{bin_id}};
1363 1363

  
1364
        if ($::lx_office_conf{system}->{show_best_before}) {
1364
        if ($::lx_office_conf{features}->{show_best_before}) {
1365 1365
            push @{ $form->{ERRORS} }, $locale->text("There is not enough available of '#1' at warehouse '#2', bin '#3', #4, #5, for the transfer of #6.",
1366 1366
                                                     $pinfo->{description},
1367 1367
                                                     $binfo->{warehouse_description},
bin/mozilla/wh.pl
438 438
    $form->error($locale->text('The warehouse or the bin is missing.'));
439 439
  }
440 440

  
441
  if (!$::lx_office_conf{system}->{show_best_before}) {
441
  if (!$::lx_office_conf{features}->{show_best_before}) {
442 442
      $form->{bestbefore} = '';
443 443
  }
444 444

  

Auch abrufbar als: Unified diff