Fix: view remise percent (negative or positive)
This commit is contained in:
parent
4f8f39f71b
commit
73f6abdeca
@ -1449,8 +1449,8 @@ if ($id > 0 || ! empty($ref))
|
||||
else print ' ';
|
||||
print '</td>';
|
||||
|
||||
// Remise %
|
||||
if ($objp->remise_percent > 0 && $objp->special_code != 3)
|
||||
// Remise percent (negative or positive)
|
||||
if (!empty($objp->remise_percent) && $objp->special_code != 3)
|
||||
{
|
||||
print '<td align="right">'.dol_print_reduction($objp->remise_percent,$langs)."</td>\n";
|
||||
}
|
||||
|
||||
@ -1657,7 +1657,9 @@ else
|
||||
}
|
||||
else print ' ';
|
||||
print '</td>';
|
||||
if ($objp->remise_percent > 0)
|
||||
|
||||
//Remise percent (negative or positive)
|
||||
if (!empty($objp->remise_percent))
|
||||
{
|
||||
print '<td align="right">'.dol_print_reduction($objp->remise_percent,$langs).'</td>';
|
||||
}
|
||||
@ -1665,6 +1667,8 @@ else
|
||||
{
|
||||
print '<td> </td>';
|
||||
}
|
||||
|
||||
// Montant total HT
|
||||
print '<td align="right" nowrap="nowrap">'.price($objp->total_ht).'</td>';
|
||||
|
||||
// Icone d'edition et suppression
|
||||
|
||||
@ -2869,6 +2869,8 @@ else
|
||||
{
|
||||
print '<td> </td>';
|
||||
}
|
||||
|
||||
// Montant total HT
|
||||
print '<td align="right">'.price($objp->total_ht)."</td>\n";
|
||||
|
||||
// Icone d'edition et suppression
|
||||
|
||||
Loading…
Reference in New Issue
Block a user