Fix : amount in bank line is necessarily in the account currency

This commit is contained in:
Maxime Kohlhaas 2016-01-26 18:09:52 +01:00
parent ce02f05d43
commit 6313f64c93

View File

@ -535,7 +535,7 @@ if ($result)
if ($user->rights->banque->modifier) if ($user->rights->banque->modifier)
{ {
print '<td colspan="3">'; print '<td colspan="3">';
print '<input name="amount" class="flat" size="10" '.($objp->rappro?' disabled':'').' value="'.price($objp->amount).'"> '.$langs->trans("Currency".$conf->currency); print '<input name="amount" class="flat" size="10" '.($objp->rappro?' disabled':'').' value="'.price($objp->amount).'"> '.$langs->trans("Currency".$acct->currency_code);
print '</td>'; print '</td>';
} }
else else