Revision 6ebdd9ec
Von Sven Schöling vor etwa 10 Jahren hinzugefügt
bin/mozilla/io.pl | ||
---|---|---|
1939 | 1939 |
next unless $obj->meta->column($method); |
1940 | 1940 |
if ($obj->meta->column($method)->isa('Rose::DB::Object::Metadata::Column::Date')) { |
1941 | 1941 |
$obj->${\"$method\_as_date"}($::form->{"$method\_$row"}); |
1942 |
} elsif ((ref $obj->meta->column($method)) =~ /^Rose::DB::Object::Metadata::Column::(?:Numeric|Float|DoublePrecsion)$/) { |
|
1943 |
$obj->${\"$method\_as_number"}($::form->{"$method\_$row"}); |
|
1942 | 1944 |
} else { |
1943 | 1945 |
$obj->$method($::form->{"$method\_$row"}); |
1944 | 1946 |
} |
Auch abrufbar als: Unified diff
PriceSource: numerische felder in record_item korrekt parsen