Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 2f5363d2

Von Moritz Bunkus vor mehr als 1 Jahr hinzugefügt

  • ID 2f5363d2ecaeb5233311cb014ebe02f4a61afcef
  • Vorgänger 9acf1f96
  • Nachfolger d68c96d8

Lieferbedingungen ungültig markieren können

Unterschiede anzeigen:

SL/DB/Manager/DeliveryTerm.pm
18 18
                      });
19 19
}
20 20

  
21
sub get_valid {
22
  my ($class, $with_this_id) = @_;
23

  
24
  my @conditions = (obsolete => 0);
25

  
26
  if ($with_this_id) {
27
    @conditions = (
28
      or => [
29
        id => $with_this_id,
30
        @conditions,
31
      ]);
32
  }
33

  
34
  return $class->get_all_sorted(query => \@conditions);
35
}
36

  
21 37
1;

Auch abrufbar als: Unified diff