FIX : total cost line => bad convert
This commit is contained in:
parent
420b2c1651
commit
9ec0c9963a
@ -1128,7 +1128,7 @@ class BOM extends CommonObject
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
//Convert qty to hour
|
//Convert qty to hour
|
||||||
$unit = measuringUnitString($line->fk_unit);
|
$unit = measuringUnitString($line->fk_unit, '', '', 1);
|
||||||
$qty = convertDurationtoHour($line->qty, $unit);
|
$qty = convertDurationtoHour($line->qty, $unit);
|
||||||
|
|
||||||
if ($conf->workstation->enabled) {
|
if ($conf->workstation->enabled) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user