From: <dai...@us...> - 2011-09-21 07:32:22
|
Revision: 4698 http://web-erp.svn.sourceforge.net/web-erp/?rev=4698&view=rev Author: daintree Date: 2011-09-21 07:32:16 +0000 (Wed, 21 Sep 2011) Log Message: ----------- number formats Modified Paths: -------------- trunk/CustomerReceipt.php trunk/includes/LanguageSetup.php Modified: trunk/CustomerReceipt.php =================================================================== --- trunk/CustomerReceipt.php 2011-09-20 10:21:28 UTC (rev 4697) +++ trunk/CustomerReceipt.php 2011-09-21 07:32:16 UTC (rev 4698) @@ -527,6 +527,8 @@ echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/printer.png" title="' . _('Print') . '" alt="">' . ' ' . '<a href="' . $rootpath . '/PDFBankingSummary.php?BatchNo=' . $_SESSION['ReceiptBatch']->BatchNo . '">' . _('Print PDF Batch Summary') . '</a></p>'; echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/allocation.png" title="' . _('Allocate') . '" alt="">' . ' ' . '<a href="' . $rootpath . '/CustomerAllocations.php">' . _('Allocate Receipts') . '</a></p>'; + echo '<p class="page_title_text">• ' . $rootpath . '/CustomerReceipt.php?NewReceipt=Yes&Type=Customer ' . _('Enter Receipts') . ' </p>'; + unset($_SESSION['ReceiptBatch']); include('includes/footer.inc'); exit; Modified: trunk/includes/LanguageSetup.php =================================================================== --- trunk/includes/LanguageSetup.php 2011-09-20 10:21:28 UTC (rev 4697) +++ trunk/includes/LanguageSetup.php 2011-09-21 07:32:16 UTC (rev 4698) @@ -68,10 +68,10 @@ $LocaleSet = setlocale (LC_MESSAGES, $_SESSION['Language']); $LocaleSet = setlocale (LC_NUMERIC, $_SESSION['Language']); } else { // it's a windows server - $LocaleSet = setlocale (LC_ALL, $LanguageArray[$_SESSION['Language']]['WindowsLocale']); + $LocaleSet = setlocale (LC_ALL, $LanguagesArray[$_SESSION['Language']]['WindowsLocale']); } -$LocaleSet = setlocale (LC_NUMERIC, 'nl_NL.utf8'); +//$LocaleSet = setlocale (LC_NUMERIC, 'nl_NL.utf8'); $LocaleInfo = localeconv(); if ($LocaleInfo['mon_decimal_point']==''){ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |