Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 6571181b

Von Tamino Steinert vor etwa 1 Jahr hinzugefügt

  • ID 6571181bcde7ff0b7c9262fedede185e1f473d6e
  • Vorgänger 16b51ad1
  • Nachfolger 86650875

Varianten: Varianten Eigenschaften zum Stammartikel hinzufügen

Unterschiede anzeigen:

SL/DB/Part.pm
$self->variant_property_values) . "]";
}
sub variant_value {
my ($self, $variant_property) = @_;
my %property_id_to_values =
map {$_->variant_property_id => $_}
@{$self->variant_property_values};
my $property_value = $property_id_to_values{$variant_property->id};
return $property_value && $property_value->displayable_name();
}
sub init_onhandqty {
my ($self) = @_;
my $qty = SL::Helper::Inventory::get_onhand(part => $self->id) || 0;

Auch abrufbar als: Unified diff