FIX : Sub-Bom costs were not good
This commit is contained in:
parent
d5ff979d97
commit
777cfd5753
@ -171,7 +171,7 @@ $tmpbom->calculateCosts();
|
|||||||
print '<td id="costline_'.$line->id.'" class="linecolcost nowrap right">';
|
print '<td id="costline_'.$line->id.'" class="linecolcost nowrap right">';
|
||||||
$coldisplay++;
|
$coldisplay++;
|
||||||
if (!empty($line->fk_bom_child)) {
|
if (!empty($line->fk_bom_child)) {
|
||||||
echo '<span class="amount">'.price($tmpbom->total_cost).'</span>';
|
echo '<span class="amount">'.price($tmpbom->total_cost * $line->qty).'</span>';
|
||||||
} else {
|
} else {
|
||||||
echo '<span class="amount">'.price($line->total_cost).'</span>';
|
echo '<span class="amount">'.price($line->total_cost).'</span>';
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user