diff --git a/htdocs/compta/journal/purchasesjournal.php b/htdocs/compta/journal/purchasesjournal.php index 621287c39e49475ddbbf6f4282486bf054879d40..a8b6747b2a69cccc1866ac70b717fe9b050b0b71 100755 --- a/htdocs/compta/journal/purchasesjournal.php +++ b/htdocs/compta/journal/purchasesjournal.php @@ -161,7 +161,7 @@ foreach ($tabfac as $key => $val) $invoicestatic->ref=$val["ref"]; $invoicestatic->type=$val["type"]; - print "<tr ".$bc[$var]." >"; + print "<tr ".$bc[$var].">"; // third party //print "<td>".$conf->global->COMPTA_JOURNAL_BUY."</td>"; print "<td>".$val["date"]."</td>"; @@ -194,7 +194,7 @@ foreach ($tabfac as $key => $val) //print "<td>".$conf->global->COMPTA_JOURNAL_BUY."</td>"; print "<td>".$val["date"]."</td>"; print "<td>".$invoicestatic->getNomUrl(1)."</td>"; - print "<td>".$k."</td><td>".$langs->trans("VAT")." ".$key."</td><td align='right'>".($mt<0?price(-$mt):'')."</td><td align='right'>".($mt>=0?price($mt):'')."</td></tr>"; + print "<td>".$k."</td><td>".$langs->trans("VAT")."</td><td align='right'>".($mt<0?price(-$mt):'')."</td><td align='right'>".($mt>=0?price($mt):'')."</td></tr>"; } } diff --git a/htdocs/compta/journal/sellsjournal.php b/htdocs/compta/journal/sellsjournal.php index 3357078459c0429fe19402b8d57b555bdeabf599..ab8c41aff5ae4526a668f8e10e65ff472389ed35 100755 --- a/htdocs/compta/journal/sellsjournal.php +++ b/htdocs/compta/journal/sellsjournal.php @@ -196,7 +196,7 @@ foreach ($tabfac as $key => $val) //print "<td>".$conf->global->COMPTA_JOURNAL_SELL."</td>"; print "<td>".$val["date"]."</td>"; print "<td>".$invoicestatic->getNomUrl(1)."</td>"; - print "<td>".$k."</td><td>".$langs->trans("VAT")." ".$key."</td><td align='right'>".($mt<0?price(-$mt):'')."</td><td align='right'>".($mt>=0?price($mt):'')."</td></tr>"; + print "<td>".$k."</td><td>".$langs->trans("VAT")."</td><td align='right'>".($mt<0?price(-$mt):'')."</td><td align='right'>".($mt>=0?price($mt):'')."</td></tr>"; } }