Revision d6887558
Von Bernd Bleßmann vor etwa 1 Jahr hinzugefügt
- ID d6887558fcfca4edfa82089b23b81248aedf5071
- Vorgänger f5ea450e
SL/Controller/Part.pm | ||
---|---|---|
908 | 908 |
|
909 | 909 |
sub check_lastcost_modified { |
910 | 910 |
my ($self) = @_; |
911 |
return abs($self->part->lastcost - $self->part->last_price_update->lastcost) < 0.009 ? undef : 1; |
|
911 |
|
|
912 |
return (abs($self->part->lastcost - $self->part->last_price_update->lastcost) >= 0.009) |
|
913 |
|| (abs(($self->part->price_factor ? $self->part->price_factor->factor : 1) - $self->part->last_price_update->price_factor) >= 0.009); |
|
912 | 914 |
} |
913 | 915 |
|
914 | 916 |
sub parse_form { |
Auch abrufbar als: Unified diff
S:C:Part: Prüfung, ob sich der EK geändert hat, berücksichtig Preisfaktor