FIX: virtual products: supplier discount was not applied in component list

This commit is contained in:
Marc de Lima Lucio 2020-10-22 15:16:33 +02:00
parent f2fafe04b6
commit a232a19e7d

View File

@ -365,7 +365,7 @@ if ($id > 0 || ! empty($ref))
$total+=$totalline;
print '<td class="right">';
print ($notdefined?'':($value['nb']> 1 ? $value['nb'].'x' : '').price($fourn_unitprice, '', '', 0, 0, -1, $conf->currency));
print ($notdefined?'':($value['nb']> 1 ? $value['nb'].'x' : '').price($totalline, '', '', 0, 0, -1, $conf->currency));
print '</td>';
// Best selling price