Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 4d45be84

Von Tamino Steinert vor 9 Monaten hinzugefügt

  • ID 4d45be848f4418fa2518f62c111d1f0b164c5eb6
  • Vorgänger e4982f5b
  • Nachfolger 5f8fd730

Varianten: Sortieren der Variantentabelle ermöglicht

Unterschiede anzeigen:

SL/DB/Part.pm
339 339
  shift->buchungsgruppen(@_);
340 340
}
341 341

  
342
sub get_variant_property_value_by_unique_name {
343
  my ($self, $variant_property_unique_name) = @_;
344

  
345
  my %unique_name_to_variant_property_value =
346
    map { $_->variant_property->unique_name => $_ }
347
    $self->variant_property_values;
348

  
349
  my $variant_property_value = $unique_name_to_variant_property_value{$variant_property_unique_name}
350
    or confess "Part is not associated with a matching SL::DB::VariantPropertyValue";
351
  return $variant_property_value;
352
}
353

  
342 354
sub get_taxkey {
343 355
  my ($self, %params) = @_;
344 356

  

Auch abrufbar als: Unified diff