From: <te...@us...> - 2013-08-22 01:52:30
|
Revision: 6286 http://sourceforge.net/p/web-erp/reponame/6286 Author: tehonu Date: 2013-08-22 01:52:26 +0000 (Thu, 22 Aug 2013) Log Message: ----------- Fixed bug preventing payments in foreigh currency. Solution provided by Tim. Modified Paths: -------------- trunk/Payments.php Modified: trunk/Payments.php =================================================================== --- trunk/Payments.php 2013-08-21 15:41:07 UTC (rev 6285) +++ trunk/Payments.php 2013-08-22 01:52:26 UTC (rev 6286) @@ -913,9 +913,7 @@ if (!isset($_POST['Narrative'])) { $_POST['Narrative']=''; } -if (!isset($_POST['Currency'])){ - $_POST['Currency'] = $_SESSION['CompanyRecord']['currencydefault']; -} + echo '<tr> <td>' . _('Reference / Narrative') . ':</td> <td colspan="2"><input type="text" name="Narrative" maxlength="80" size="82" value="' . stripslashes($_POST['Narrative'] ) . '" /> ' . _('(Max. length 80 characters)') . '</td> |