mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-24 18:58:46 +02:00
Dont use SI Prefixes for part amounts without unit.
This commit is contained in:
parent
243bc7b3c7
commit
09329a158b
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ class AmountFormatter
|
|||
$unit = $options['measurement_unit'];
|
||||
return $unit->isUseSIPrefix();
|
||||
}
|
||||
return true;
|
||||
return false;
|
||||
},
|
||||
'is_integer' => function (Options $options) {
|
||||
if ($options['measurement_unit'] !== null) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue