Merge pull request #4500 from atm-maxime/develop

Fix : amount in bank line is necessarily in the account currency
This commit is contained in:
Laurent Destailleur 2016-01-30 12:10:30 +01:00
commit 4a7b70f144

View File

@ -535,7 +535,7 @@ if ($result)
if ($user->rights->banque->modifier)
{
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>';
}
else