From: <rc...@us...> - 2014-09-11 13:20:35
|
Revision: 6877 http://sourceforge.net/p/web-erp/reponame/6877 Author: rchacon Date: 2014-09-11 13:20:27 +0000 (Thu, 11 Sep 2014) Log Message: ----------- Adds gettext() to line 402 of CustomerAllocations.php. Reported by Harald. Modified Paths: -------------- trunk/CustomerAllocations.php trunk/doc/Change.log Modified: trunk/CustomerAllocations.php =================================================================== --- trunk/CustomerAllocations.php 2014-09-11 09:39:28 UTC (rev 6876) +++ trunk/CustomerAllocations.php 2014-09-11 13:20:27 UTC (rev 6877) @@ -7,7 +7,7 @@ 3. No parameters to show all outstanding credits and receipts yet to be allocated. */ -include('includes/DefineCustAllocsClass.php');// Before includes/session.inc ********** +include('includes/DefineCustAllocsClass.php');// Before includes/session.inc ******* include('includes/session.inc'); $Title = _('Customer Receipt') . '/' . _('Credit Note Allocations'); @@ -399,7 +399,7 @@ $curTrans = " "; } - echo '<td>' . $AllocnItem->TransType . '</td> + echo '<td>' . _($AllocnItem->TransType) . '</td> <td class="number">' . $AllocnItem->TypeNo . '</td> <td>' . $AllocnItem->TransDate . '</td> <td class="number">' . locale_number_format($AllocnItem->TransAmount,$_SESSION['Alloc']->CurrDecimalPlaces) . '</td> @@ -413,7 +413,7 @@ </tr>'; } else { echo '<td class="number"><input type="hidden" name="YetToAlloc' . $Counter . '" value="' . round($YetToAlloc,$_SESSION['Alloc']->CurrDecimalPlaces) . '" />'; - echo '<input tabindex="' . $j .'" type="checkbox" title="' . _('Check this box to allocate the entire amouunt of this transaction. Just enter the amount without ticking this check box for a partial allocation') . '" name="All' . $Counter . '"'; + echo '<input tabindex="' . $j .'" type="checkbox" title="' . _('Check this box to allocate the entire amouunt of this transaction. Just enter the amount without ticking this check box for a partial allocation') . '" name="All' . $Counter . '"';// NewText: _('Check this box to allocate the entire amount of this transaction. Just enter the amount without ticking this check box for a partial allocation') if (ABS($AllocnItem->AllocAmt-$YetToAlloc) < 0.01) { echo ' checked="checked" />'; Modified: trunk/doc/Change.log =================================================================== --- trunk/doc/Change.log 2014-09-11 09:39:28 UTC (rev 6876) +++ trunk/doc/Change.log 2014-09-11 13:20:27 UTC (rev 6877) @@ -1,4 +1,5 @@ webERP Change Log +11/09/14 RChacon: Adds gettext() to line 402 of CustomerAllocations.php. Reported by Harald. 11/09/14 Exson: Code tidy up to make it meet coding guidance in CustomerInquiry.php. 11/09/14: Exson: Fixed the prnMsg bug in CustomerReceipt.php and add an inquiry link in it and make a status selectable in Customer inquiry and removed those rowstring definition which caused printf parameters missing. 31/8/14 RChacon: In general: Replaces code to determine background colour with TableRows(). Adds comments to ManualNewScripts.html. Fixes manual.css format. In GLTransInquiry.php: Adds $ViewTopic and $BookMark and sorts columns, and minor improvements. Minor translation improvements. |