Merge pull request #15821 from OPEN-DSI/new-invoice-list-margin-total
NEW add total margin in invoice list
This commit is contained in:
commit
00aec1d3fe
1 changed files with 2 additions and 0 deletions
|
|
@ -1584,6 +1584,8 @@ if ($resql)
|
|||
{
|
||||
print '<td class="right nowrap">'.price($marginInfo['total_margin']).'</td>';
|
||||
if (!$i) $totalarray['nbfield']++;
|
||||
if (!$i) $totalarray['pos'][$totalarray['nbfield']] = 'total_margin';
|
||||
$totalarray['val']['total_margin'] += $marginInfo['total_margin'];
|
||||
}
|
||||
// Total margin rate
|
||||
if (!empty($arrayfields['total_margin_rate']['checked']))
|
||||
|
|
|
|||
Loading…
Reference in a new issue