Skip to content

Commit

Permalink
Merge pull request #3420 from aspangaro/3.7-4
Browse files Browse the repository at this point in the history
Fix #3289 Salaries module shows amounts with currency symbol unlike t…
  • Loading branch information
Juanjo Menent committed Aug 28, 2015
2 parents 0aba8a1 + aff134a commit a7d1a35
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions htdocs/compta/salaries/index.php
Expand Up @@ -168,7 +168,7 @@
// Type
print '<td>'.$langs->trans("PaymentTypeShort".$obj->payment_code).' '.$obj->num_payment.'</td>';
// Amount
print "<td align=\"right\">".price($obj->amount,0,$outputlangs,1,-1,-1,$conf->currency)."</td>";
print "<td align=\"right\">".price($obj->amount)."</td>";
print "<td>&nbsp;</td>";
print "</tr>\n";

Expand All @@ -177,7 +177,7 @@
$i++;
}
print '<tr class="liste_total"><td colspan="5" class="liste_total">'.$langs->trans("Total").'</td>';
print '<td class="liste_total" align="right">'.price($total,0,$outputlangs,1,-1,-1,$conf->currency)."</td>";
print '<td class="liste_total" align="right">'.price($total)."</td>";
print "<td>&nbsp;</td></tr>";

print "</table>";
Expand Down

0 comments on commit a7d1a35

Please sign in to comment.