Skip to content
Snippets Groups Projects
Commit 59a30cd2 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Merge pull request #5120 from atm-maxime/fix_total_on_cabyprodserv

Fix wrong qty total in ca by prod/serv report
parents 8a487132 0a67614e
No related branches found
No related tags found
No related merge requests found
......@@ -177,6 +177,8 @@ report_header($nom,$nomlink,$period,$periodlink,$description,$builddate,$exportl
// SQL request
$catotal=0;
$catotal_ht=0;
$qtytotal=0;
if ($modecompta == 'CREANCES-DETTES')
{
......@@ -386,6 +388,8 @@ if ($modecompta == 'CREANCES-DETTES')
// Total
print '<tr class="liste_total">';
print '<td>'.$langs->trans("Total").'</td>';
print '<td align="right">'.price($qtytotal).'</td>';
print '<td>&nbsp;</td>';
print '<td align="right">'.price($catotal_ht).'</td>';
print '<td align="right">'.price($catotal).'</td>';
print '<td>&nbsp;</td>';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment