Skip to content
Snippets Groups Projects
Commit 8e8fd724 authored by Christophe Battarel's avatar Christophe Battarel
Browse files

correct margin infos display on order

parent 34132de7
Branches
Tags
No related merge requests found
......@@ -2765,6 +2765,12 @@ else if ($id > 0 || ! empty($ref))
print '</table>';
// Margin Infos
if ($conf->marges->enabled) {
print '<br>';
$object->displayMarginInfos($object->statut > 0);
}
print '</td></tr>';
// Date payment term
......@@ -2843,12 +2849,6 @@ else if ($id > 0 || ! empty($ref))
print '<tr><td>'.$langs->trans('AmountVAT').'</td><td align="right" colspan="2" nowrap>'.price($object->total_tva).'</td>';
print '<td>'.$langs->trans('Currency'.$conf->currency).'</td>';
// Margin Infos
if ($conf->marges->enabled) {
print '<td valign="top" width="50%" rowspan="4">';
$object->displayMarginInfos();
print '</td>';
}
print '</tr>';
// Amount Local Taxes
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment