Update card.php

This commit is contained in:
Laurent Destailleur 2020-03-30 20:00:59 +02:00 committed by GitHub
parent f7ecc9d60c
commit 774137b937
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -639,8 +639,8 @@ else
$db->free($resql);
print '<tr class="liste_total"><td class="liste_total" colspan="2">'.$langs->trans("Total").'</td>';
print '<td class="liste_total" align="right">';
$valtoshow=price2num($totalunit, 'MS');
print '<td class="liste_total right">';
$valtoshow = price2num($totalunit, 'MS');
if(empty($conf->global->PRODUCT_USE_UNITS) || $sameunits) print empty($valtoshow)?'0':$valtoshow;
print '</td>';
print '<td class="liste_total">';