From: <te...@us...> - 2016-08-16 13:33:10
|
Revision: 7591 http://sourceforge.net/p/web-erp/reponame/7591 Author: tehonu Date: 2016-08-16 13:33:08 +0000 (Tue, 16 Aug 2016) Log Message: ----------- Fixed bug as did not populate Functional Exchange Rate (thanks to Tim) Modified Paths: -------------- trunk/CustomerReceipt.php Modified: trunk/CustomerReceipt.php =================================================================== --- trunk/CustomerReceipt.php 2016-08-16 13:26:43 UTC (rev 7590) +++ trunk/CustomerReceipt.php 2016-08-16 13:33:08 UTC (rev 7591) @@ -912,7 +912,7 @@ } echo '<tr> <td>', _('Functional Exchange Rate'), ':</td> - <td><input class="number" maxlength="12" name="FunctionalExRate" pattern="[0-9\.,]*" required="required" size="14" tabindex="5" type="text" value="', $_POST['FunctionalExRate'], '" /> ', $SuggestedFunctionalExRateText, ' <i>', _('The exchange rate between the currency of the business (the functional currency) and the currency of the bank account'), '.</i></td> + <td><input class="number" maxlength="12" name="FunctionalExRate" pattern="[0-9\.,]*" required="required" size="14" tabindex="5" type="text" value="', $_SESSION['ReceiptBatch' . $identifier]->FunctionalExRate, '" /> ', $SuggestedFunctionalExRateText, ' <i>', _('The exchange rate between the currency of the business (the functional currency) and the currency of the bank account'), '.</i></td> </tr>'; } |