This list is closed, nobody may subscribe to it.
2011 |
Jan
(14) |
Feb
(42) |
Mar
(56) |
Apr
(60) |
May
(54) |
Jun
(48) |
Jul
(74) |
Aug
(52) |
Sep
(68) |
Oct
(64) |
Nov
(42) |
Dec
(62) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2012 |
Jan
(142) |
Feb
(270) |
Mar
(374) |
Apr
(230) |
May
(214) |
Jun
(116) |
Jul
(234) |
Aug
(66) |
Sep
(120) |
Oct
(16) |
Nov
(17) |
Dec
(41) |
2013 |
Jan
(19) |
Feb
(18) |
Mar
(8) |
Apr
(40) |
May
(121) |
Jun
(42) |
Jul
(127) |
Aug
(145) |
Sep
(27) |
Oct
(38) |
Nov
(83) |
Dec
(61) |
2014 |
Jan
(33) |
Feb
(35) |
Mar
(59) |
Apr
(41) |
May
(38) |
Jun
(45) |
Jul
(17) |
Aug
(58) |
Sep
(46) |
Oct
(51) |
Nov
(55) |
Dec
(36) |
2015 |
Jan
(57) |
Feb
(67) |
Mar
(70) |
Apr
(34) |
May
(32) |
Jun
(11) |
Jul
(3) |
Aug
(17) |
Sep
(16) |
Oct
(13) |
Nov
(30) |
Dec
(30) |
2016 |
Jan
(17) |
Feb
(12) |
Mar
(17) |
Apr
(20) |
May
(47) |
Jun
(15) |
Jul
(13) |
Aug
(30) |
Sep
(32) |
Oct
(20) |
Nov
(32) |
Dec
(24) |
2017 |
Jan
(16) |
Feb
|
Mar
(11) |
Apr
(11) |
May
(5) |
Jun
(42) |
Jul
(9) |
Aug
(10) |
Sep
(14) |
Oct
(15) |
Nov
(2) |
Dec
(29) |
2018 |
Jan
(28) |
Feb
(49) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: <ex...@us...> - 2015-09-21 02:01:55
|
Revision: 7355 http://sourceforge.net/p/web-erp/reponame/7355 Author: exsonqu Date: 2015-09-21 02:01:53 +0000 (Mon, 21 Sep 2015) Log Message: ----------- Modified Paths: -------------- trunk/doc/Change.log Modified: trunk/doc/Change.log =================================================================== --- trunk/doc/Change.log 2015-09-21 02:00:03 UTC (rev 7354) +++ trunk/doc/Change.log 2015-09-21 02:01:53 UTC (rev 7355) @@ -1,5 +1,5 @@ webERP Change Log - +21/09/15 Exson: Fix the wrong material cost updated in SupplierCredit.php. Reported by Akits. 19/9/15 Dongbak Cha:Korean translation via Google translate 14/9/15 RChacon: Rebuild languages files *.pot, *.po and *.mo to includes new texts. 14/9/15 RChacon: In AnalysisHorizontalIncome.php, delete duplicated tag. Replaces text "Absolute/Relative variation" with "Absolute/Relative difference" to avoid confusions. |
From: <ex...@us...> - 2015-09-21 02:00:05
|
Revision: 7354 http://sourceforge.net/p/web-erp/reponame/7354 Author: exsonqu Date: 2015-09-21 02:00:03 +0000 (Mon, 21 Sep 2015) Log Message: ----------- 21/09/15 Exson: Fix the wrong material cost updated in SupplierCredit.php. Reported by Akits. Modified Paths: -------------- trunk/SupplierCredit.php Modified: trunk/SupplierCredit.php =================================================================== --- trunk/SupplierCredit.php 2015-09-19 04:55:14 UTC (rev 7353) +++ trunk/SupplierCredit.php 2015-09-21 02:00:03 UTC (rev 7354) @@ -960,7 +960,7 @@ $CostIncrement = ($PurchPriceVar - $WriteOffToVariances) / $TotalQuantityOnHand; $sql = "UPDATE stockmaster SET lastcost=materialcost+overheadcost+labourcost, - materialcost=materialcost+" . $CostIncrement . " + materialcost=materialcost-" . $CostIncrement . " WHERE stockid='" . $EnteredGRN->ItemCode . "'"; $Result = DB_query($sql, $ErrMsg, $DbgMsg, True); |
From: <dai...@us...> - 2015-09-19 04:55:17
|
Revision: 7353 http://sourceforge.net/p/web-erp/reponame/7353 Author: daintree Date: 2015-09-19 04:55:14 +0000 (Sat, 19 Sep 2015) Log Message: ----------- language build Modified Paths: -------------- trunk/build/make_release.sh Modified: trunk/build/make_release.sh =================================================================== --- trunk/build/make_release.sh 2015-09-19 04:45:42 UTC (rev 7352) +++ trunk/build/make_release.sh 2015-09-19 04:55:14 UTC (rev 7353) @@ -25,6 +25,7 @@ msgmerge -U -N --backup=off locale/id_ID.utf8/LC_MESSAGES/messages.po locale/en_GB.utf8/LC_MESSAGES/messages.pot msgmerge -U -N --backup=off locale/it_IT.utf8/LC_MESSAGES/messages.po locale/en_GB.utf8/LC_MESSAGES/messages.pot msgmerge -U -N --backup=off locale/ja_JP.utf8/LC_MESSAGES/messages.po locale/en_GB.utf8/LC_MESSAGES/messages.pot +msgmerge -U -N --backup=off locale/ko_KR.utf8/LC_MESSAGES/messages.po locale/en_GB.utf8/LC_MESSAGES/messages.pot msgmerge -U -N --backup=off locale/lv_LV.utf8/LC_MESSAGES/messages.po locale/en_GB.utf8/LC_MESSAGES/messages.pot msgmerge -U -N --backup=off locale/mr_IN.utf8/LC_MESSAGES/messages.po locale/en_GB.utf8/LC_MESSAGES/messages.pot msgmerge -U -N --backup=off locale/nl_NL.utf8/LC_MESSAGES/messages.po locale/en_GB.utf8/LC_MESSAGES/messages.pot @@ -52,13 +53,14 @@ msgfmt -o locale/et_EE.utf8/LC_MESSAGES/messages.mo locale/et_EE.utf8/LC_MESSAGES/messages.po msgfmt -o locale/fa_IR.utf8/LC_MESSAGES/messages.mo locale/fa_IR.utf8/LC_MESSAGES/messages.po msgfmt -o locale/fr_CA.utf8/LC_MESSAGES/messages.mo locale/fr_CA.utf8/LC_MESSAGES/messages.po -msgfmt -o locale/fr_FR.utf8/LC_MESSAGES/messages.mo locale/fr_FR.utf8/LC_MESSAGES/messages.po +msgfmt -o locale/fr_FR.utf8/LC_MESSAGES/messages.mo locale/fr_FR.utf8/LC_MESSAGES/messages.po msgfmt -o locale/hr_HR.utf8/LC_MESSAGES/messages.mo locale/hr_HR.utf8/LC_MESSAGES/messages.po msgfmt -o locale/hi_IN.utf8/LC_MESSAGES/messages.mo locale/hi_IN.utf8/LC_MESSAGES/messages.po msgfmt -o locale/hu_HU.utf8/LC_MESSAGES/messages.mo locale/hu_HU.utf8/LC_MESSAGES/messages.po msgfmt -o locale/id_ID.utf8/LC_MESSAGES/messages.mo locale/id_ID.utf8/LC_MESSAGES/messages.po msgfmt -o locale/it_IT.utf8/LC_MESSAGES/messages.mo locale/it_IT.utf8/LC_MESSAGES/messages.po msgfmt -o locale/ja_JP.utf8/LC_MESSAGES/messages.mo locale/ja_JP.utf8/LC_MESSAGES/messages.po +msgfmt -o locale/ko_KR.utf8/LC_MESSAGES/messages.mo locale/ko_KR.utf8/LC_MESSAGES/messages.po msgfmt -o locale/lv_LV.utf8/LC_MESSAGES/messages.mo locale/lv_LV.utf8/LC_MESSAGES/messages.po msgfmt -o locale/mr_IN.utf8/LC_MESSAGES/messages.mo locale/mr_IN.utf8/LC_MESSAGES/messages.po msgfmt -o locale/nl_NL.utf8/LC_MESSAGES/messages.mo locale/nl_NL.utf8/LC_MESSAGES/messages.po |
From: <dai...@us...> - 2015-09-19 04:45:43
|
Revision: 7352 http://sourceforge.net/p/web-erp/reponame/7352 Author: daintree Date: 2015-09-19 04:45:42 +0000 (Sat, 19 Sep 2015) Log Message: ----------- attribution of Korean translation work Modified Paths: -------------- trunk/doc/Change.log trunk/doc/Manual/ManualContributors.html trunk/includes/LanguagesArray.php trunk/locale/ko_KR.utf8/LC_MESSAGES/messages.po Modified: trunk/doc/Change.log =================================================================== --- trunk/doc/Change.log 2015-09-18 09:56:48 UTC (rev 7351) +++ trunk/doc/Change.log 2015-09-19 04:45:42 UTC (rev 7352) @@ -1,5 +1,6 @@ webERP Change Log +19/9/15 Dongbak Cha:Korean translation via Google translate 14/9/15 RChacon: Rebuild languages files *.pot, *.po and *.mo to includes new texts. 14/9/15 RChacon: In AnalysisHorizontalIncome.php, delete duplicated tag. Replaces text "Absolute/Relative variation" with "Absolute/Relative difference" to avoid confusions. 13/9/15 RChacon: In AccountSections.php, add modifications for direct printing. Modified: trunk/doc/Manual/ManualContributors.html =================================================================== --- trunk/doc/Manual/ManualContributors.html 2015-09-18 09:56:48 UTC (rev 7351) +++ trunk/doc/Manual/ManualContributors.html 2015-09-19 04:45:42 UTC (rev 7352) @@ -186,6 +186,8 @@ <br /> Danu Satrio Pratomo Djojosoemarto and his cousin - Indonesian<br /> <br /> + Dongbak Cha - Korean<br /> + <br /> Gilberto Dos Santos Alves - Portuguese (Brazilian) <br /> Janusz Dobrowolski - Polish<br /> Modified: trunk/includes/LanguagesArray.php =================================================================== --- trunk/includes/LanguagesArray.php 2015-09-18 09:56:48 UTC (rev 7351) +++ trunk/includes/LanguagesArray.php 2015-09-19 04:45:42 UTC (rev 7352) @@ -94,7 +94,7 @@ $LanguagesArray['ja_JP.utf8']['DecimalPoint'] = '.'; $LanguagesArray['ja_JP.utf8']['ThousandsSeparator'] = ','; -$LanguagesArray['ko_KR.utf8']['LanguageName'] = 'Korean'; +$LanguagesArray['ko_KR.utf8']['LanguageName'] = '한국어'; $LanguagesArray['ko_KR.utf8']['WindowsLocale'] = 'korean'; $LanguagesArray['ko_KR.utf8']['DecimalPoint'] = '.'; $LanguagesArray['ko_KR.utf8']['ThousandsSeparator'] = ','; Modified: trunk/locale/ko_KR.utf8/LC_MESSAGES/messages.po =================================================================== --- trunk/locale/ko_KR.utf8/LC_MESSAGES/messages.po 2015-09-18 09:56:48 UTC (rev 7351) +++ trunk/locale/ko_KR.utf8/LC_MESSAGES/messages.po 2015-09-19 04:45:42 UTC (rev 7352) @@ -1,7 +1,7 @@ # SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. -# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. +# FIRST AUTHOR Dongbak Cha <hu...@hu...>, 2015. # msgid "" msgstr "" @@ -9,12 +9,12 @@ "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2015-09-17 20:17+0900\n" "PO-Revision-Date: 2015-09-18 10:34+0900\n" -"Language-Team: \n" +"Language-Team: Korean\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: Poedit 1.8.4\n" -"Last-Translator: \n" +"Last-Translator: Dongbak Cha\n" "Plural-Forms: nplurals=1; plural=0;\n" "Language: ko_KR\n" |
From: <dai...@us...> - 2015-09-18 09:56:50
|
Revision: 7351 http://sourceforge.net/p/web-erp/reponame/7351 Author: daintree Date: 2015-09-18 09:56:48 +0000 (Fri, 18 Sep 2015) Log Message: ----------- Korean translation humansoft from the webERP forum Modified Paths: -------------- trunk/includes/LanguagesArray.php Added Paths: ----------- trunk/locale/ko_KR.utf8/ trunk/locale/ko_KR.utf8/LC_MESSAGES/ trunk/locale/ko_KR.utf8/LC_MESSAGES/messages.mo trunk/locale/ko_KR.utf8/LC_MESSAGES/messages.po Modified: trunk/includes/LanguagesArray.php =================================================================== --- trunk/includes/LanguagesArray.php 2015-09-14 16:08:50 UTC (rev 7350) +++ trunk/includes/LanguagesArray.php 2015-09-18 09:56:48 UTC (rev 7351) @@ -94,6 +94,11 @@ $LanguagesArray['ja_JP.utf8']['DecimalPoint'] = '.'; $LanguagesArray['ja_JP.utf8']['ThousandsSeparator'] = ','; +$LanguagesArray['ko_KR.utf8']['LanguageName'] = 'Korean'; +$LanguagesArray['ko_KR.utf8']['WindowsLocale'] = 'korean'; +$LanguagesArray['ko_KR.utf8']['DecimalPoint'] = '.'; +$LanguagesArray['ko_KR.utf8']['ThousandsSeparator'] = ','; + $LanguagesArray['lv_LV.utf8']['LanguageName'] = 'Latviešu'; $LanguagesArray['lv_LV.utf8']['WindowsLocale'] = 'latvian'; $LanguagesArray['lv_LV.utf8']['DecimalPoint'] = ','; @@ -175,4 +180,4 @@ $LanguagesArray['zh_TW.utf8']['ThousandsSeparator'] = ','; asort($LanguagesArray); -?> \ No newline at end of file +?> Added: trunk/locale/ko_KR.utf8/LC_MESSAGES/messages.mo =================================================================== (Binary files differ) Index: trunk/locale/ko_KR.utf8/LC_MESSAGES/messages.mo =================================================================== --- trunk/locale/ko_KR.utf8/LC_MESSAGES/messages.mo 2015-09-14 16:08:50 UTC (rev 7350) +++ trunk/locale/ko_KR.utf8/LC_MESSAGES/messages.mo 2015-09-18 09:56:48 UTC (rev 7351) Property changes on: trunk/locale/ko_KR.utf8/LC_MESSAGES/messages.mo ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Added: trunk/locale/ko_KR.utf8/LC_MESSAGES/messages.po =================================================================== --- trunk/locale/ko_KR.utf8/LC_MESSAGES/messages.po (rev 0) +++ trunk/locale/ko_KR.utf8/LC_MESSAGES/messages.po 2015-09-18 09:56:48 UTC (rev 7351) @@ -0,0 +1,45122 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. +# +msgid "" +msgstr "" +"Project-Id-Version: \n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-09-17 20:17+0900\n" +"PO-Revision-Date: 2015-09-18 10:34+0900\n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Poedit 1.8.4\n" +"Last-Translator: \n" +"Plural-Forms: nplurals=1; plural=0;\n" +"Language: ko_KR\n" + +#: AccountGroups.php:6 includes/MainMenuLinksArray.php:391 +msgid "Account Groups" +msgstr "계정 그룹" + +#: AccountGroups.php:19 +msgid "An error occurred in retrieving the account groups of the parent account group during the check for recursion" +msgstr "오류가 재귀에 대한 검사 중 상위 계정 그룹의 계정 그룹을 검색에서 발생" + +#: AccountGroups.php:20 +msgid "The SQL that was used to retrieve the account groups of the parent account group and that failed in the process was" +msgstr "모계좌 그룹의 계정 그룹을 검색하는 데 사용하고 그 과정에서 실패 하였다 SQL이었다" + +#: AccountGroups.php:46 +msgid "An error occurred in moving the account group" +msgstr "오류가 계정 군을 이동 발생한" + +#: AccountGroups.php:47 +msgid "The SQL that was used to move the account group was" +msgstr "계정 그룹이었다 이동시키는 데 사용 하였다 SQL" + +#: AccountGroups.php:49 AccountGroups.php:331 +msgid "Review Account Groups" +msgstr "계정 그룹을 검토" + +#: AccountGroups.php:50 +msgid "All accounts in the account group:" +msgstr "계정 그룹의 모든 계정 :" + +#: AccountGroups.php:50 +msgid "have been changed to the account group:" +msgstr "계정 그룹으로 변경되었습니다" + +#: AccountGroups.php:69 AccountGroups.php:106 AccountGroups.php:208 +#: AccountGroups.php:243 +msgid "The SQL that was used to retrieve the information was" +msgstr "정보를 검색하는 데 사용 된 SQL이었다" + +#: AccountGroups.php:70 +msgid "Could not check whether the group exists because" +msgstr "그룹이 있기 때문에 존재하는지 여부를 확인 할 수 없습니다" + +#: AccountGroups.php:77 +msgid "The account group name already exists in the database" +msgstr "계정이 그룹 이름은 이미 데이터베이스에 존재" + +#: AccountGroups.php:83 +msgid "The account group name cannot contain the character" +msgstr "계정 그룹 이름은 문자를 포함 할 수 없습니다" + +#: AccountGroups.php:83 Departments.php:30 TaxCategories.php:32 +msgid "or the character" +msgstr "또는 문자" + +#: AccountGroups.php:89 +msgid "The account group name must be at least one character long" +msgstr "계정 그룹 이름은 적어도 하나의 문자 여야" + +#: AccountGroups.php:96 +msgid "The parent account group selected appears to result in a recursive account structure - select an alternative parent account group or make this group a top level account group" +msgstr "선택된 상위 계정 그룹은 순환 계정 구조 결과에 나타납니다 - 다른 부모 계정 그룹을 선택하거나이 그룹에게 최상위 계정 그룹을" + +#: AccountGroups.php:107 +msgid "Could not check whether the group is recursive because" +msgstr "그룹 때문에 순환 여부를 확인 할 수 없습니다" + +#: AccountGroups.php:115 +msgid "Since this account group is a child group, the sequence in the trial balance, the section in the accounts and whether or not the account group appears in the balance sheet or profit and loss account are all properties inherited from the parent account group. Any changes made to these fields will have no effect." +msgstr "이 계정 그룹이 하위 그룹, 시험 균형 순서이기 때문에, 계정 및 계정 그룹은 대차 대조표 또는 손익 계정에 표시 여부 섹션은 부모 계정 그룹에서 상속 된 모든 속성입니다. 이 필드에 대한 변경 사항이 적용되지 않습니다." + +#: AccountGroups.php:120 +msgid "The section in accounts must be an integer" +msgstr "계정에있는 부분은 정수 여야합니다" + +#: AccountGroups.php:126 +msgid "The sequence in the trial balance must be an integer" +msgstr "재판의 균형 순서는 정수 여야합니다" + +#: AccountGroups.php:132 +msgid "The sequence in the TB must be numeric and less than" +msgstr "결핵의 순서는 숫자와보다 작아야합니다" + +#: AccountGroups.php:148 +msgid "An error occurred in renaming the account group" +msgstr "오류가 계정 그룹의 이름을 변경 발생" + +#: AccountGroups.php:149 +msgid "The SQL that was used to rename the account group was" +msgstr "계정 그룹이었다 이름을 사용한 SQL" + +#: AccountGroups.php:168 +msgid "An error occurred in updating the account group" +msgstr "오류가 계정 그룹을 업데이트 발생" + +#: AccountGroups.php:169 +msgid "The SQL that was used to update the account group was" +msgstr "계정 그룹이었다 갱신하는데 사용 된 SQL" + +#: AccountGroups.php:171 AccountSections.php:98 PaymentMethods.php:84 +msgid "Record Updated" +msgstr "기록 업데이트" + +#: AccountGroups.php:187 +msgid "An error occurred in inserting the account group" +msgstr "오류가 계정 그룹을 삽입 발생" + +#: AccountGroups.php:188 +msgid "The SQL that was used to insert the account group was" +msgstr "사용 된 SQL은 계정 그룹이었다 삽입" + +#: AccountGroups.php:189 AccountSections.php:108 +msgid "Record inserted" +msgstr "레코드 삽입" + +#: AccountGroups.php:207 +msgid "An error occurred in retrieving the group information from chartmaster" +msgstr "오류가 chartmaster에서 그룹 정보를 검색에서 발생" + +#: AccountGroups.php:212 +msgid "Cannot delete this account group because general ledger accounts have been created using this group" +msgstr "총계정 원장 계정이이 그룹을 사용하여 생성 되었기 때문에이 계정 그룹을 삭제할 수 없습니다" + +#: AccountGroups.php:213 AccountGroups.php:248 AccountSections.php:130 +#: Areas.php:115 Areas.php:124 BankAccounts.php:165 CreditStatus.php:125 +#: Currencies.php:247 Currencies.php:255 Currencies.php:263 Currencies.php:273 +#: CustomerBranches.php:300 CustomerBranches.php:310 CustomerBranches.php:320 +#: CustomerBranches.php:330 CustomerBranches.php:340 Customers.php:296 +#: Customers.php:305 Customers.php:313 Customers.php:324 Customers.php:334 +#: CustomerTypes.php:146 CustomerTypes.php:156 Departments.php:141 +#: Factors.php:134 FixedAssetCategories.php:137 GLAccounts.php:79 +#: GLAccounts.php:95 Locations.php:279 Locations.php:287 Locations.php:298 +#: Locations.php:307 Locations.php:316 Locations.php:325 Locations.php:334 +#: Locations.php:343 Locations.php:351 Manufacturers.php:154 +#: MRPDemandTypes.php:87 PaymentMethods.php:143 PaymentTerms.php:146 +#: PaymentTerms.php:153 PcExpenses.php:161 SalesCategories.php:128 +#: SalesCategories.php:135 SalesPeople.php:159 SalesPeople.php:166 +#: SalesPeople.php:172 SalesTypes.php:140 SalesTypes.php:150 Shippers.php:81 +#: Shippers.php:93 StockCategories.php:216 Stocks.php:762 Stocks.php:771 +#: Stocks.php:779 Stocks.php:787 Stocks.php:795 Stocks.php:803 Stocks.php:811 +#: Stocks.php:819 Suppliers.php:646 Suppliers.php:655 Suppliers.php:663 +#: SupplierTypes.php:126 TaxCategories.php:132 TaxGroups.php:134 +#: TaxGroups.php:142 TaxProvinces.php:129 UnitsOfMeasure.php:135 +#: WorkCentres.php:89 WorkCentres.php:95 WWW_Access.php:88 +msgid "There are" +msgstr "있다" + +#: AccountGroups.php:213 +msgid "general ledger accounts that refer to this account group" +msgstr "이 계정 그룹을 참조 총계정 원장 계정" + +#: AccountGroups.php:220 AccountGroups.php:290 AccountGroups.php:404 +msgid "Parent Group" +msgstr "상위 그룹" + +#: AccountGroups.php:236 +msgid "Move Group" +msgstr "그룹 이동" + +#: AccountGroups.php:242 +msgid "An error occurred in retrieving the parent group information" +msgstr "에러는 상위 그룹 정보를 검색 발생한" + +#: AccountGroups.php:247 +msgid "Cannot delete this account group because it is a parent account group of other account group(s)" +msgstr "그것은 다른 계정 그룹의 상위 계정 그룹이기 때문에이 계정 그룹을 삭제할 수 없습니다 (들)" + +#: AccountGroups.php:248 +msgid "account groups that have this group as its/there parent account group" +msgstr "그 /이 부모 계정 그룹으로이 그룹이 계정 그룹" + +#: AccountGroups.php:252 +msgid "An error occurred in deleting the account group" +msgstr "오류가 계정 그룹을 삭제에서 발생" + +#: AccountGroups.php:253 +msgid "The SQL that was used to delete the account group was" +msgstr "계정 그룹이었다 삭제하는 데 사용 된 SQL" + +#: AccountGroups.php:255 +msgid "group has been deleted" +msgstr "그룹이 삭제되었습니다" + +#: AccountGroups.php:279 +msgid "The sql that was used to retrieve the account group information was " +msgstr "계정 그룹 정보를 검색하는 데 사용 된 SQL이었다" + +#: AccountGroups.php:280 +msgid "Could not get account groups because" +msgstr "계정 그룹 때문에를 가져올 수 없습니다" + +#: AccountGroups.php:282 AccountSections.php:169 AddCustomerContacts.php:25 +#: AddCustomerContacts.php:27 AddCustomerNotes.php:101 +#: AddCustomerTypeNotes.php:94 AgedDebtors.php:454 AgedSuppliers.php:276 +#: Areas.php:144 AuditTrail.php:11 BOMExtendedQty.php:256 BOMIndented.php:249 +#: BOMIndentedReverse.php:236 BOMInquiry.php:186 BOMListing.php:110 +#: BOMs.php:239 BOMs.php:890 COGSGLPostings.php:19 CompanyPreferences.php:102 +#: CounterReturns.php:1629 CounterSales.php:2097 CounterSales.php:2193 +#: Credit_Invoice.php:276 CreditStatus.php:21 CustEDISetup.php:17 +#: CustItem.php:120 CustItem.php:210 CustItem.php:238 +#: DebtorsAtPeriodEnd.php:129 DiscountCategories.php:12 +#: DiscountCategories.php:149 DiscountMatrix.php:16 EDIMessageFormat.php:105 +#: FixedAssetLocations.php:13 FixedAssetRegister.php:16 +#: FixedAssetRegister.php:256 FixedAssetTransfer.php:14 FormDesigner.php:185 +#: GLBudgets.php:32 GLJournalInquiry.php:11 GLJournal.php:250 +#: HistoricalTestResults.php:42 InternalStockRequest.php:311 +#: InventoryPlanning.php:459 InventoryPlanningPrefSupplier.php:386 +#: MaintenanceTasks.php:14 MaintenanceUserSchedule.php:16 MRPReport.php:544 +#: NoSalesItems.php:91 PcAssignCashToTab.php:59 PcAssignCashToTab.php:133 +#: PcAssignCashToTab.php:149 PcAssignCashToTab.php:193 PDFPickingList.php:29 +#: PDFStockLocTransfer.php:16 PO_AuthorisationLevels.php:10 POReport.php:60 +#: POReport.php:64 POReport.php:68 PO_SelectOSPurchOrder.php:153 +#: PriceMatrix.php:16 PricesBasedOnMarkUp.php:8 Prices_Customer.php:35 +#: Prices.php:11 ProductSpecs.php:38 PurchaseByPrefSupplier.php:305 +#: PurchData.php:241 PurchData.php:373 PurchData.php:401 QATests.php:22 +#: RecurringSalesOrders.php:320 RelatedItemsUpdate.php:24 +#: SalesAnalReptCols.php:51 SalesAnalRepts.php:14 SalesCategories.php:11 +#: SalesGLPostings.php:19 SalesGraph.php:40 SalesPeople.php:28 +#: SalesTypes.php:20 SelectAsset.php:48 SelectCompletedOrder.php:11 +#: SelectContract.php:69 SelectCreditItems.php:220 SelectCreditItems.php:291 +#: SelectCustomer.php:266 SelectGLAccount.php:65 SelectOrderItems.php:559 +#: SelectOrderItems.php:1467 SelectOrderItems.php:1567 SelectProduct.php:502 +#: SelectQASamples.php:45 SelectSalesOrder.php:512 SelectSupplier.php:14 +#: SelectSupplier.php:220 SelectWorkOrder.php:9 SelectWorkOrder.php:174 +#: SellThroughSupport.php:229 ShipmentCosting.php:11 Shipments.php:17 +#: Shippers.php:123 Shippers.php:160 Shipt_Select.php:8 +#: StockLocMovements.php:14 StockLocStatus.php:29 +#: StockSerialItemResearch.php:30 SupplierPriceList.php:14 +#: SupplierPriceList.php:224 SupplierPriceList.php:394 +#: SupplierPriceList.php:398 SupplierPriceList.php:449 +#: SupplierPriceList.php:499 Suppliers.php:304 SupplierTenderCreate.php:556 +#: SupplierTenderCreate.php:664 SupplierTenders.php:322 SupplierTenders.php:388 +#: SupplierTransInquiry.php:10 TestPlanResults.php:27 TopItems.php:118 +#: UnitsOfMeasure.php:10 WhereUsedInquiry.php:18 WorkCentres.php:111 +#: WorkCentres.php:163 WorkOrderCosting.php:22 WorkOrderEntry.php:11 +#: WorkOrderIssue.php:22 WorkOrderReceive.php:34 WorkOrderStatus.php:58 +#: WWW_Users.php:34 Z_BottomUpCosts.php:57 ../webSHOP/includes/header.php:217 +msgid "Search" +msgstr "수색" + +#: AccountGroups.php:286 +msgid "Group Name" +msgstr "그룹 이름" + +#: AccountGroups.php:287 EDIMessageFormat.php:129 EDIMessageFormat.php:208 +msgid "Section" +msgstr "섹션" + +#: AccountGroups.php:288 AccountGroups.php:458 +msgid "Sequence In TB" +msgstr "결핵에서 순서" + +#: AccountGroups.php:289 AccountGroups.php:441 GLProfit_Loss.php:6 +#: GLProfit_Loss.php:135 GLProfit_Loss.php:136 GLProfit_Loss.php:187 +#: SelectGLAccount.php:23 SelectGLAccount.php:37 SelectGLAccount.php:51 +msgid "Profit and Loss" +msgstr "손익" + +#: AccountGroups.php:307 AccountGroups.php:310 AccountGroups.php:445 +#: AccountGroups.php:447 BOMs.php:128 BOMs.php:802 BOMs.php:804 +#: CompanyPreferences.php:425 CompanyPreferences.php:427 +#: CompanyPreferences.php:440 CompanyPreferences.php:442 +#: CompanyPreferences.php:455 CompanyPreferences.php:457 +#: ContractCosting.php:202 Currencies.php:342 Currencies.php:520 +#: Currencies.php:522 CustomerBranches.php:452 Customers.php:659 +#: Customers.php:1049 Customers.php:1055 Customers.php:1058 +#: DailyBankTransactions.php:156 DeliveryDetails.php:1157 +#: DeliveryDetails.php:1198 DeliveryDetails.php:1201 FormDesigner.php:101 +#: GLTransInquiry.php:74 Labels.php:601 Labels.php:603 Labels.php:628 +#: Locations.php:446 Locations.php:668 Locations.php:670 Locations.php:683 +#: Locations.php:685 Locations.php:701 MRPCalendar.php:224 MRP.php:554 +#: MRP.php:558 MRP.php:562 MRP.php:566 MRP.php:570 PaymentMethods.php:206 +#: PaymentMethods.php:207 PaymentMethods.php:208 PaymentMethods.php:209 +#: PaymentMethods.php:275 PaymentMethods.php:282 PaymentMethods.php:289 +#: PaymentMethods.php:296 PcAuthorizeExpenses.php:248 PDFChequeListing.php:65 +#: PDFDeliveryDifferences.php:76 PDFDIFOT.php:80 PDFWOPrint.php:600 +#: PDFWOPrint.php:604 PO_AuthorisationLevels.php:134 +#: PO_AuthorisationLevels.php:139 PO_Header.php:807 PO_PDFPurchOrder.php:413 +#: PO_PDFPurchOrder.php:416 ProductSpecs.php:188 ProductSpecs.php:409 +#: ProductSpecs.php:414 ProductSpecs.php:420 ProductSpecs.php:425 +#: ProductSpecs.php:430 ProductSpecs.php:562 ProductSpecs.php:608 +#: ProductSpecs.php:610 ProductSpecs.php:621 ProductSpecs.php:623 +#: ProductSpecs.php:634 ProductSpecs.php:636 ProductSpecs.php:647 +#: ProductSpecs.php:649 PurchData.php:296 PurchData.php:667 PurchData.php:670 +#: QATests.php:293 QATests.php:295 QATests.php:306 QATests.php:308 +#: QATests.php:319 QATests.php:321 QATests.php:332 QATests.php:334 +#: QATests.php:345 QATests.php:347 QATests.php:414 QATests.php:419 +#: QATests.php:424 QATests.php:429 QATests.php:434 RecurringSalesOrders.php:493 +#: RecurringSalesOrders.php:496 SalesAnalReptCols.php:284 +#: SalesAnalReptCols.php:419 SalesAnalReptCols.php:422 SalesAnalRepts.php:420 +#: SalesAnalRepts.php:423 SalesAnalRepts.php:448 SalesAnalRepts.php:451 +#: SalesAnalRepts.php:476 SalesAnalRepts.php:479 SalesCategories.php:264 +#: SalesCategories.php:351 SalesCategories.php:355 SalesPeople.php:227 +#: SalesPeople.php:367 SalesPeople.php:369 SelectProduct.php:229 +#: SelectProduct.php:354 SelectQASamples.php:424 SelectQASamples.php:518 +#: SelectQASamples.php:520 SelectQASamples.php:574 SelectQASamples.php:576 +#: SelectQASamples.php:588 SelectQASamples.php:590 ShipmentCosting.php:667 +#: ShopParameters.php:289 ShopParameters.php:293 ShopParameters.php:337 +#: ShopParameters.php:341 ShopParameters.php:391 ShopParameters.php:395 +#: ShopParameters.php:413 ShopParameters.php:417 ShopParameters.php:495 +#: ShopParameters.php:499 StockClone.php:922 StockClone.php:924 +#: StockClone.php:947 StockClone.php:949 Stocks.php:1256 Stocks.php:1258 +#: Stocks.php:1281 Stocks.php:1283 SuppContractChgs.php:90 +#: SystemParameters.php:479 SystemParameters.php:502 SystemParameters.php:543 +#: SystemParameters.php:624 SystemParameters.php:632 SystemParameters.php:672 +#: SystemParameters.php:763 SystemParameters.php:772 SystemParameters.php:780 +#: SystemParameters.php:798 SystemParameters.php:805 SystemParameters.php:849 +#: SystemParameters.php:945 SystemParameters.php:1088 SystemParameters.php:1090 +#: SystemParameters.php:1100 SystemParameters.php:1102 +#: SystemParameters.php:1156 SystemParameters.php:1168 +#: SystemParameters.php:1170 SystemParameters.php:1208 +#: SystemParameters.php:1210 SystemParameters.php:1232 +#: SystemParameters.php:1234 TaxGroups.php:310 TaxGroups.php:313 +#: TaxGroups.php:364 TestPlanResults.php:304 TestPlanResults.php:532 +#: TestPlanResults.php:747 TestPlanResults.php:864 TestPlanResults.php:924 +#: TestPlanResults.php:928 WWW_Users.php:516 WWW_Users.php:518 +#: WWW_Users.php:689 WWW_Users.php:691 WWW_Users.php:704 WWW_Users.php:706 +msgid "Yes" +msgstr "네" + +#: AccountGroups.php:313 AccountGroups.php:450 AccountGroups.php:452 +#: BankAccounts.php:218 BankAccounts.php:412 BankAccounts.php:414 +#: BankAccounts.php:418 BankAccounts.php:426 BOMs.php:130 BOMs.php:801 +#: BOMs.php:805 CompanyPreferences.php:424 CompanyPreferences.php:428 +#: CompanyPreferences.php:439 CompanyPreferences.php:443 +#: CompanyPreferences.php:454 CompanyPreferences.php:458 +#: ContractCosting.php:200 Currencies.php:344 Currencies.php:525 +#: Currencies.php:527 CustomerBranches.php:452 Customers.php:658 +#: Customers.php:1047 Customers.php:1054 Customers.php:1057 +#: DailyBankTransactions.php:158 DeliveryDetails.php:1158 +#: DeliveryDetails.php:1199 DeliveryDetails.php:1202 FormDesigner.php:99 +#: GLTransInquiry.php:93 Labels.php:600 Labels.php:604 Labels.php:629 +#: Locations.php:446 Locations.php:673 Locations.php:675 Locations.php:688 +#: Locations.php:690 Locations.php:702 MRPCalendar.php:226 MRP.php:552 +#: MRP.php:556 MRP.php:560 MRP.php:564 MRP.php:568 NoSalesItems.php:191 +#: PaymentMethods.php:206 PaymentMethods.php:207 PaymentMethods.php:208 +#: PaymentMethods.php:209 PaymentMethods.php:276 PaymentMethods.php:283 +#: PaymentMethods.php:290 PaymentMethods.php:297 PcAuthorizeExpenses.php:246 +#: PDFChequeListing.php:64 PDFDeliveryDifferences.php:75 PDFDIFOT.php:79 +#: PDFWOPrint.php:601 PDFWOPrint.php:605 PO_AuthorisationLevels.php:136 +#: PO_AuthorisationLevels.php:141 PO_Header.php:806 PO_PDFPurchOrder.php:414 +#: PO_PDFPurchOrder.php:417 ProductSpecs.php:191 ProductSpecs.php:411 +#: ProductSpecs.php:417 ProductSpecs.php:422 ProductSpecs.php:427 +#: ProductSpecs.php:432 ProductSpecs.php:613 ProductSpecs.php:615 +#: ProductSpecs.php:626 ProductSpecs.php:628 ProductSpecs.php:639 +#: ProductSpecs.php:641 ProductSpecs.php:652 ProductSpecs.php:654 +#: PurchData.php:299 PurchData.php:668 PurchData.php:671 QATests.php:298 +#: QATests.php:300 QATests.php:311 QATests.php:313 QATests.php:324 +#: QATests.php:326 QATests.php:337 QATests.php:339 QATests.php:350 +#: QATests.php:352 QATests.php:416 QATests.php:421 QATests.php:426 +#: QATests.php:431 QATests.php:436 RecurringSalesOrders.php:492 +#: RecurringSalesOrders.php:495 SalesAnalReptCols.php:282 +#: SalesAnalReptCols.php:420 SalesAnalReptCols.php:423 SalesAnalRepts.php:419 +#: SalesAnalRepts.php:422 SalesAnalRepts.php:447 SalesAnalRepts.php:450 +#: SalesAnalRepts.php:475 SalesAnalRepts.php:478 SalesCategories.php:266 +#: SalesCategories.php:352 SalesCategories.php:354 SalesPeople.php:229 +#: SalesPeople.php:372 SalesPeople.php:374 SelectProduct.php:231 +#: SelectProduct.php:356 SelectQASamples.php:426 SelectQASamples.php:523 +#: SelectQASamples.php:525 SelectQASamples.php:579 SelectQASamples.php:581 +#: SelectQASamples.php:593 SelectQASamples.php:595 ShipmentCosting.php:668 +#: ShopParameters.php:290 ShopParameters.php:292 ShopParameters.php:338 +#: ShopParameters.php:340 ShopParameters.php:392 ShopParameters.php:394 +#: ShopParameters.php:414 ShopParameters.php:416 ShopParameters.php:496 +#: ShopParameters.php:498 StockClone.php:917 StockClone.php:919 +#: StockClone.php:942 StockClone.php:944 Stocks.php:1251 Stocks.php:1253 +#: Stocks.php:1276 Stocks.php:1278 SuppContractChgs.php:92 +#: SystemParameters.php:480 SystemParameters.php:503 SystemParameters.php:544 +#: SystemParameters.php:625 SystemParameters.php:633 SystemParameters.php:673 +#: SystemParameters.php:764 SystemParameters.php:773 SystemParameters.php:781 +#: SystemParameters.php:799 SystemParameters.php:806 SystemParameters.php:850 +#: SystemParameters.php:946 SystemParameters.php:1087 SystemParameters.php:1091 +#: SystemParameters.php:1099 SystemParameters.php:1103 +#: SystemParameters.php:1157 SystemParameters.php:1167 +#: SystemParameters.php:1171 SystemParameters.php:1207 +#: SystemParameters.php:1211 SystemParameters.php:1231 +#: SystemParameters.php:1235 TaxGroups.php:311 TaxGroups.php:314 +#: TaxGroups.php:366 TestPlanResults.php:306 TestPlanResults.php:535 +#: TestPlanResults.php:749 TestPlanResults.php:866 TestPlanResults.php:925 +#: TestPlanResults.php:927 WWW_Users.php:515 WWW_Users.php:519 +#: WWW_Users.php:688 WWW_Users.php:692 WWW_Users.php:703 WWW_Users.php:707 +#: includes/PDFLowGPPageHeader.inc:44 +msgid "No" +msgstr "아니" + +#: AccountGroups.php:322 AccountSections.php:191 AddCustomerContacts.php:148 +#: AddCustomerNotes.php:137 AddCustomerTypeNotes.php:131 Areas.php:164 +#: BankAccounts.php:243 BOMs.php:157 COGSGLPostings.php:112 +#: COGSGLPostings.php:219 CreditStatus.php:175 Currencies.php:374 +#: Currencies.php:391 CustItem.php:166 CustomerBranches.php:456 +#: Customers.php:1131 Customers.php:1165 CustomerTypes.php:205 +#: Departments.php:186 EDIMessageFormat.php:150 Factors.php:334 +#: FixedAssetCategories.php:190 FixedAssetLocations.php:111 +#: FreightCosts.php:253 GeocodeSetup.php:173 GLAccounts.php:317 GLTags.php:96 +#: ImportBankTransAnalysis.php:223 InternalStockRequest.php:293 Labels.php:333 +#: Labels.php:358 Locations.php:439 MailingGroupMaintenance.php:178 +#: MaintenanceTasks.php:118 Manufacturers.php:217 MRPDemands.php:309 +#: MRPDemandTypes.php:120 PaymentMethods.php:210 PaymentTerms.php:205 +#: PcAssignCashToTab.php:277 PcClaimExpensesFromTab.php:276 PcExpenses.php:226 +#: PcTabs.php:236 PcTypeTabs.php:180 PO_AuthorisationLevels.php:151 +#: PriceMatrix.php:287 Prices_Customer.php:286 Prices.php:253 +#: ProductSpecs.php:465 PurchData.php:312 QATests.php:467 +#: SalesCategories.php:272 SalesGLPostings.php:137 SalesGLPostings.php:255 +#: SalesPeople.php:240 SalesTypes.php:206 SecurityTokens.php:130 +#: SelectCustomer.php:615 SelectCustomer.php:634 SelectCustomer.php:664 +#: SelectCustomer.php:682 SelectCustomer.php:706 SelectCustomer.php:723 +#: SelectGLAccount.php:117 SelectGLAccount.php:132 SelectQASamples.php:417 +#: SellThroughSupport.php:298 Shippers.php:144 StockCategories.php:296 +#: SupplierContacts.php:165 SupplierTenderCreate.php:157 SupplierTypes.php:170 +#: SuppTransGLAnalysis.php:125 TaxAuthorities.php:172 TaxCategories.php:184 +#: TaxGroups.php:190 TaxProvinces.php:179 UnitsOfMeasure.php:185 +#: WorkCentres.php:142 WWW_Access.php:132 WWW_Users.php:350 +#: includes/InputSerialItems.php:110 includes/OutputSerialItems.php:20 +#, php-format +msgid "Edit" +msgstr "편집" + +#: AccountGroups.php:323 +msgid "Are you sure you wish to delete this account group?" +msgstr "이 계정 그룹을 삭제하려면 확실합니까?" + +#: AccountGroups.php:323 AccountSections.php:195 AddCustomerContacts.php:149 +#: AddCustomerNotes.php:138 AddCustomerTypeNotes.php:132 Areas.php:165 +#: BankAccounts.php:244 BOMs.php:159 COGSGLPostings.php:113 +#: COGSGLPostings.php:220 ContractBOM.php:272 ContractOtherReqts.php:124 +#: CounterReturns.php:740 CounterSales.php:836 Credit_Invoice.php:409 +#: CreditStatus.php:176 Currencies.php:377 CustItem.php:167 +#: CustomerReceipt.php:989 Customers.php:1166 CustomerTypes.php:206 +#: Departments.php:187 DiscountCategories.php:238 DiscountMatrix.php:183 +#: EDIMessageFormat.php:151 FixedAssetCategories.php:191 FreightCosts.php:254 +#: GeocodeSetup.php:174 GLAccounts.php:318 GLJournal.php:430 GLTags.php:97 +#: ImportBankTransAnalysis.php:224 InternalStockCategoriesByRole.php:184 +#: InternalStockRequest.php:294 Labels.php:334 Labels.php:359 Labels.php:607 +#: Locations.php:440 MailingGroupMaintenance.php:179 MaintenanceTasks.php:119 +#: Manufacturers.php:218 MRPDemands.php:310 MRPDemandTypes.php:121 +#: PaymentMethods.php:211 Payments.php:1112 PaymentTerms.php:206 +#: PcAssignCashToTab.php:281 PcClaimExpensesFromTab.php:277 PcExpenses.php:227 +#: PcExpensesTypeTab.php:187 PcTabs.php:237 PcTypeTabs.php:181 +#: PO_AuthorisationLevels.php:153 PO_Items.php:768 PriceMatrix.php:286 +#: Prices_Customer.php:287 Prices.php:254 ProductSpecs.php:466 +#: PurchData.php:314 PurchData.php:721 QATests.php:468 +#: RelatedItemsUpdate.php:155 RelatedItemsUpdate.php:170 +#: SalesAnalReptCols.php:299 SalesAnalRepts.php:307 SalesCategories.php:273 +#: SalesGLPostings.php:138 SalesGLPostings.php:256 SalesPeople.php:241 +#: SalesTypes.php:207 SecurityTokens.php:131 SelectCreditItems.php:778 +#: SelectCustomer.php:616 SelectCustomer.php:635 SelectCustomer.php:665 +#: SelectCustomer.php:683 SelectCustomer.php:707 SelectCustomer.php:724 +#: SelectOrderItems.php:1379 SelectQASamples.php:418 SellThroughSupport.php:299 +#: Shipments.php:438 Shippers.php:145 SpecialOrder.php:667 +#: StockCategories.php:297 StockCategories.php:626 StockLocTransfer.php:325 +#: SuppContractChgs.php:99 SuppCreditGRNs.php:117 SuppFixedAssetChgs.php:90 +#: SuppInvGRNs.php:147 SupplierContacts.php:166 SupplierTenderCreate.php:422 +#: SupplierTenderCreate.php:452 SupplierTypes.php:172 SuppShiptChgs.php:90 +#: SuppTransGLAnalysis.php:126 TaxAuthorities.php:173 TaxCategories.php:186 +#: TaxGroups.php:191 TaxProvinces.php:180 TestPlanResults.php:920 +#: UnitsOfMeasure.php:186 WorkCentres.php:143 WOSerialNos.php:335 +#: WWW_Access.php:133 WWW_Users.php:351 includes/InputSerialItemsKeyed.php:60 +#: includes/OutputSerialItems.php:99 +#, php-format +msgid "Delete" +msgstr "삭제" + +#: AccountGroups.php:351 +msgid "An error occurred in retrieving the account group information" +msgstr "오류가 계정 그룹 정보를 검색 발생한" + +#: AccountGroups.php:352 +msgid "The SQL that was used to retrieve the account group and that failed in the process was" +msgstr "계정 그룹을 검색하는 데 사용하고 그 과정에서 실패 하였다 SQL이었다" + +#: AccountGroups.php:355 +msgid "The account group name does not exist in the database" +msgstr "계정 그룹 이름이 데이터베이스에 존재하지 않는다" + +#: AccountGroups.php:369 +msgid "Edit Account Group Details" +msgstr "계정 편집 그룹 세부 사항" + +#: AccountGroups.php:393 +msgid "New Account Group Details" +msgstr "새 계정 그룹 정보" + +#: AccountGroups.php:400 +msgid "Account Group Name" +msgstr "계정 그룹 이름" + +#: AccountGroups.php:401 +msgid "Enter the account group name" +msgstr "계정 그룹 이름을 입력합니다" + +#: AccountGroups.php:401 +msgid "A unique name for the account group must be entered - at least 3 characters long and less than 30 characters long. Only alpha numeric characters can be used." +msgstr "계정 그룹의 고유 한 이름을 입력해야합니다 - 최소 3 자 긴 미만 30 자. 영문자 및 숫자가 사용될 수있다." + +#: AccountGroups.php:410 AccountGroups.php:412 +msgid "Top Level Group" +msgstr "최상위 그룹" + +#: AccountGroups.php:426 +msgid "Section In Accounts" +msgstr "계정 섹션" + +#: AccountGroups.php:442 +msgid "Select YES if this account group will contain accounts that will consist of only profit and loss accounts or NO if the group will contain balance sheet account" +msgstr "그룹이 대차 대조표 계정을 포함 할 경우이 계정 그룹이 더 만 손익 계정 구성 또는 것이다 계정을 포함 할 경우 YES를 선택" + +#: AccountGroups.php:459 +msgid "Enter the sequence number that this account group and its child general ledger accounts should display in the trial balance" +msgstr "이 계정 그룹과 하위 총계정 원장 계정이 시험 균형을 표시해야합니다 일련 번호를 입력" + +#: AccountGroups.php:462 AccountSections.php:262 AddCustomerContacts.php:260 +#: AddCustomerNotes.php:242 AddCustomerTypeNotes.php:221 Areas.php:229 +#: BankAccounts.php:433 BOMs.php:818 COGSGLPostings.php:368 +#: CreditStatus.php:259 Currencies.php:534 CustLoginSetup.php:273 +#: Departments.php:258 DiscountMatrix.php:142 EDIMessageFormat.php:248 +#: FixedAssetCategories.php:350 FixedAssetLocations.php:161 +#: FreightCosts.php:371 GeocodeSetup.php:271 GLAccounts.php:265 Labels.php:641 +#: Locations.php:714 Manufacturers.php:312 MRPDemands.php:424 +#: MRPDemandTypes.php:188 OffersReceived.php:57 OffersReceived.php:146 +#: PaymentMethods.php:302 PaymentTerms.php:310 PO_AuthorisationLevels.php:264 +#: PriceMatrix.php:230 Prices_Customer.php:369 ProductSpecs.php:661 +#: QATests.php:359 SalesAnalReptCols.php:552 SalesAnalRepts.php:519 +#: SalesGLPostings.php:427 SalesPeople.php:381 SelectQASamples.php:531 +#: SelectQASamples.php:601 Shippers.php:203 StockCategories.php:653 +#: SupplierContacts.php:284 SuppLoginSetup.php:291 TaxAuthorities.php:327 +#: TaxCategories.php:244 TaxProvinces.php:234 TestPlanResults.php:967 +#: UnitsOfMeasure.php:241 WorkCentres.php:283 WWW_Users.php:774 +msgid "Enter Information" +msgstr "정보 입력" + +#: AccountSections.php:5 includes/MainMenuLinksArray.php:390 +msgid "Account Sections" +msgstr "계정 섹션" + +#: AccountSections.php:61 +msgid "The account section already exists in the database" +msgstr "계정 섹션은 데이터베이스에 이미" + +#: AccountSections.php:68 +msgid "The account section name cannot contain any illegal characters" +msgstr "계정 섹션 이름은 잘못된 문자를 포함 할 수 없습니다" + +#: AccountSections.php:74 +msgid "The account section name must contain at least one character" +msgstr "계정 섹션 이름은 적어도 하나의 문자를 포함해야합니다" + +#: AccountSections.php:80 AccountSections.php:86 +msgid "The section number must be an integer" +msgstr "섹션 번호는 정수 여야합니다" + +#: AccountSections.php:128 +msgid "Cannot delete this account section because general ledger accounts groups have been created using this section" +msgstr "원장이 섹션을 사용하여 생성 된 그룹을 차지하기 때문에이 계정 섹션을 삭제할 수 없습니다" + +#: AccountSections.php:130 +msgid "general ledger accounts groups that refer to this account section" +msgstr "총계정 원장이 계정 섹션을 참조 그룹 계정" + +#: AccountSections.php:142 +msgid "section has been deleted" +msgstr "섹션이 삭제되었습니다" + +#: AccountSections.php:167 +msgid "Could not get account group sections because" +msgstr "계정 그룹 섹션 인해를 가져올 수 없습니다" + +#: AccountSections.php:173 AccountSections.php:234 AccountSections.php:252 +msgid "Section Number" +msgstr "섹션 번호" + +#: AccountSections.php:174 AccountSections.php:257 +msgid "Section Description" +msgstr "섹션 설명" + +#: AccountSections.php:193 +msgid "Restricted" +msgstr "한정된" + +#: AccountSections.php:204 +msgid "Review Account Sections" +msgstr "검토 계정 섹션" + +#: AccountSections.php:223 +msgid "Could not retrieve the requested section please try again." +msgstr "요청 된 부분을 검색 할 수 없습니다 다시 시도하십시오." + +#: AddCustomerContacts.php:6 AddCustomerContacts.php:59 SelectCustomer.php:607 +#: SelectCustomer.php:642 +msgid "Customer Contacts" +msgstr "고객 연락처" + +#: AddCustomerContacts.php:20 CustEDISetup.php:9 CustLoginSetup.php:21 +#: Z_CheckDebtorsControl.php:14 +msgid "Back to Customers" +msgstr "돌아 가기 고객에게" + +#: AddCustomerContacts.php:25 +msgid "Contacts for Customer" +msgstr "고객 연락처" + +#: AddCustomerContacts.php:27 +msgid "Edit contact for" +msgstr "대한 연락처 편집" + +#: AddCustomerContacts.php:39 +msgid "The Contact ID must be an integer." +msgstr "연락 ID는 정수 여야합니다." + +#: AddCustomerContacts.php:42 +msgid "The contact name must be forty characters or less long" +msgstr "연락처 이름 사십 자 이하 여야합니다" + +#: AddCustomerContacts.php:45 +msgid "The contact name may not be empty" +msgstr "연락처 이름은 비워 둘 수 없습니다 수 있습니다" + +#: AddCustomerContacts.php:48 +msgid "The contact email address is not a valid email address" +msgstr "연락처 이메일 주소가 유효한 이메일 주소가 아닙니다" + +#: AddCustomerContacts.php:59 AddCustomerNotes.php:51 +#: AddCustomerTypeNotes.php:48 Areas.php:72 CustomerTypes.php:68 +#: DeliveryDetails.php:809 DeliveryDetails.php:826 Factors.php:105 +#: FixedAssetItems.php:250 MRPCalendar.php:176 PcAssignCashToTab.php:91 +#: PcClaimExpensesFromTab.php:82 PcExpenses.php:98 PcTabs.php:104 +#: PcTypeTabs.php:63 PO_Items.php:380 ProductSpecs.php:315 QATests.php:76 +#: SalesAnalReptCols.php:129 SalesPeople.php:105 SalesTypes.php:66 +#: SelectQASamples.php:85 Stocks.php:589 Suppliers.php:531 SupplierTypes.php:68 +msgid "has been updated" +msgstr "업데이트되었습니다" + +#: AddCustomerContacts.php:74 +msgid "The contact record has been added" +msgstr "연락처 레코드가 추가되었습니다" + +#: AddCustomerContacts.php:103 +msgid "The contact record has been deleted" +msgstr "연락처 기록이 삭제되었습니다" + +#: AddCustomerContacts.php:126 CompanyPreferences.php:173 +#: CustomerBranches.php:409 Customers.php:1118 Customers.php:1126 +#: ImportBankTransAnalysis.php:207 PrintWOItemSlip.php:184 +#: PrintWOItemSlip.php:195 PrintWOItemSlip.php:206 ProductSpecs.php:164 +#: ProductSpecs.php:385 QATests.php:391 SalesPeople.php:208 +#: SelectCustomer.php:610 StockDispatch.php:275 StockDispatch.php:286 +#: StockDispatch.php:297 SupplierContacts.php:152 SuppTransGLAnalysis.php:108 +#: Tax.php:411 TestPlanResults.php:508 UserLocations.php:176 +#: includes/InputSerialItemsFile.php:92 includes/InputSerialItemsFile.php:144 +msgid "Name" +msgstr "이름" + +#: AddCustomerContacts.php:127 AddCustomerContacts.php:223 Customers.php:1119 +#: Customers.php:1127 SelectCustomer.php:611 WWW_Access.php:113 +#: WWW_Access.php:179 +msgid "Role" +msgstr "역할" + +#: AddCustomerContacts.php:128 +msgid "Phone no" +msgstr "전화 없음" + +#: AddCustomerContacts.php:129 AddCustomerContacts.php:241 +#: CustomerAccount.php:345 CustomerBranches.php:415 CustomerBranches.php:856 +#: CustomerInquiry.php:324 CustomerInquiry.php:370 CustomerInquiry.php:409 +#: CustomerInquiry.php:444 CustomerInquiry.php:490 Customers.php:1121 +#: Customers.php:1129 EmailCustTrans.php:16 EmailCustTrans.php:65 +#: Factors.php:246 Factors.php:297 Locations.php:638 OrderDetails.php:115 +#: PDFRemittanceAdvice.php:251 PDFWOPrint.php:591 PDFWOPrint.php:594 +#: PDFWOPrint.php:674 PDFWOPrint.php:677 PO_PDFPurchOrder.php:400 +#: PO_PDFPurchOrder.php:403 PrintCustTrans.php:740 +#: PrintCustTransPortrait.php:793 PrintCustTransPortrait.php:1039 +#: PrintCustTransPortrait.php:1095 SelectCustomer.php:428 +#: SelectCustomer.php:613 SelectSupplier.php:288 SupplierContacts.php:156 +#: SupplierContacts.php:277 UserSettings.php:184 WWW_Users.php:304 +#: includes/PDFPickingListHeader.inc:25 includes/PDFStatementPageHeader.inc:67 +#: includes/PDFTransPageHeader.inc:85 +#: includes/PDFTransPageHeaderPortrait.inc:114 includes/PDFWOPageHeader.inc:19 +#: includes/PO_PDFOrderPageHeader.inc:29 ../webSHOP/Checkout.php:443 +#: ../webSHOP/Register.php:607 +msgid "Email" +msgstr "이메일" + +#: AddCustomerContacts.php:130 AddCustomerContacts.php:250 Customers.php:1122 +#: Customers.php:1130 PcAssignCashToTab.php:242 PcAssignCashToTab.php:380 +#: PcAuthorizeExpenses.php:97 PcClaimExpensesFromTab.php:238 +#: PcClaimExpensesFromTab.php:405 PcReportTab.php:333 PDFQuotation.php:252 +#: PDFQuotationPortrait.php:249 SelectCustomer.php:614 ShopParameters.php:198 +#: SystemParameters.php:411 WOSerialNos.php:306 WOSerialNos.php:312 +msgid "Notes" +msgstr "노트" + +#: AddCustomerContacts.php:149 SupplierContacts.php:166 +#, php-format +msgid "Are you sure you wish to delete this contact?" +msgstr "이 연락처를 삭제하려면 확실합니까?" + +#: AddCustomerContacts.php:168 +msgid "Review all contacts for this Customer" +msgstr "이 고객에 대한 모든 연락처를 검토" + +#: AddCustomerContacts.php:206 +msgid "Contact Code" +msgstr "연락 코드" + +#: AddCustomerContacts.php:214 Factors.php:234 SupplierContacts.php:239 +#: ../webSHOP/Checkout.php:527 ../webSHOP/Register.php:622 +msgid "Contact Name" +msgstr "담당자 이름" + +#: AddCustomerContacts.php:232 Contracts.php:781 PDFRemittanceAdvice.php:247 +#: PO_Header.php:1025 PO_Header.php:1110 SelectCreditItems.php:245 +#: SelectCustomer.php:426 SelectOrderItems.php:597 SupplierTenderCreate.php:395 +#: includes/PDFStatementPageHeader.inc:63 includes/PDFTransPageHeader.inc:84 +#: includes/PDFTransPageHeaderPortrait.inc:110 ../webSHOP/Checkout.php:537 +#: ../webSHOP/Register.php:260 ../webSHOP/Register.php:735 +msgid "Phone" +msgstr "전화" + +#: AddCustomerNotes.php:6 AddCustomerNotes.php:51 SelectCustomer.php:657 +#: SelectCustomer.php:690 +msgid "Customer Notes" +msgstr "고객주의 사항" + +#: AddCustomerNotes.php:21 AddCustomerTypeNotes.php:19 +msgid "Back to Select Customer" +msgstr "돌아 가기 고객을 선택합니다" + +#: AddCustomerNotes.php:34 +msgid "The contact priority must be an integer." +msgstr "연락처 우선 순위는 정수 여야합니다." + +#: AddCustomerNotes.php:37 +msgid "The contact's notes must be two hundred characters or less long" +msgstr "연락처의 메모 이백 자 이하 여야합니다" + +#: AddCustomerNotes.php:40 +msgid "The contact's notes may not be empty" +msgstr "연락처의 메모가 비어하지 않을 수 있습니다" + +#: AddCustomerNotes.php:64 +msgid "The contact notes record has been added" +msgstr "연락처 메모 기록이 추가되었습니다" + +#: AddCustomerNotes.php:91 +msgid "The contact note record has been deleted" +msgstr "연락처 메모 기록이 삭제되었습니다" + +#: AddCustomerNotes.php:101 +msgid "Notes for Customer" +msgstr "고객에 대한주의 사항" + +#: AddCustomerNotes.php:117 AddCustomerNotes.php:222 +#: AddCustomerTypeNotes.php:111 AddCustomerTypeNotes.php:211 +#: AgedControlledInventory.php:47 BankMatching.php:281 +#: BankReconciliation.php:212 BankReconciliation.php:289 +#: ContractCosting.php:177 CustomerAccount.php:248 CustomerAllocations.php:348 +#: CustomerAllocations.php:378 CustomerInquiry.php:251 +#: CustomerTransInquiry.php:100 GLAccountInquiry.php:173 +#: GLAccountReport.php:343 GLTransInquiry.php:47 GoodsReceived.php:109 +#: MRPCalendar.php:219 PaymentAllocations.php:66 PcAssignCashToTab.php:238 +#: PcAuthorizeExpenses.php:93 PDFRemittanceAdvice.php:308 PDFWOPrint.php:448 +#: PrintCustTrans.php:822 PrintCustTransPortrait.php:907 +#: PrintWOItemSlip.php:186 PrintWOItemSlip.php:197 PrintWOItemSlip.php:208 +#: ReverseGRN.php:398 SelectCustomer.php:660 SelectCustomer.php:702 +#: ShipmentCosting.php:538 ShipmentCosting.php:615 Shipments.php:489 +#: StockDispatch.php:277 StockDispatch.php:288 StockDispatch.php:299 +#: StockLocMovements.php:92 StockMovements.php:100 +#: StockSerialItemResearch.php:82 SupplierAllocations.php:456 +#: SupplierAllocations.php:569 SupplierAllocations.php:644 +#: SupplierInquiry.php:210 SupplierTransInquiry.php:105 Tax.php:408 +#: includes/PDFQuotationPageHeader.inc:23 +#: includes/PDFQuotationPortraitPageHeader.inc:80 +#: includes/PDFStatementPageHeader.inc:169 includes/PDFTransPageHeader.inc:51 +#: includes/PDFTransPageHeaderPortrait.inc:63 +msgid "Date" +msgstr "날짜" + +#: AddCustomerNotes.php:118 AddCustomerTypeNotes.php:112 PcReportTab.php:180 +#: SelectCustomer.php:661 SelectCustomer.php:703 StockClone.php:926 +#: Stocks.php:1260 UpgradeDatabase.php:244 UpgradeDatabase.php:247 +#: UpgradeDatabase.php:250 UpgradeDatabase.php:253 UpgradeDatabase.php:256 +#: UpgradeDatabase.php:259 UpgradeDatabase.php:262 UpgradeDatabase.php:265 +#: UpgradeDatabase.php:268 Z_Upgrade_3.10-3.11.php:62 +#: Z_Upgrade_3.10-3.11.php:66 Z_Upgrade_3.10-3.11.php:70 +#: Z_Upgrade_3.10-3.11.php:74 Z_Upgrade_3.10-3.11.php:78 +#: Z_Upgrade_3.11-4.00.php:62 Z_Upgrade_3.11-4.00.php:66 +#: Z_Upgrade_3.11-4.00.php:70 Z_Upgrade_3.11-4.00.php:74 +#: Z_Upgrade_3.11-4.00.php:78 +msgid "Note" +msgstr "노트" + +#: AddCustomerNotes.php:119 AddCustomerNotes.php:213 +msgid "WWW" +msgstr "WWW" + +#: AddCustomerNotes.php:120 AddCustomerNotes.php:231 +#: AddCustomerTypeNotes.php:114 AddCustomerTypeNotes.php:215 +#: SelectCustomer.php:663 SelectCustomer.php:705 +msgid "Priority" +msgstr "우선" + +#: AddCustomerNotes.php:138 +#, php-format +msgid "Are you sure you wish to delete this customer note?" +msgstr "이 고객 쪽지를 삭제하고자하는 확실하고 있습니까?" + +#: AddCustomerNotes.php:157 +msgid "Review all notes for this Customer" +msgstr "이 고객에 대한 모든 노트를 검토" + +#: AddCustomerNotes.php:196 AddCustomerTypeNotes.php:189 +msgid "Note ID" +msgstr "ID를 참고" + +#: AddCustomerNotes.php:204 +msgid "Contact Note" +msgstr "연락 주" + +#: AddCustomerTypeNotes.php:5 SelectCustomer.php:699 +msgid "Customer Type (Group) Notes" +msgstr "고객 유형 (그룹) 참고" + +#: AddCustomerTypeNotes.php:31 +msgid "The Contact priority must be an integer." +msgstr "연락 우선 순위는 정수 여야합니다." + +#: AddCustomerTypeNotes.php:34 +msgid "The contacts notes must be two hundred characters or less long" +msgstr "연락처 노트는 이백 자 이하 여야합니다" + +#: AddCustomerTypeNotes.php:37 +msgid "The contacts notes may not be empty" +msgstr "연락처 노트는 비어있을 수 없습니다" + +#: AddCustomerTypeNotes.php:48 SelectCustomer.php:731 +msgid "Customer Group Notes" +msgstr "고객 그룹 노트" + +#: AddCustomerTypeNotes.php:61 +msgid "The contact group notes record has been added" +msgstr "연락처 그룹 노트 기록이 추가되었습니다" + +#: AddCustomerTypeNotes.php:84 +msgid "The contact group note record has been deleted" +msgstr "연락처 그룹 노트 기록이 삭제되었습니다" + +#: AddCustomerTypeNotes.php:94 +msgid "Notes for Customer Type" +msgstr "고객 유형에 대한주의 사항" + +#: AddCustomerTypeNotes.php:113 +msgid "href" +msgstr "HREF" + +#: AddCustomerTypeNotes.php:150 +msgid "Review all notes for this Customer Type" +msgstr "이 고객 유형에 대한 모든 노트를 검토" + +#: AddCustomerTypeNotes.php:203 +msgid "Contact Group Note" +msgstr "연락 그룹 노트" + +#: AddCustomerTypeNotes.php:207 +msgid "Web site" +msgstr "웹 사이트" + +#: AgedControlledInventory.php:8 +msgid "Aged Controlled Inventory" +msgstr "노인 제어 재고" + +#: AgedControlledInventory.php:8 +msgid "as-of" +msgstr "현재" + +#: AgedControlledInventory.php:12 InventoryQuantities.php:155 +#: InventoryValuation.php:217 Locations.php:12 MRPCalendar.php:21 +#: MRPCreateDemands.php:197 MRPDemands.php:27 MRPDemandTypes.php:17 MRP.php:542 +#: MRPPlannedPurchaseOrders.php:265 MRPPlannedWorkOrders.php:247 +#: MRPPlannedWorkOrders.php:321 PricesByCost.php:8 ReorderLevelLocation.php:12 +#: ReorderLevel.php:194 SelectProduct.php:89 StockDispatch.php:319 +#: StockMovements.php:22 StockQties_csv.php:8 StockQuantityByDate.php:10 +#: StockReorderLevel.php:20 StockSerialItemResearch.php:9 +#: StockSerialItems.php:9 StockStatus.php:45 StockTransferControlled.php:14 +#: SuppLoginSetup.php:24 WWW_Users.php:15 includes/MainMenuLinksArray.php:26 +msgid "Inventory" +msgstr "목록" + +#: AgedControlledInventory.php:32 +msgid "The stock held could not be retrieved because" +msgstr "보유 재고가 있기 때문에 검색 할 수 없습니다" + +#: AgedControlledInventory.php:42 MRPReschedules.php:126 MRPShortages.php:261 +#: StockClone.php:53 Stocks.php:63 +msgid "Stock" +msgstr "재고" + +#: AgedControlledInventory.php:43 AutomaticTranslationDescriptions.php:37 +#: BOMIndented.php:315 BOMIndentedReverse.php:293 BOMInquiry.php:109 +#: BOMInquiry.php:198 BOMs.php:567 BOMs.php:914 ContractBOM.php:242 +#: ContractBOM.php:354 ContractOtherReqts.php:98 CounterReturns.php:1692 +#: CounterSales.php:2102 CounterSales.php:2256 CreditStatus.php:152 +#: CreditStatus.php:243 CustomerPurchases.php:81 EmailConfirmation.php:219 +#: EmailConfirmation.php:349 FixedAssetCategories.php:167 +#: FixedAssetDepreciation.php:91 FixedAssetRegister.php:87 +#: FixedAssetRegister.php:388 FixedAssetTransfer.php:60 +#: FixedAssetTransfer.php:162 GLTags.php:63 GLTags.php:82 GLTransInquiry.php:49 +#: GoodsReceived.php:101 InternalStockCategoriesByRole.php:168 +#: InternalStockRequest.php:345 InternalStockRequest.php:559 +#: InternalStockRequest.php:629 InventoryPlanning.php:419 +#: InventoryQuantities.php:246 InventoryValuation.php:197 Labels.php:290 +#: MaintenanceTasks.php:95 MaintenanceUserSchedule.php:50 +#: MaterialsNotUsed.php:35 MRPDemands.php:92 MRPDemands.php:295 +#: MRPDemandTypes.php:113 MRPPlannedWorkOrders.php:258 MRPReport.php:564 +#: MRPReport.php:778 MRPReschedules.php:192 MRPShortages.php:350 +#: NoSalesItems.php:194 PaymentTerms.php:182 PcExpenses.php:190 +#: PcExpenses.php:296 PcExpensesTypeTab.php:171 PcReportTab.php:178 +#: PcTypeTabs.php:164 PDFCOA.php:64 PDFOrdersInvoiced.php:335 +#: PDFOrderStatus.php:337 PDFSalesBySalesperson.php:86 PDFWeeklyOrders.php:82 +#: PO_Items.php:716 PO_Items.php:1189 PO_SelectOSPurchOrder.php:308 +#: PO_SelectPurchOrder.php:214 PricesByCost.php:153 RelatedItemsUpdate.php:154 +#: ReorderLevelLocation.php:73 ReorderLevel.php:298 ReverseGRN.php:397 +#: SalesCategories.php:509 SecurityTokens.php:94 SecurityTokens.php:103 +#: SecurityTokens.php:120 SelectAsset.php:264 SelectCompletedOrder.php:505 +#: SelectContract.php:147 SelectCreditItems.php:1021 SelectOrderItems.php:1477 +#: SelectOrderItems.php:1639 SelectProduct.php:522 SelectProduct.php:748 +#: SelectQASamples.php:299 SelectQASamples.php:397 SelectSalesOrder.php:560 +#: SelectWorkOrder.php:219 Shipt_Select.php:191 StockClone.php:680 +#: StockCounts.php:142 StockDispatch.php:504 StockLocStatus.php:173 +#: StockQuantityByDate.php:109 Stocks.php:1013 SuppCreditGRNs.php:92 +#: SuppCreditGRNs.php:192 SuppFixedAssetChgs.php:78 SuppInvGRNs.php:120 +#: SuppInvGRNs.php:258 SupplierCredit.php:317 SupplierCredit.php:385 +#: SupplierInvoice.php:666 SupplierInvoice.php:746 SupplierPriceList.php:39 +#: SupplierPriceList.php:271 SupplierPriceList.php:533 +#: SupplierTenderCreate.php:434 SupplierTenderCreate.php:695 +#: SupplierTenderCreate.php:853 SupplierTenders.php:326 SupplierTenders.php:421 +#: SupplierTenders.php:687 SuppPriceList.php:309 TestPlanResults.php:177 +#: TestPlanResults.php:280 TopItems.php:170 WorkCentres.php:128 +#: WorkOrderCosting.php:98 WorkOrderCosting.php:130 WorkOrderEntry.php:735 +#: WorkOrderIssue.php:761 Z_ItemsWithoutPicture.php:33 +#: includes/DefineLabelClass.php:12 includes/DefineLabelClass.php:45 +#: includes/PDFGrnHeader.inc:29 includes/PDFInventoryPlanPageHeader.inc:51 +#: includes/PDFOstdgGRNsPageHeader.inc:38 +#: includes/PDFStockLocTransferHeader.inc:65 +#: includes/PDFStockTransferHeader.inc:36 includes/PDFTopItemsHeader.inc:50 +#: includes/PDFTransPageHeader.inc:211 +#: includes/PDFTransPageHeaderPortrait.inc:267 api/api_xml-rpc.php:3489 +#: ../webSHOP/includes/PlaceOrder.php:250 +msgid "Description" +msgstr "기술" + +#: AgedControlledInventory.php:44 PDFBankingSummary.php:39 +msgid "Batch" +msgstr "일괄" + +#: AgedControlledInventory.php:45 +msgid "Quantity Remaining" +msgstr "남은 수량" + +#: AgedControlledInventory.php:46 +msgid "Inventory Value" +msgstr "재고 값" + +#: AgedControlledInventory.php:48 +msgid "Days Old" +msgstr "일 이전" + +#: AgedControlledInventory.php:91 ConfirmDispatch_Invoice.php:309 +#: ConfirmDispatch_Invoice.php:313 CounterReturns.php:676 +#: CounterReturns.php:756 CounterSales.php:759 CounterSales.php:853 +#: CounterSales.php:855 Credit_Invoice.php:298 Credit_Invoice.php:302 +#: CustomerAllocations.php:349 CustomerAllocations.php:379 +#: CustomerInquiry.php:256 DeliveryDetails.php:884 DeliveryDetails.php:953 +#: GLBalanceSheet.php:195 GLBalanceSheet.php:207 GLBalanceSheet.php:297 +#: GLBalanceSheet.php:306 GLBudgets.php:213 GLJournal.php:435 +#: GLTransInquiry.php:195 GLTrialBalance.php:223 GLTrialBalance.php:243 +#: GLTrialBalance.php:264 GLTrialBalance.php:360 GLTrialBalance.php:491 +#: GLTrialBalance.php:511 GLTrialBalance.php:535 GLTrialBalance.php:647 +#: GLTrialBalance.php:667 GLTrialBalance.php:691 InventoryValuation.php:197 +#: MaterialsNotUsed.php:77 OffersReceived.php:111 OrderDetails.php:177 +#: OutstandingGRNs.php:246 PDFCustTransListing.php:137 +#: PDFOrdersInvoiced.php:379 PDFRemittanceAdvice.php:310 +#: PDFSuppTransListing.php:131 RecurringSalesOrders.php:335 +#: SalesByTypePeriodInquiry.php:395 SalesByTypePeriodInquiry.php:430 +#: SalesByTypePeriodInquiry.php:465 SalesByTypePeriodInquiry.php:500 +#: SalesByTypePeriodInquiry.php:561 SelectCreditItems.php:692 +#: SelectCreditItems.php:696 SelectOrderItems.php:1317 SuppContractChgs.php:107 +#: SuppFixedAssetChgs.php:97 SupplierAllocations.php:458 +#: SupplierAllocations.php:570 SupplierAllocations.php:645 +#: SupplierCredit.php:407 SupplierInquiry.php:215 SuppShiptChgs.php:97 +#: SuppTransGLAnalysis.php:139 Tax.php:250 Z_CheckDebtorsControl.php:149 +#: includes/PDFQuotationPageHeader.inc:109 +#: includes/PDFQuotationPortraitPageHeader.inc:100 +#: includes/PO_PDFOrderPageHeader.inc:81 api/api_debtortransactions.php:1271 +#: api/api_debtortransactions.php:1284 api/api_debtortransactions.php:1581 +#: ../webSHOP/includes/DisplayShoppingCart.php:8 +#: ../webSHOP/includes/PlaceOrder.php:299 +#, php-format +msgid "Total" +msgstr "합계" + +#: AgedDebtors.php:14 +msgid "Aged Customer Balance Listing" +msgstr "노인 고객 밸런스 리스팅" + +#: AgedDebtors.php:15 +msgid "Aged Customer Balances" +msgstr "노인 고객 잔액" + +#: AgedDebtors.php:267 AgedDebtors.php:369 AgedDebtors.php:434 +msgid "Aged Customer Account Analysis" +msgstr "노인 고객 계정 분석" + +#: AgedDebtors.php:267 AgedDebtors.php:369 AgedDebtors.php:434 +#: AgedSuppliers.php:108 BOMExtendedQty.php:154 BOMIndented.php:153 +#: BOMIndentedReverse.php:140 BOMListing.php:42 BOMListing.php:53 +#: DebtorsAtPeriodEnd.php:57 DebtorsAtPeriodEnd.php:69 GLBalanceSheet.php:112 +#: GLBalanceSheet.php:151 GLProfit_Loss.php:187 GLTagProfit_Loss.php:194 +#: GLTrialBalance.php:165 InternalStockRequest.php:320 InventoryPlanning.php:99 +#: InventoryPlanning.php:176 InventoryPlanning.php:213 +#: InventoryPlanning.php:262 InventoryPlanningPrefSupplier.php:183 +#: InventoryPlanningPrefSupplier.php:241 InventoryPlanningPrefSupplier.php:268 +#: InventoryPlanningPrefSupplier.php:301 InventoryQuantities.php:84 +#: InventoryValuation.php:64 MailInventoryValuation.php:22 +#: MailInventoryValuation.php:120 MailSalesReport_csv.php:30 +#: MailSalesReport.php:23 MRPPlannedPurchaseOrders.php:114 +#: MRPPlannedWorkOrders.php:106 MRPReport.php:147 MRPReport.php:536 +#: MRPReschedules.php:45 MRPReschedules.php:57 MRPShortages.php:155 +#: MRPShortages.php:167 OutstandingGRNs.php:46 OutstandingGRNs.php:59 +#: PDFCustomerList.php:20 PDFCustomerList.php:232 PDFCustomerList.php:244 +#: PDFLowGP.php:20 PDFSalesBySalesperson.php:15 +#: PDFSellThroughSupportClaim.php:17 PDFStockCheckComparison.php:33 +#: PDFStockCheckComparison.php:59 PDFStockCheckComparison.php:267 +#: PDFWeeklyOrders.php:15 PurchaseByPrefSupplier.php:399 +#: PurchaseByPrefSupplier.php:447 PurchaseByPrefSupplier.php:471 +#: PurchaseByPrefSupplier.php:500 PurchaseByPrefSupplier.php:531 +#: ReorderLevel.php:60 SelectAsset.php:39 SelectProduct.php:45 +#: StockCheck.php:60 StockCheck.php:132 SupplierTenderCreate.php:671 +#: SupplierTenders.php:397 SuppPriceList.php:138 +#: includes/PDFPaymentRun_PymtFooter.php:152 +msgid "Problem Report" +msgstr "문제 보고서" + +#: AgedDebtors.php:269 CustomerAccount.php:210 CustomerInquiry.php:116 +#: CustomerInquiry.php:141 CustomerPurchases.php:29 Dashboard.php:145 +#: DebtorsAtPeriodEnd.php:59 +msgid "The customer details could not be retrieved by the SQL because" +msgstr "고객의 세부 사항은 SQL 때문에 검색 할 수 없습니다" + +#: AgedDebtors.php:270 AgedDebtors.php:372 AgedDebtors.php:437 +#: AgedSuppliers.php:111 AgedSuppliers.php:198 BOMExtendedQty.php:157 +#: BOMExtendedQty.php:244 BOMIndented.php:156 BOMIndented.php:237 +#: BOMIndentedReverse.php:144 BOMIndentedReverse.php:222 BOMListing.php:45 +#: Credit_Invoice.php:201 Dashboard.php:146 Dashboard.php:257 Dashboard.php:438 +#: DebtorsAtPeriodEnd.php:60 DebtorsAtPeriodEnd.php:72 FTP_RadioBeacon.php:187 +#: GetStockImage.php:150 GLBalanceSheet.php:116 GLBalanceSheet.php:154 +#: GLBalanceSheet.php:333 GLProfit_Loss.php:190 GLProfit_Loss.php:202 +#: GLTagProfit_Loss.php:198 GLTagProfit_Loss.php:211 GLTrialBalance.php:168 +#: GLTrialBalance.php:180 InventoryPlanning.php:102 InventoryPlanning.php:179 +#: InventoryPlanning.php:216 InventoryPlanning.php:265 +#: InventoryPlanning.php:340 InventoryPlanningPrefSupplier.php:186 +#: InventoryPlanningPrefSupplier.php:244 InventoryPlanningPrefSupplier.php:271 +#: InventoryPlanningPrefSupplier.php:304 InventoryPlanningPrefSupplier.php:372 +#: InventoryQuantities.php:87 InventoryQuantities.php:98 +#: InventoryValuation.php:67 InventoryValuation.php:92 +#: MailInventoryValuation.php:123 MailInventoryValuation.php:219 +#: MailInventoryValuation.php:243 MailInventoryValuation.php:251 +#: MRPPlannedPurchaseOrders.php:117 MRPPlannedPurchaseOrders.php:128 +#: MRPPlannedWorkOrders.php:109 MRPPlannedWorkOrders.php:120 +#: MRPPlannedWorkOrders.php:311 MRPReport.php:39 MRPReport.php:50 +#: MRPReport.php:150 MRPReschedules.php:48 MRPReschedules.php:60 +#: MRPShortages.php:158 MRPShortages.php:170 OutstandingGRNs.php:49 +#: OutstandingGRNs.php:62 PDFCustomerList.php:235 PDFCustomerList.php:247 +#: PDFFGLabel.php:217 PDFGLJournal.php:100 PDFGrn.php:176 PDFLowGP.php:59 +#: PDFLowGP.php:71 PDFPriceList.php:147 PDFPrintLabel.php:45 PDFQALabel.php:116 +#: PDFQuotation.php:276 PDFQuotationPortrait.php:268 PDFRemittanceAdvice.php:83 +#: PDFSalesBySalesperson.php:160 PDFSalesBySalesperson.php:168 +#: PDFSellThroughSupportClaim.php:74 PDFSellThroughSupportClaim.php:86 +#: PDFStockCheckComparison.php:37 PDFStockCheckComparison.php:63 +#: PDFStockCheckComparison.php:271 PDFWeeklyOrders.php:209 +#: PDFWeeklyOrders.php:217 PDFWOPrint.php:109 PO_PDFPurchOrder.php:31 +#: PO_PDFPurchOrder.php:156 PrintCustOrder_generic.php:256 +#: PrintCustOrder.php:238 PrintWOItemSlip.php:122 +#: PurchaseByPrefSupplier.php:402 PurchaseByPrefSupplier.php:450 +#: PurchaseByPrefSupplier.php:474 PurchaseByPrefSupplier.php:503 +#: PurchaseByPrefSupplier.php:534 ReorderLevel.php:63 ReorderLevel.php:182 +#: SalesAnalysis_UserDefined.php:28 SelectCreditItems.php:32 StockCheck.php:42 +#: StockCheck.php:63 StockCheck.php:93 StockCheck.php:135 StockCheck.php:146 +#: StockCheck.php:188 StockDispatch.php:128 StockDispatch.php:141 +#: SupplierBalsAtPeriodEnd.php:54 SupplierBalsAtPeriodEnd.php:65 +#: SuppPaymentRun.php:112 SuppPaymentRun.php:122 SuppPaymentRun.php:186 +#: SuppPaymentRun.php:217 SuppPriceList.php:142 Tax.php:57 Tax.php:171 +#: Tax.php:310 Z_DataExport.php:72 Z_DataExport.php:168 Z_DataExport.php:259 +#: Z_DataExport.php:308 Z_DataExport.php:347 Z_DataExport.php:383 +#: Z_DataExport.php:419 Z_DataExport.php:471 Z_poRebuildDefault.php:41 +#: includes/PDFPaymentRun_PymtFooter.php:59 +#: includes/PDFPaymentRun_PymtFooter.php:89 +#: includes/PDFPaymentRun_PymtFooter.php:119 +#: includes/PDFPaymentRun_PymtFooter.php:156 +#: includes/PDFPaymentRun_PymtFooter.php:187 +#: includes/PDFPaymentRun_PymtFooter.php:218 +#: includes/ConstructSQLForUserDefinedSalesReport.inc:180 +#: includes/ConstructSQLForUserDefinedSalesReport.inc:188 +#: includes/ConstructSQLForUserDefinedSalesReport.inc:343 +msgid "Back to the menu" +msgstr "위로 메뉴로" + +#: AgedDebtors.php:371 Dashboard.php:256 +msgid "The details of outstanding transactions for customer" +msgstr "고객에 대한 뛰어난 거래의 세부 사항" + +#: AgedDebtors.php:371 AgedSuppliers.php:197 Dashboard.php:256 +#: GLAccountCSV.php:175 GLAccountInquiry.php:161 GLAccountReport.php:97 +#: PO_Items.php:451 PO_Items.php:580 PO_Items.php:605 +#: PurchaseByPrefSupplier.php:29 PurchaseByPrefSupplier.php:54 +#: SalesAnalReptCols.php:365 SpecialOrder.php:448 +#: StockLocTransferReceive.php:481 StockQuantityByDate.php:124 +#: includes/SelectOrderItems_IntoCart.inc:55 +msgid "could not be retrieved because" +msgstr "because 검색 할 수 없습니다" + +#: AgedDebtors.php:374 AgedSuppliers.php:200 Areas.php:94 +#: ConfirmDispatch_Invoice.php:172 ConfirmDispatch_Invoice.php:1005 +#: ConfirmDispatch_Invoice.php:1019 Contracts.php:592 CounterReturns.php:1024 +#: CounterReturns.php:1038 CounterSales.php:1425 CounterSales.php:1439 +#: Credit_Invoice.php:753 Credit_Invoice.php:774 CustItem.php:73 +#: CustItem.php:86 CustItem.php:197 CustomerReceipt.php:574 +#: CustomerReceipt.php:726 CustomerReceipt.php:754 CustomerTransInquiry.php:91 +#: Dashboard.php:259 Dashboard.php:440 DeliveryDetails.php:412 +#: GLProfit_Loss.php:611 GLTagProfit_Loss.php:515 Payments.php:361 +#: PDFRemittanceAdvice.php:85 PurchData.php:114 PurchData.php:132 +#: PurchData.php:360 RecurringSalesOrders.php:267 ReverseGRN.php:192 +#: ReverseGRN.php:206 ReverseGRN.php:385 SelectCreditItems.php:1447 +#: SelectSalesOrder.php:209 SelectSalesOrder.php:375 SellThroughSupport.php:81 +#: SellThroughSupport.php:97 SMTPServer.php:66 StockCheck.php:217 +#: StockClone.php:430 StockClone.php:504 StockCostUpdate.php:78 +#: StockCostUpdate.php:88 StockLocStatus.php:165 +#: StockLocTransferReceive.php:216 StockLocTransferReceive.php:369 +#: StockMovements.php:93 StockQuantityByDate.php:98 StockReorderLevel.php:45 +#: StockStatus.php:285 StockTransfers.php:202 StockTransfers.php:232 +#: StockTransfers.php:387 StockUsageGraph.php:55 StockUsage.php:142 +#: SupplierInquiry.php:79 SupplierInquiry.php:101 SupplierInquiry.php:139 +#: SupplierInquiry.php:195 SupplierPriceList.php:382 +#: SupplierTransInquiry.php:97 SuppPaymentRun.php:114 SuppPaymentRun.php:188 +#: SuppPaymentRun.php:219 WorkOrderCosting.php:427 WorkOrderReceive.php:305 +#: WOSerialNos.php:49 Z_ChangeBranchCode.php:112 Z_ChangeCustomerCode.php:97 +#: Z_ChangeSupplierCode.php:88 Z_DeleteCreditNote.php:63 +#: Z_DeleteCreditNote.php:73 Z_DeleteCreditNote.php:82 Z_DeleteInvoice.php:88 +#: Z_DeleteInvoice.php:98 Z_DeleteInvoice.php:110 Z_UpdateItemCosts.php:90 +#: includes/PDFPaymentRun_PymtFooter.php:61 +#: includes/PDFPaymentRun_PymtFooter.php:91 +#: includes/PDFPaymentRun_PymtFooter.php:121 +#: includes/PDFPaymentRun_PymtFooter.php:158 +#: includes/PDFPaymentRun_PymtFooter.php:189 includes/ConnectDB_mysqli.inc:74 +#: includes/ConnectDB_mysql.inc:66 ../webSHOP/includes/DatabaseFunctions.php:60 +#: ../webSHOP/includes/Functions.php:448 ../webSHOP/includes/PlaceOrder.php:68 +msgid "The SQL that failed was" +msgstr "실패한 SQL이었다" + +#: AgedDebtors.php:436 +msgid "There are no customers with balances meeting the criteria specified to list" +msgstr "목록에 지정된 기준을 충족 저울에는 고객이 없습니다" + +#: AgedDebtors.php:447 +msgid "Aged Debtor Analysis" +msgstr "노인 채무자 분석" + +#: AgedDebtors.php:465 DebtorsAtPeriodEnd.php:142 +msgid "From Customer Code" +msgstr "고객 코드에서" + +#: AgedDebtors.php:466 +msgid "Enter the first customer code alphabetically to include in the report" +msgstr "보고서에 포함 할 순으로 첫 번째 고객 코드를 입력" + +#: AgedDebtors.php:469 DebtorsAtPeriodEnd.php:146 +msgid "To Customer Code" +msgstr "고객 코드" + +#: AgedDebtors.php:470 +msgid "Enter the last customer code alphabetically to include in the report" +msgstr "보고서에 포함 할 순으로 마지막 고객 코드를 입력" + +#: AgedDebtors.php:473 AgedSuppliers.php:295 +msgid "All balances or overdues only" +msgstr "모든 균형 또는 overdues 만" + +#: AgedDebtors.php:475 +msgid "All customers with balances" +msgstr "균형을 모든 고객" + +#: AgedDebtors.php:476 AgedSuppliers.php:298 +msgid "Overdue accounts only" +msgstr "연체 계정 만" + +#: AgedDebtors.php:477 +msgid "Held accounts only" +msgstr "개최 계정 만" + +#: AgedDebtors.php:482 +msgid "Only Show Customers Of" +msgstr "만보기 고객" + +#: AgedDebtors.php:493 +msgid "All Sales people" +msgstr "모든 판매 사람들" + +#: AgedDebtors.php:501 +msgid "Only show customers trading in" +msgstr "고객 만이에 거래 보여" + +#: AgedDebtors.php:517 +msgid "Summary or detailed report" +msgstr "요약 또는 상세 보고서" + +#: AgedDebtors.php:519 AgedSuppliers.php:320 InventoryValuation.php:265 +msgid "Summary Report" +msgstr "요약 보고서" + +#: AgedDebtors.php:520 AgedSuppliers.php:321 InventoryValuation.php:266 +msgid "Detailed Report" +msgstr "자세한 보고서" + +#: AgedDebtors.php:527 AgedSuppliers.php:327 BOMExtendedQty.php:289 +#: BOMIndented.php:278 BOMIndentedReverse.php:255 BOMListing.php:131 +#: DebtorsAtPeriodEnd.php:168 InventoryPlanning.php:521 +#: InventoryPlanningPrefSupplier.php:437 InventoryQuantities.php:210 +#: InventoryValuation.php:272 MRPPlannedPurchaseOrders.php:294 +#: MRPPlannedWorkOrders.php:348 MRPReschedules.php:153 MRPShortages.php:303 +#: OutstandingGRNs.php:280 PDFCustomerList.php:421 PDFLowGP.php:146 +#: PDFPriceList.php:351 PDFRemittanceAdvice.php:175 +#: PDFStockCheckComparison.php:373 PrintCustTrans.php:564 +#: PrintCustTransPortrait.php:614 ReorderLevel.php:259 StockDispatch.php:447 +#: SupplierBalsAtPeriodEnd.php:1... [truncated message content] |
From: <rc...@us...> - 2015-09-14 16:08:55
|
Revision: 7350 http://sourceforge.net/p/web-erp/reponame/7350 Author: rchacon Date: 2015-09-14 16:08:50 +0000 (Mon, 14 Sep 2015) Log Message: ----------- Rebuild languages files *.pot, *.po and *.mo to includes new texts. Modified Paths: -------------- trunk/AnalysisHorizontalIncome.php trunk/AnalysisHorizontalPosition.php trunk/doc/Change.log trunk/locale/ar_EG.utf8/LC_MESSAGES/messages.mo trunk/locale/ar_EG.utf8/LC_MESSAGES/messages.po trunk/locale/cs_CZ.utf8/LC_MESSAGES/messages.mo trunk/locale/cs_CZ.utf8/LC_MESSAGES/messages.po trunk/locale/de_DE.utf8/LC_MESSAGES/messages.mo trunk/locale/de_DE.utf8/LC_MESSAGES/messages.po trunk/locale/el_GR.utf8/LC_MESSAGES/messages.mo trunk/locale/el_GR.utf8/LC_MESSAGES/messages.po trunk/locale/en_GB.utf8/LC_MESSAGES/messages.pot trunk/locale/en_US.utf8/LC_MESSAGES/messages.mo trunk/locale/en_US.utf8/LC_MESSAGES/messages.po trunk/locale/es_ES.utf8/LC_MESSAGES/messages.mo trunk/locale/es_ES.utf8/LC_MESSAGES/messages.po trunk/locale/et_EE.utf8/LC_MESSAGES/messages.mo trunk/locale/et_EE.utf8/LC_MESSAGES/messages.po trunk/locale/fa_IR.utf8/LC_MESSAGES/messages.mo trunk/locale/fa_IR.utf8/LC_MESSAGES/messages.po trunk/locale/fr_CA.utf8/LC_MESSAGES/messages.mo trunk/locale/fr_CA.utf8/LC_MESSAGES/messages.po trunk/locale/fr_FR.utf8/LC_MESSAGES/messages.mo trunk/locale/fr_FR.utf8/LC_MESSAGES/messages.po trunk/locale/hi_IN.utf8/LC_MESSAGES/messages.mo trunk/locale/hi_IN.utf8/LC_MESSAGES/messages.po trunk/locale/hr_HR.utf8/LC_MESSAGES/messages.mo trunk/locale/hr_HR.utf8/LC_MESSAGES/messages.po trunk/locale/hu_HU.utf8/LC_MESSAGES/messages.mo trunk/locale/hu_HU.utf8/LC_MESSAGES/messages.po trunk/locale/id_ID.utf8/LC_MESSAGES/messages.mo trunk/locale/id_ID.utf8/LC_MESSAGES/messages.po trunk/locale/it_IT.utf8/LC_MESSAGES/messages.mo trunk/locale/it_IT.utf8/LC_MESSAGES/messages.po trunk/locale/ja_JP.utf8/LC_MESSAGES/messages.mo trunk/locale/ja_JP.utf8/LC_MESSAGES/messages.po trunk/locale/lv_LV.utf8/LC_MESSAGES/messages.mo trunk/locale/lv_LV.utf8/LC_MESSAGES/messages.po trunk/locale/mr_IN.utf8/LC_MESSAGES/messages.po trunk/locale/nl_NL.utf8/LC_MESSAGES/messages.mo trunk/locale/nl_NL.utf8/LC_MESSAGES/messages.po trunk/locale/pl_PL.utf8/LC_MESSAGES/messages.mo trunk/locale/pl_PL.utf8/LC_MESSAGES/messages.po trunk/locale/pt_BR.utf8/LC_MESSAGES/messages.mo trunk/locale/pt_BR.utf8/LC_MESSAGES/messages.po trunk/locale/pt_PT.utf8/LC_MESSAGES/messages.mo trunk/locale/pt_PT.utf8/LC_MESSAGES/messages.po trunk/locale/ro_RO.utf8/LC_MESSAGES/messages.mo trunk/locale/ro_RO.utf8/LC_MESSAGES/messages.po trunk/locale/ru_RU.utf8/LC_MESSAGES/messages.mo trunk/locale/ru_RU.utf8/LC_MESSAGES/messages.po trunk/locale/sq_AL.utf8/LC_MESSAGES/messages.mo trunk/locale/sq_AL.utf8/LC_MESSAGES/messages.po trunk/locale/sv_SE.utf8/LC_MESSAGES/messages.mo trunk/locale/sv_SE.utf8/LC_MESSAGES/messages.po trunk/locale/sw_KE.utf8/LC_MESSAGES/messages.mo trunk/locale/sw_KE.utf8/LC_MESSAGES/messages.po trunk/locale/tr_TR.utf8/LC_MESSAGES/messages.mo trunk/locale/tr_TR.utf8/LC_MESSAGES/messages.po trunk/locale/vi_VN.utf8/LC_MESSAGES/messages.mo trunk/locale/vi_VN.utf8/LC_MESSAGES/messages.po trunk/locale/zh_CN.utf8/LC_MESSAGES/messages.mo trunk/locale/zh_CN.utf8/LC_MESSAGES/messages.po trunk/locale/zh_HK.utf8/LC_MESSAGES/messages.mo trunk/locale/zh_HK.utf8/LC_MESSAGES/messages.po trunk/locale/zh_TW.utf8/LC_MESSAGES/messages.mo trunk/locale/zh_TW.utf8/LC_MESSAGES/messages.po Modified: trunk/AnalysisHorizontalIncome.php =================================================================== --- trunk/AnalysisHorizontalIncome.php 2015-09-14 14:43:19 UTC (rev 7349) +++ trunk/AnalysisHorizontalIncome.php 2015-09-14 16:08:50 UTC (rev 7350) @@ -1,9 +1,9 @@ <?php -/* $Id: AnalysisHorizontalIncome.php 7332 2015-08-04 03:27:51Z rchacon $*/ +/* $Id: AnalysisHorizontalIncome.php 7349 2015-09-14 14:43:19Z rchacon $*/ /* Shows the horizontal analysis of the statement of comprehensive income. */ -function RelativeDifference($SelectedPeriod, $PreviousPeriod) { - // Calculates the relative difference between selected and previous periods. Uses percent in locale number format. +function RelativeChange($SelectedPeriod, $PreviousPeriod) { + // Calculates the relative change between selected and previous periods. Uses percent with locale number format. if($PreviousPeriod<>0) { return locale_number_format(($SelectedPeriod-$PreviousPeriod)*100/$PreviousPeriod,$_SESSION['CompanyRecord']['decimalplaces']) . '%'; } else { @@ -32,7 +32,7 @@ echo '<div class="page_help_text">', _('Horizontal analysis (also known as trend analysis) is a financial statement analysis technique that shows changes in the amounts of corresponding financial statement items over a period of time. It is a useful tool to evaluate trend situations.'), '<br />', - _('The statements for two periods are used in horizontal analysis. The earliest period is used as the base period. The items on the later statement are compared with items on the statement of the base period. The changes are shown both in currency (absolute difference) and percentage (relative difference).'), '<br />', + _('The statements for two periods are used in horizontal analysis. The earliest period is used as the base period. The items on the later statement are compared with items on the statement of the base period. The changes are shown both in currency (actual change) and percentage (relative change).'), '<br />', _('webERP is an "accrual" based system (not a "cash based" system). Accrual systems include items when they are invoiced to the customer, and when expenses are owed based on the supplier invoice date.'), '</div>', // Show a form to allow input of criteria for the report to show: '<form method="post" action="', htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8'), '">', @@ -159,16 +159,16 @@ } echo '<th class="number">', ' - ', $myrow[0], '</th> <th class="number">', _('Last Year'), '</th> - <th class="number">', _('Absolute difference'), '</th> - <th class="number">', _('Relative difference'), '</th> + <th class="number">', _('Actual change'), '</th> + <th class="number">', _('Relative change'), '</th> </tr> </thead> <tfoot> <tr> - <td class="text" colspan="6">',// Prints an explanation of signs in absolute and relative differences: + <td class="text" colspan="6">',// Prints an explanation of signs in actual and relative changes: '<br /><b>', _('Notes'), ':</b><br />', - _('Absolute difference signs: a positive number indicates a variation that increases the net profit; a negative number indicates a variation that decreases the net profit.'), '<br />', - _('Relative difference signs: a positive number indicates an increase in the amount of that account; a negative number indicates a decrease in the amount of that account.'), '<br />', + _('Actual change signs: a positive number indicates a variation that increases the net profit; a negative number indicates a variation that decreases the net profit.'), '<br />', + _('Relative change signs: a positive number indicates an increase in the amount of that account; a negative number indicates a decrease in the amount of that account.'), '<br />', '</td> </tr> </tfoot> @@ -236,7 +236,7 @@ <td class="number">', locale_number_format(-$GrpTotal[$Level],$_SESSION['CompanyRecord']['decimalplaces']), '</td> <td class="number">', locale_number_format(-$GrpTotalLY[$Level],$_SESSION['CompanyRecord']['decimalplaces']), '</td> <td class="number">', locale_number_format(-$GrpTotal[$Level]+$GrpTotalLY[$Level],$_SESSION['CompanyRecord']['decimalplaces']), '</td> - <td class="number">', RelativeDifference(-$GrpTotal[$Level],-$GrpTotalLY[$Level]), '</td> + <td class="number">', RelativeChange(-$GrpTotal[$Level],-$GrpTotalLY[$Level]), '</td> </tr>'; $GrpTotal[$Level]=0; $GrpTotalLY[$Level]=0; @@ -260,7 +260,7 @@ <td class="number">', locale_number_format(-$GrpTotal[$Level],$_SESSION['CompanyRecord']['decimalplaces']), '</td> <td class="number">', locale_number_format(-$GrpTotalLY[$Level],$_SESSION['CompanyRecord']['decimalplaces']), '</td> <td class="number">', locale_number_format(-$GrpTotal[$Level]+$GrpTotalLY[$Level],$_SESSION['CompanyRecord']['decimalplaces']), '</td> - <td class="number">', RelativeDifference(-$GrpTotal[$Level],-$GrpTotalLY[$Level]), '</td> + <td class="number">', RelativeChange(-$GrpTotal[$Level],-$GrpTotalLY[$Level]), '</td> </tr>'; } else {// Costs // <--- @@ -269,7 +269,7 @@ <td class="number">', locale_number_format(-$GrpTotal[$Level],$_SESSION['CompanyRecord']['decimalplaces']), '</td> <td class="number">', locale_number_format(-$GrpTotalLY[$Level],$_SESSION['CompanyRecord']['decimalplaces']), '</td> <td class="number">', locale_number_format(-$GrpTotal[$Level]+$GrpTotalLY[$Level],$_SESSION['CompanyRecord']['decimalplaces']), '</td> - <td class="number">', RelativeDifference(-$GrpTotal[$Level],-$GrpTotalLY[$Level]), '</td> + <td class="number">', RelativeChange(-$GrpTotal[$Level],-$GrpTotalLY[$Level]), '</td> </tr>'; // ---> } @@ -291,7 +291,7 @@ <td class="number"><h2>', locale_number_format(-$SectionTotal,$_SESSION['CompanyRecord']['decimalplaces']), '</h2></td> <td class="number"><h2>', locale_number_format(-$SectionTotalLY,$_SESSION['CompanyRecord']['decimalplaces']), '</h2></td> <td class="number"><h2>', locale_number_format(-$SectionTotal+$SectionTotalLY,$_SESSION['CompanyRecord']['decimalplaces']), '</h2></td> - <td class="number"><h2>', RelativeDifference(-$SectionTotal,-$SectionTotalLY), '</h2></td> + <td class="number"><h2>', RelativeChange(-$SectionTotal,-$SectionTotalLY), '</h2></td> </tr>'; $GPIncome = $SectionTotal; $GPIncomeLY = $SectionTotalLY; @@ -301,7 +301,7 @@ <td class="number"><h2>', locale_number_format(-$SectionTotal,$_SESSION['CompanyRecord']['decimalplaces']), '</h2></td> <td class="number"><h2>', locale_number_format(-$SectionTotalLY,$_SESSION['CompanyRecord']['decimalplaces']), '</h2></td> <td class="number"><h2>', locale_number_format(-$SectionTotal+$SectionTotalLY,$_SESSION['CompanyRecord']['decimalplaces']), '</h2></td> - <td class="number"><h2>', RelativeDifference(-$SectionTotal,-$SectionTotalLY), '</h2></td> + <td class="number"><h2>', RelativeChange(-$SectionTotal,-$SectionTotalLY), '</h2></td> </tr>'; } @@ -312,7 +312,7 @@ <td class="number"><h2>', locale_number_format(-($GPIncome+$SectionTotal),$_SESSION['CompanyRecord']['decimalplaces']), '</h2></td> <td class="number"><h2>', locale_number_format(-($GPIncomeLY+$SectionTotalLY),$_SESSION['CompanyRecord']['decimalplaces']), '</h2></td> <td class="number"><h2>', locale_number_format(-($GPIncome+$SectionTotal)+($GPIncomeLY+$SectionTotalLY),$_SESSION['CompanyRecord']['decimalplaces']), '</h2></td> - <td class="number"><h2>', RelativeDifference(-($GPIncome+$SectionTotal),-($GPIncomeLY+$SectionTotalLY)), '</h2></td> + <td class="number"><h2>', RelativeChange(-($GPIncome+$SectionTotal),-($GPIncomeLY+$SectionTotalLY)), '</h2></td> </tr>'; } @@ -323,7 +323,7 @@ <td class="number"><h2>', locale_number_format(-$PeriodTotal,$_SESSION['CompanyRecord']['decimalplaces']), '</h2></td> <td class="number"><h2>', locale_number_format(-$PeriodTotalLY,$_SESSION['CompanyRecord']['decimalplaces']), '</h2></td> <td class="number"><h2>', locale_number_format(-$PeriodTotal+$PeriodTotalLY,$_SESSION['CompanyRecord']['decimalplaces']), '</h2></td> - <td class="number"><h2>', RelativeDifference(-$PeriodTotal,-$PeriodTotalLY), '</h2></td> + <td class="number"><h2>', RelativeChange(-$PeriodTotal,-$PeriodTotalLY), '</h2></td> </tr>'; echo $DrawTotalLine; } @@ -383,7 +383,7 @@ <td class="number">', locale_number_format(-$AccountTotal,$_SESSION['CompanyRecord']['decimalplaces']), '</td> <td class="number">', locale_number_format(-$AccountTotalLY,$_SESSION['CompanyRecord']['decimalplaces']), '</td> <td class="number">', locale_number_format(-$AccountTotal+$AccountTotalLY,$_SESSION['CompanyRecord']['decimalplaces']), '</td> - <td class="number">', RelativeDifference(-$AccountTotal,-$AccountTotalLY), '</td> + <td class="number">', RelativeChange(-$AccountTotal,-$AccountTotalLY), '</td> </tr>'; } else { // <--- @@ -391,7 +391,7 @@ <td class="number">', locale_number_format(-$AccountTotal,$_SESSION['CompanyRecord']['decimalplaces']), '</td> <td class="number">', locale_number_format(-$AccountTotalLY,$_SESSION['CompanyRecord']['decimalplaces']), '</td> <td class="number">', locale_number_format(-$AccountTotal+$AccountTotalLY,$_SESSION['CompanyRecord']['decimalplaces']), '</td> - <td class="number">', RelativeDifference(-$AccountTotal,-$AccountTotalLY), '</td> + <td class="number">', RelativeChange(-$AccountTotal,-$AccountTotalLY), '</td> </tr>'; } } @@ -414,7 +414,7 @@ <td class="number">', locale_number_format(-$GrpTotal[$Level],$_SESSION['CompanyRecord']['decimalplaces']), '</td> <td class="number">', locale_number_format(-$GrpTotalLY[$Level],$_SESSION['CompanyRecord']['decimalplaces']), '</td> <td class="number">', locale_number_format(-$GrpTotal[$Level]+$GrpTotalLY[$Level],$_SESSION['CompanyRecord']['decimalplaces']), '</td> - <td class="number">', RelativeDifference(-$GrpTotal[$Level],-$GrpTotalLY[$Level]), '</td> + <td class="number">', RelativeChange(-$GrpTotal[$Level],-$GrpTotalLY[$Level]), '</td> </tr>'; } else {// Costs. // <--- @@ -423,7 +423,7 @@ <td class="number">', locale_number_format(-$GrpTotal[$Level],$_SESSION['CompanyRecord']['decimalplaces']), '</td> <td class="number">', locale_number_format(-$GrpTotalLY[$Level],$_SESSION['CompanyRecord']['decimalplaces']), '</td> <td class="number">', locale_number_format(-$GrpTotal[$Level]+$GrpTotalLY[$Level],$_SESSION['CompanyRecord']['decimalplaces']), '</td> - <td class="number">', RelativeDifference(-$GrpTotal[$Level],-$GrpTotalLY[$Level]), '</td> + <td class="number">', RelativeChange(-$GrpTotal[$Level],-$GrpTotalLY[$Level]), '</td> </tr>'; } $GrpTotal[$Level]=0; @@ -443,7 +443,7 @@ <td class="number">', locale_number_format(-$GrpTotal[$Level],$_SESSION['CompanyRecord']['decimalplaces']), '</td> <td class="number">', locale_number_format(-$GrpTotalLY[$Level],$_SESSION['CompanyRecord']['decimalplaces']), '</td> <td class="number">', locale_number_format(-$GrpTotal[$Level]+$GrpTotalLY[$Level],$_SESSION['CompanyRecord']['decimalplaces']), '</td> - <td class="number">', RelativeDifference(-$GrpTotal[$Level],-$GrpTotalLY[$Level]), '</td> + <td class="number">', RelativeChange(-$GrpTotal[$Level],-$GrpTotalLY[$Level]), '</td> </tr>'; $GrpTotal[$Level]=0; $GrpTotalLY[$Level]=0; @@ -460,7 +460,7 @@ <td class="number"><h2>', locale_number_format(-$SectionTotal,$_SESSION['CompanyRecord']['decimalplaces']), '</h2></td> <td class="number"><h2>', locale_number_format(-$SectionTotalLY,$_SESSION['CompanyRecord']['decimalplaces']), '</h2></td> <td class="number"><h2>', locale_number_format(-$SectionTotal+$SectionTotalLY,$_SESSION['CompanyRecord']['decimalplaces']), '</h2></td> - <td class="number"><h2>', RelativeDifference(-$SectionTotal,-$SectionTotalLY), '</h2></td> + <td class="number"><h2>', RelativeChange(-$SectionTotal,-$SectionTotalLY), '</h2></td> </tr>'; $GPIncome = $SectionTotal; $GPIncomeLY = $SectionTotalLY; @@ -471,7 +471,7 @@ <td class="number"><h2>', locale_number_format(-$SectionTotal,$_SESSION['CompanyRecord']['decimalplaces']), '</h2></td> <td class="number"><h2>', locale_number_format(-$SectionTotalLY,$_SESSION['CompanyRecord']['decimalplaces']), '</h2></td> <td class="number"><h2>', locale_number_format(-$SectionTotal+$SectionTotalLY,$_SESSION['CompanyRecord']['decimalplaces']), '</h2></td> - <td class="number"><h2>', RelativeDifference(-$SectionTotal,-$SectionTotalLY), '</h2></td> + <td class="number"><h2>', RelativeChange(-$SectionTotal,-$SectionTotalLY), '</h2></td> </tr>'; } if($Section==2) {// Cost of Sales - need sub total for Gross Profit. @@ -481,7 +481,7 @@ <td class="number"><h2>', locale_number_format(-($GPIncome+$SectionTotal),$_SESSION['CompanyRecord']['decimalplaces']), '</h2></td> <td class="number"><h2>', locale_number_format(-($GPIncomeLY+$SectionTotalLY),$_SESSION['CompanyRecord']['decimalplaces']), '</h2></td> <td class="number"><h2>', locale_number_format(-($GPIncome+$SectionTotal)+($GPIncomeLY+$SectionTotalLY),$_SESSION['CompanyRecord']['decimalplaces']), '</h2></td> - <td class="number"><h2>', RelativeDifference(-($GPIncome+$SectionTotal),-($GPIncomeLY+$SectionTotalLY)), '</h2></td> + <td class="number"><h2>', RelativeChange(-($GPIncome+$SectionTotal),-($GPIncomeLY+$SectionTotalLY)), '</h2></td> </tr>'; } $Section = $myrow['sectioninaccounts']; @@ -501,7 +501,7 @@ <td class="number"><h2>', locale_number_format(-$PeriodTotal,$_SESSION['CompanyRecord']['decimalplaces']), '</h2></td> <td class="number"><h2>', locale_number_format(-$PeriodTotalLY,$_SESSION['CompanyRecord']['decimalplaces']), '</h2></td> <td class="number"><h2>', locale_number_format(-$PeriodTotal+$PeriodTotalLY,$_SESSION['CompanyRecord']['decimalplaces']), '</h2></td> - <td class="number"><h2>', RelativeDifference(-$PeriodTotal,-$PeriodTotalLY), '</h2></td> + <td class="number"><h2>', RelativeChange(-$PeriodTotal,-$PeriodTotalLY), '</h2></td> </tr>'; echo $DrawTotalLine; echo '</tbody>', // See comment at the begin of the table. Modified: trunk/AnalysisHorizontalPosition.php =================================================================== --- trunk/AnalysisHorizontalPosition.php 2015-09-14 14:43:19 UTC (rev 7349) +++ trunk/AnalysisHorizontalPosition.php 2015-09-14 16:08:50 UTC (rev 7350) @@ -1,9 +1,9 @@ <?php -/* $Id: AnalysisHorizontalPosition.php 7338 2015-08-13 18:51:07Z rchacon $*/ +/* $Id: AnalysisHorizontalPosition.php 7349 2015-09-14 14:43:19Z rchacon $*/ /* Shows the horizontal analysis of the statement of financial position. */ -function RelativeDifference($SelectedPeriod, $PreviousPeriod) { - // Calculates the relative difference between selected and previous periods. Uses percent in locale number format. +function RelativeChange($SelectedPeriod, $PreviousPeriod) { + // Calculates the relative change between selected and previous periods. Uses percent with locale number format. if($PreviousPeriod<>0) { return locale_number_format(($SelectedPeriod-$PreviousPeriod)*100/$PreviousPeriod,$_SESSION['CompanyRecord']['decimalplaces']) . '%'; } else { @@ -29,7 +29,7 @@ echo '<div class="page_help_text">', _('Horizontal analysis (also known as trend analysis) is a financial statement analysis technique that shows changes in the amounts of corresponding financial statement items over a period of time. It is a useful tool to evaluate trend situations.'), '<br />', - _('The statements for two periods are used in horizontal analysis. The earliest period is used as the base period. The items on the later statement are compared with items on the statement of the base period. The changes are shown both in currency (absolute difference) and percentage (relative difference).'), '<br />', + _('The statements for two periods are used in horizontal analysis. The earliest period is used as the base period. The items on the later statement are compared with items on the statement of the base period. The changes are shown both in currency (actual change) and percentage (relative change).'), '<br />', _('webERP is an "accrual" based system (not a "cash based" system). Accrual systems include items when they are invoiced to the customer, and when expenses are owed based on the supplier invoice date.'), '</div>', // Show a form to allow input of criteria for the report to show: '<form method="post" action="', htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8'), '">', @@ -122,16 +122,16 @@ } echo '<th class="number">', $BalanceDate, '</th> <th class="number">', _('Last Year'), '</th> - <th class="number">', _('Absolute difference'), '</th> - <th class="number">', _('Relative difference'), '</th> + <th class="number">', _('Actual change'), '</th> + <th class="number">', _('Relative change'), '</th> </tr> </thead> <tfoot> <tr> - <td class="text" colspan="6">',// Prints an explanation of signs in absolute and relative differences: + <td class="text" colspan="6">',// Prints an explanation of signs in actual and relative changes: '<br /><b>', _('Notes'), ':</b><br />', - _('Absolute difference signs: a positive number indicates a source of funds; a negative number indicates an application of funds.'), '<br />', - _('Relative difference signs: a positive number indicates an increase in the amount of that account; a negative number indicates a decrease in the amount of that account.'), '<br />', + _('Actual change signs: a positive number indicates a source of funds; a negative number indicates an application of funds.'), '<br />', + _('Relative change signs: a positive number indicates an increase in the amount of that account; a negative number indicates a decrease in the amount of that account.'), '<br />', '</td> </tr> </tfoot> @@ -216,7 +216,7 @@ <td class="number">', locale_number_format($GroupTotal[$Level],$_SESSION['CompanyRecord']['decimalplaces']), '</td> <td class="number">', locale_number_format($GroupTotalLY[$Level],$_SESSION['CompanyRecord']['decimalplaces']), '</td> <td class="number">', locale_number_format(-$GroupTotal[$Level]+$GroupTotalLY[$Level],$_SESSION['CompanyRecord']['decimalplaces']), '</td> - <td class="number">', RelativeDifference(-$GroupTotal[$Level],-$GroupTotalLY[$Level]), '</td> + <td class="number">', RelativeChange(-$GroupTotal[$Level],-$GroupTotalLY[$Level]), '</td> </tr>'; $GroupTotal[$Level]=0; $GroupTotalLY[$Level]=0; @@ -231,7 +231,7 @@ <td class="number">', locale_number_format($GroupTotal[$Level],$_SESSION['CompanyRecord']['decimalplaces']), '</td> <td class="number">', locale_number_format($GroupTotalLY[$Level],$_SESSION['CompanyRecord']['decimalplaces']), '</td> <td class="number">', locale_number_format(-$GroupTotal[$Level]+$GroupTotalLY[$Level],$_SESSION['CompanyRecord']['decimalplaces']), '</td> - <td class="number">', RelativeDifference(-$GroupTotal[$Level],-$GroupTotalLY[$Level]), '</td> + <td class="number">', RelativeChange(-$GroupTotal[$Level],-$GroupTotalLY[$Level]), '</td> </tr>'; $GroupTotal[$Level]=0; $GroupTotalLY[$Level]=0; @@ -246,7 +246,7 @@ <td class="number"><h2>', locale_number_format($SectionBalance,$_SESSION['CompanyRecord']['decimalplaces']), '</h2></td> <td class="number"><h2>', locale_number_format($SectionBalanceLY,$_SESSION['CompanyRecord']['decimalplaces']), '</h2></td> <td class="number"><h2>', locale_number_format(-$SectionBalance+$SectionBalanceLY,$_SESSION['CompanyRecord']['decimalplaces']), '</h2></td> - <td class="number"><h2>', RelativeDifference(-$SectionBalance,-$SectionBalanceLY), '</h2></td> + <td class="number"><h2>', RelativeChange(-$SectionBalance,-$SectionBalanceLY), '</h2></td> </tr>'; } $SectionBalance=0; @@ -300,7 +300,7 @@ <td class="number">', locale_number_format($AccountBalance,$_SESSION['CompanyRecord']['decimalplaces']), '</td> <td class="number">', locale_number_format($AccountBalanceLY,$_SESSION['CompanyRecord']['decimalplaces']), '</td> <td class="number">', locale_number_format(-$AccountBalance+$AccountBalanceLY,$_SESSION['CompanyRecord']['decimalplaces']), '</td> - <td class="number">', RelativeDifference(-$AccountBalance,-$AccountBalanceLY), '</td> + <td class="number">', RelativeChange(-$AccountBalance,-$AccountBalanceLY), '</td> </tr>'; } } @@ -315,7 +315,7 @@ <td class="number">', locale_number_format($GroupTotal[$Level],$_SESSION['CompanyRecord']['decimalplaces']), '</td> <td class="number">', locale_number_format($GroupTotalLY[$Level],$_SESSION['CompanyRecord']['decimalplaces']), '</td> <td class="number">', locale_number_format(-$GroupTotal[$Level]+$GroupTotalLY[$Level],$_SESSION['CompanyRecord']['decimalplaces']), '</td> - <td class="number">', RelativeDifference(-$GroupTotal[$Level],-$GroupTotalLY[$Level]), '</td> + <td class="number">', RelativeChange(-$GroupTotal[$Level],-$GroupTotalLY[$Level]), '</td> </tr>'; $Level--; } @@ -327,7 +327,7 @@ <td class="number">', locale_number_format($GroupTotal[$Level],$_SESSION['CompanyRecord']['decimalplaces']), '</td> <td class="number">', locale_number_format($GroupTotalLY[$Level],$_SESSION['CompanyRecord']['decimalplaces']), '</td> <td class="number">', locale_number_format(-$GroupTotal[$Level]+$GroupTotalLY[$Level],$_SESSION['CompanyRecord']['decimalplaces']), '</td> - <td class="number">', RelativeDifference(-$GroupTotal[$Level],-$GroupTotalLY[$Level]), '</td> + <td class="number">', RelativeChange(-$GroupTotal[$Level],-$GroupTotalLY[$Level]), '</td> </tr>'; echo $DrawTotalLine; echo '<tr> @@ -335,7 +335,7 @@ <td class="number"><h2>', locale_number_format($SectionBalance,$_SESSION['CompanyRecord']['decimalplaces']), '</h2></td> <td class="number"><h2>', locale_number_format($SectionBalanceLY,$_SESSION['CompanyRecord']['decimalplaces']), '</h2></td> <td class="number"><h2>', locale_number_format(-$SectionBalance+$SectionBalanceLY,$_SESSION['CompanyRecord']['decimalplaces']), '</h2></td> - <td class="number"><h2>', RelativeDifference(-$SectionBalance,-$SectionBalanceLY), '</h2></td> + <td class="number"><h2>', RelativeChange(-$SectionBalance,-$SectionBalanceLY), '</h2></td> </tr>'; $Section = $myrow['sectioninaccounts']; @@ -351,7 +351,7 @@ <td class="number"><h2>', locale_number_format($CheckTotal,$_SESSION['CompanyRecord']['decimalplaces']), '</h2></td> <td class="number"><h2>', locale_number_format($CheckTotalLY,$_SESSION['CompanyRecord']['decimalplaces']), '</h2></td> <td class="number"><h2>', locale_number_format(-$CheckTotal+$CheckTotalLY,$_SESSION['CompanyRecord']['decimalplaces']), '</h2></td> - <td class="number"><h2>', RelativeDifference(-$CheckTotal,-$CheckTotalLY), '</h2></td> + <td class="number"><h2>', RelativeChange(-$CheckTotal,-$CheckTotalLY), '</h2></td> </tr>'; echo $DrawTotalLine; echo '</tbody>', // See comment at the begin of the table. Modified: trunk/doc/Change.log =================================================================== --- trunk/doc/Change.log 2015-09-14 14:43:19 UTC (rev 7349) +++ trunk/doc/Change.log 2015-09-14 16:08:50 UTC (rev 7350) @@ -1,5 +1,6 @@ webERP Change Log +14/9/15 RChacon: Rebuild languages files *.pot, *.po and *.mo to includes new texts. 14/9/15 RChacon: In AnalysisHorizontalIncome.php, delete duplicated tag. Replaces text "Absolute/Relative variation" with "Absolute/Relative difference" to avoid confusions. 13/9/15 RChacon: In AccountSections.php, add modifications for direct printing. 4/9/15 Wes Wolfenbarger: Fix to Z_ImportStocks.php added quotes to descriptions - also fixes error message when the csv does not match the template Modified: trunk/locale/ar_EG.utf8/LC_MESSAGES/messages.mo =================================================================== (Binary files differ) Modified: trunk/locale/ar_EG.utf8/LC_MESSAGES/messages.po =================================================================== --- trunk/locale/ar_EG.utf8/LC_MESSAGES/messages.po 2015-09-14 14:43:19 UTC (rev 7349) +++ trunk/locale/ar_EG.utf8/LC_MESSAGES/messages.po 2015-09-14 16:08:50 UTC (rev 7350) @@ -7,7 +7,7 @@ msgstr "" "Project-Id-Version: webERP 4.12.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-05-17 13:40+1200\n" +"POT-Creation-Date: 2015-09-14 09:07-0600\n" "PO-Revision-Date: 2013-06-01 11:19-0600\n" "Last-Translator: Rafael Chacon <raf...@gm...>\n" "Language-Team: Arabic <ar...@li...>\n" @@ -18,7 +18,7 @@ "X-Generator: Poedit 1.5.4\n" "X-Launchpad-Export-Date: 2012-03-07 23:01+0000\n" -#: AccountGroups.php:6 includes/MainMenuLinksArray.php:391 +#: AccountGroups.php:6 includes/MainMenuLinksArray.php:395 msgid "Account Groups" msgstr "مجموعات العضوية" @@ -159,23 +159,23 @@ #: Areas.php:115 Areas.php:124 BankAccounts.php:165 CreditStatus.php:125 #: Currencies.php:247 Currencies.php:255 Currencies.php:263 Currencies.php:273 #: CustomerBranches.php:300 CustomerBranches.php:310 CustomerBranches.php:320 -#: CustomerBranches.php:330 CustomerBranches.php:340 Customers.php:296 -#: Customers.php:305 Customers.php:313 Customers.php:324 Customers.php:334 -#: CustomerTypes.php:146 CustomerTypes.php:156 Departments.php:141 -#: Factors.php:134 FixedAssetCategories.php:137 GLAccounts.php:79 -#: GLAccounts.php:95 Locations.php:279 Locations.php:287 Locations.php:298 -#: Locations.php:307 Locations.php:316 Locations.php:325 Locations.php:334 -#: Locations.php:343 Locations.php:351 Manufacturers.php:154 -#: MRPDemandTypes.php:87 PaymentMethods.php:143 PaymentTerms.php:146 -#: PaymentTerms.php:153 PcExpenses.php:161 SalesCategories.php:128 -#: SalesCategories.php:135 SalesPeople.php:159 SalesPeople.php:166 -#: SalesPeople.php:172 SalesTypes.php:140 SalesTypes.php:150 Shippers.php:81 -#: Shippers.php:93 StockCategories.php:216 Stocks.php:762 Stocks.php:771 -#: Stocks.php:779 Stocks.php:787 Stocks.php:795 Stocks.php:803 Stocks.php:811 -#: Stocks.php:819 Suppliers.php:646 Suppliers.php:655 Suppliers.php:663 -#: SupplierTypes.php:126 TaxCategories.php:132 TaxGroups.php:134 -#: TaxGroups.php:142 TaxProvinces.php:129 UnitsOfMeasure.php:135 -#: WorkCentres.php:89 WorkCentres.php:95 WWW_Access.php:88 +#: CustomerBranches.php:330 CustomerBranches.php:340 CustomerTypes.php:146 +#: CustomerTypes.php:156 Customers.php:296 Customers.php:305 Customers.php:313 +#: Customers.php:324 Customers.php:334 Departments.php:141 Factors.php:134 +#: FixedAssetCategories.php:137 GLAccounts.php:79 GLAccounts.php:95 +#: Locations.php:279 Locations.php:287 Locations.php:298 Locations.php:307 +#: Locations.php:316 Locations.php:325 Locations.php:334 Locations.php:343 +#: Locations.php:351 MRPDemandTypes.php:87 Manufacturers.php:154 +#: PaymentMethods.php:143 PaymentTerms.php:146 PaymentTerms.php:153 +#: PcExpenses.php:161 SalesCategories.php:128 SalesCategories.php:135 +#: SalesPeople.php:159 SalesPeople.php:166 SalesPeople.php:172 +#: SalesTypes.php:140 SalesTypes.php:150 Shippers.php:81 Shippers.php:93 +#: StockCategories.php:216 Stocks.php:762 Stocks.php:771 Stocks.php:779 +#: Stocks.php:787 Stocks.php:795 Stocks.php:803 Stocks.php:811 Stocks.php:819 +#: SupplierTypes.php:126 Suppliers.php:646 Suppliers.php:655 Suppliers.php:663 +#: TaxCategories.php:132 TaxGroups.php:134 TaxGroups.php:142 +#: TaxProvinces.php:129 UnitsOfMeasure.php:135 WWW_Access.php:88 +#: WorkCentres.php:89 WorkCentres.php:95 msgid "There are" msgstr "يوجد" @@ -225,53 +225,53 @@ msgid "Could not get account groups because" msgstr "لم يتمكن الحصول على مجموات العضو لان" -#: AccountGroups.php:282 AccountSections.php:169 AddCustomerContacts.php:25 -#: AddCustomerContacts.php:27 AddCustomerNotes.php:101 -#: AddCustomerTypeNotes.php:94 AgedDebtors.php:454 AgedSuppliers.php:276 -#: Areas.php:144 AuditTrail.php:11 BOMExtendedQty.php:256 BOMIndented.php:249 -#: BOMIndentedReverse.php:236 BOMInquiry.php:186 BOMListing.php:110 -#: BOMs.php:239 BOMs.php:890 COGSGLPostings.php:19 CompanyPreferences.php:102 -#: CounterReturns.php:1629 CounterSales.php:2097 CounterSales.php:2193 -#: Credit_Invoice.php:276 CreditStatus.php:21 CustEDISetup.php:17 -#: CustItem.php:120 CustItem.php:210 CustItem.php:238 -#: DebtorsAtPeriodEnd.php:129 DiscountCategories.php:12 -#: DiscountCategories.php:149 DiscountMatrix.php:16 EDIMessageFormat.php:105 -#: FixedAssetLocations.php:13 FixedAssetRegister.php:16 -#: FixedAssetRegister.php:256 FixedAssetTransfer.php:14 FormDesigner.php:185 -#: GLBudgets.php:32 GLJournalInquiry.php:11 GLJournal.php:250 -#: HistoricalTestResults.php:42 InternalStockRequest.php:311 -#: InventoryPlanning.php:459 InventoryPlanningPrefSupplier.php:386 -#: MaintenanceTasks.php:14 MaintenanceUserSchedule.php:16 MRPReport.php:544 -#: NoSalesItems.php:91 PcAssignCashToTab.php:59 PcAssignCashToTab.php:133 -#: PcAssignCashToTab.php:149 PcAssignCashToTab.php:193 PDFPickingList.php:29 -#: PDFStockLocTransfer.php:16 PO_AuthorisationLevels.php:10 POReport.php:60 -#: POReport.php:64 POReport.php:68 PO_SelectOSPurchOrder.php:153 -#: PriceMatrix.php:16 PricesBasedOnMarkUp.php:8 Prices_Customer.php:35 -#: Prices.php:11 ProductSpecs.php:38 PurchaseByPrefSupplier.php:305 -#: PurchData.php:241 PurchData.php:373 PurchData.php:401 QATests.php:22 -#: RecurringSalesOrders.php:320 RelatedItemsUpdate.php:24 -#: SalesAnalReptCols.php:51 SalesAnalRepts.php:14 SalesCategories.php:11 -#: SalesGLPostings.php:19 SalesGraph.php:40 SalesPeople.php:28 -#: SalesTypes.php:20 SelectAsset.php:48 SelectCompletedOrder.php:11 -#: SelectContract.php:69 SelectCreditItems.php:220 SelectCreditItems.php:291 -#: SelectCustomer.php:266 SelectGLAccount.php:65 SelectOrderItems.php:559 -#: SelectOrderItems.php:1467 SelectOrderItems.php:1567 SelectProduct.php:502 -#: SelectQASamples.php:45 SelectSalesOrder.php:512 SelectSupplier.php:14 -#: SelectSupplier.php:220 SelectWorkOrder.php:9 SelectWorkOrder.php:174 -#: SellThroughSupport.php:229 ShipmentCosting.php:11 Shipments.php:17 -#: Shippers.php:123 Shippers.php:160 Shipt_Select.php:8 -#: StockLocMovements.php:14 StockLocStatus.php:29 +#: AccountGroups.php:282 AddCustomerContacts.php:25 AddCustomerContacts.php:27 +#: AddCustomerNotes.php:101 AddCustomerTypeNotes.php:94 AgedDebtors.php:454 +#: AgedSuppliers.php:276 Areas.php:144 AuditTrail.php:11 +#: BOMExtendedQty.php:256 BOMIndented.php:249 BOMIndentedReverse.php:236 +#: BOMInquiry.php:186 BOMListing.php:110 BOMs.php:239 BOMs.php:890 +#: COGSGLPostings.php:19 CompanyPreferences.php:102 CounterReturns.php:1629 +#: CounterSales.php:2097 CounterSales.php:2193 CreditStatus.php:21 +#: Credit_Invoice.php:276 CustEDISetup.php:17 CustItem.php:120 +#: CustItem.php:210 CustItem.php:238 DebtorsAtPeriodEnd.php:129 +#: DiscountCategories.php:12 DiscountCategories.php:149 DiscountMatrix.php:16 +#: EDIMessageFormat.php:105 FixedAssetLocations.php:13 +#: FixedAssetRegister.php:16 FixedAssetRegister.php:256 +#: FixedAssetTransfer.php:14 FormDesigner.php:185 GLBudgets.php:32 +#: GLJournal.php:250 GLJournalInquiry.php:11 HistoricalTestResults.php:42 +#: InternalStockRequest.php:311 InventoryPlanning.php:459 +#: InventoryPlanningPrefSupplier.php:386 MRPReport.php:544 +#: MaintenanceTasks.php:14 MaintenanceUserSchedule.php:16 NoSalesItems.php:91 +#: PDFPickingList.php:29 PDFStockLocTransfer.php:16 POReport.php:60 +#: POReport.php:64 POReport.php:68 PO_AuthorisationLevels.php:10 +#: PO_SelectOSPurchOrder.php:153 PcAssignCashToTab.php:59 +#: PcAssignCashToTab.php:133 PcAssignCashToTab.php:149 +#: PcAssignCashToTab.php:193 PriceMatrix.php:16 Prices.php:11 +#: PricesBasedOnMarkUp.php:8 Prices_Customer.php:35 ProductSpecs.php:38 +#: PurchData.php:241 PurchData.php:373 PurchData.php:401 +#: PurchaseByPrefSupplier.php:305 QATests.php:22 RecurringSalesOrders.php:320 +#: RelatedItemsUpdate.php:24 SalesAnalReptCols.php:51 SalesAnalRepts.php:14 +#: SalesCategories.php:11 SalesGLPostings.php:19 SalesGraph.php:40 +#: SalesPeople.php:28 SalesTypes.php:20 SelectAsset.php:48 +#: SelectCompletedOrder.php:11 SelectContract.php:69 SelectCreditItems.php:220 +#: SelectCreditItems.php:291 SelectCustomer.php:266 SelectGLAccount.php:65 +#: SelectOrderItems.php:559 SelectOrderItems.php:1467 +#: SelectOrderItems.php:1567 SelectProduct.php:502 SelectQASamples.php:45 +#: SelectSalesOrder.php:512 SelectSupplier.php:14 SelectSupplier.php:220 +#: SelectWorkOrder.php:9 SelectWorkOrder.php:174 SellThroughSupport.php:229 +#: ShipmentCosting.php:11 Shipments.php:17 Shippers.php:123 Shippers.php:160 +#: Shipt_Select.php:8 StockLocMovements.php:14 StockLocStatus.php:29 #: StockSerialItemResearch.php:30 SupplierPriceList.php:14 #: SupplierPriceList.php:224 SupplierPriceList.php:394 #: SupplierPriceList.php:398 SupplierPriceList.php:449 -#: SupplierPriceList.php:499 Suppliers.php:304 SupplierTenderCreate.php:556 +#: SupplierPriceList.php:499 SupplierTenderCreate.php:556 #: SupplierTenderCreate.php:664 SupplierTenders.php:322 -#: SupplierTenders.php:388 SupplierTransInquiry.php:10 TestPlanResults.php:27 -#: TopItems.php:118 UnitsOfMeasure.php:10 WhereUsedInquiry.php:18 -#: WorkCentres.php:111 WorkCentres.php:163 WorkOrderCosting.php:22 -#: WorkOrderEntry.php:11 WorkOrderIssue.php:22 WorkOrderReceive.php:34 -#: WorkOrderStatus.php:58 WWW_Users.php:34 Z_BottomUpCosts.php:57 -#: ../webSHOP/includes/header.php:217 +#: SupplierTenders.php:388 SupplierTransInquiry.php:10 Suppliers.php:304 +#: TestPlanResults.php:27 TopItems.php:118 UnitsOfMeasure.php:10 +#: WWW_Users.php:34 WhereUsedInquiry.php:18 WorkCentres.php:111 +#: WorkCentres.php:163 WorkOrderCosting.php:22 WorkOrderEntry.php:11 +#: WorkOrderIssue.php:22 WorkOrderReceive.php:34 WorkOrderStatus.php:58 +#: Z_BottomUpCosts.php:57 ../webSHOP/includes/header.php:251 msgid "Search" msgstr "إبحث" @@ -301,19 +301,19 @@ #: ContractCosting.php:202 Currencies.php:342 Currencies.php:520 #: Currencies.php:522 CustomerBranches.php:452 Customers.php:659 #: Customers.php:1049 Customers.php:1055 Customers.php:1058 -#: DailyBankTransactions.php:156 DeliveryDetails.php:1157 -#: DeliveryDetails.php:1198 DeliveryDetails.php:1201 FormDesigner.php:101 +#: DailyBankTransactions.php:156 DeliveryDetails.php:1158 +#: DeliveryDetails.php:1199 DeliveryDetails.php:1202 FormDesigner.php:101 #: GLTransInquiry.php:74 Labels.php:601 Labels.php:603 Labels.php:628 -#: Locations.php:446 Locations.php:668 Locations.php:670 Locations.php:683 -#: Locations.php:685 Locations.php:701 MRPCalendar.php:224 MRP.php:554 -#: MRP.php:558 MRP.php:562 MRP.php:566 MRP.php:570 PaymentMethods.php:206 -#: PaymentMethods.php:207 PaymentMethods.php:208 PaymentMethods.php:209 -#: PaymentMethods.php:275 PaymentMethods.php:282 PaymentMethods.php:289 -#: PaymentMethods.php:296 PcAuthorizeExpenses.php:248 PDFChequeListing.php:65 -#: PDFDeliveryDifferences.php:76 PDFDIFOT.php:80 PDFWOPrint.php:600 +#: Locations.php:446 Locations.php:670 Locations.php:672 Locations.php:685 +#: Locations.php:687 Locations.php:703 MRP.php:554 MRP.php:558 MRP.php:562 +#: MRP.php:566 MRP.php:570 MRPCalendar.php:224 PDFChequeListing.php:65 +#: PDFDIFOT.php:80 PDFDeliveryDifferences.php:76 PDFWOPrint.php:600 #: PDFWOPrint.php:604 PO_AuthorisationLevels.php:134 #: PO_AuthorisationLevels.php:139 PO_Header.php:807 PO_PDFPurchOrder.php:413 -#: PO_PDFPurchOrder.php:416 ProductSpecs.php:188 ProductSpecs.php:409 +#: PO_PDFPurchOrder.php:416 PaymentMethods.php:206 PaymentMethods.php:207 +#: PaymentMethods.php:208 PaymentMethods.php:209 PaymentMethods.php:275 +#: PaymentMethods.php:282 PaymentMethods.php:289 PaymentMethods.php:296 +#: PcAuthorizeExpenses.php:248 ProductSpecs.php:188 ProductSpecs.php:409 #: ProductSpecs.php:414 ProductSpecs.php:420 ProductSpecs.php:425 #: ProductSpecs.php:430 ProductSpecs.php:562 ProductSpecs.php:608 #: ProductSpecs.php:610 ProductSpecs.php:621 ProductSpecs.php:623 @@ -352,32 +352,32 @@ #: TestPlanResults.php:532 TestPlanResults.php:747 TestPlanResults.php:864 #: TestPlanResults.php:924 TestPlanResults.php:928 WWW_Users.php:516 #: WWW_Users.php:518 WWW_Users.php:689 WWW_Users.php:691 WWW_Users.php:704 -#: WWW_Users.php:706 +#: WWW_Users.php:706 reportwriter/languages/en_US/reports.php:114 msgid "Yes" msgstr "موافق" #: AccountGroups.php:313 AccountGroups.php:450 AccountGroups.php:452 -#: BankAccounts.php:218 BankAccounts.php:412 BankAccounts.php:414 -#: BankAccounts.php:418 BankAccounts.php:426 BOMs.php:130 BOMs.php:801 -#: BOMs.php:805 CompanyPreferences.php:424 CompanyPreferences.php:428 +#: BOMs.php:130 BOMs.php:801 BOMs.php:805 BankAccounts.php:218 +#: BankAccounts.php:412 BankAccounts.php:414 BankAccounts.php:418 +#: BankAccounts.php:426 CompanyPreferences.php:424 CompanyPreferences.php:428 #: CompanyPreferences.php:439 CompanyPreferences.php:443 #: CompanyPreferences.php:454 CompanyPreferences.php:458 #: ContractCosting.php:200 Currencies.php:344 Currencies.php:525 #: Currencies.php:527 CustomerBranches.php:452 Customers.php:658 #: Customers.php:1047 Customers.php:1054 Customers.php:1057 -#: DailyBankTransactions.php:158 DeliveryDetails.php:1158 -#: DeliveryDetails.php:1199 DeliveryDetails.php:1202 FormDesigner.php:99 +#: DailyBankTransactions.php:158 DeliveryDetails.php:1159 +#: DeliveryDetails.php:1200 DeliveryDetails.php:1203 FormDesigner.php:99 #: GLTransInquiry.php:93 Labels.php:600 Labels.php:604 Labels.php:629 -#: Locations.php:446 Locations.php:673 Locations.php:675 Locations.php:688 -#: Locations.php:690 Locations.php:702 MRPCalendar.php:226 MRP.php:552 -#: MRP.php:556 MRP.php:560 MRP.php:564 MRP.php:568 NoSalesItems.php:191 -#: PaymentMethods.php:206 PaymentMethods.php:207 PaymentMethods.php:208 -#: PaymentMethods.php:209 PaymentMethods.php:276 PaymentMethods.php:283 -#: PaymentMethods.php:290 PaymentMethods.php:297 PcAuthorizeExpenses.php:246 -#: PDFChequeListing.php:64 PDFDeliveryDifferences.php:75 PDFDIFOT.php:79 +#: Locations.php:446 Locations.php:675 Locations.php:677 Locations.php:690 +#: Locations.php:692 Locations.php:704 MRP.php:552 MRP.php:556 MRP.php:560 +#: MRP.php:564 MRP.php:568 MRPCalendar.php:226 NoSalesItems.php:191 +#: PDFChequeListing.php:64 PDFDIFOT.php:79 PDFDeliveryDifferences.php:75 #: PDFWOPrint.php:601 PDFWOPrint.php:605 PO_AuthorisationLevels.php:136 #: PO_AuthorisationLevels.php:141 PO_Header.php:806 PO_PDFPurchOrder.php:414 -#: PO_PDFPurchOrder.php:417 ProductSpecs.php:191 ProductSpecs.php:411 +#: PO_PDFPurchOrder.php:417 PaymentMethods.php:206 PaymentMethods.php:207 +#: PaymentMethods.php:208 PaymentMethods.php:209 PaymentMethods.php:276 +#: PaymentMethods.php:283 PaymentMethods.php:290 PaymentMethods.php:297 +#: PcAuthorizeExpenses.php:246 ProductSpecs.php:191 ProductSpecs.php:411 #: ProductSpecs.php:417 ProductSpecs.php:422 ProductSpecs.php:427 #: ProductSpecs.php:432 ProductSpecs.php:613 ProductSpecs.php:615 #: ProductSpecs.php:626 ProductSpecs.php:628 ProductSpecs.php:639 @@ -417,37 +417,40 @@ #: TestPlanResults.php:925 TestPlanResults.php:927 WWW_Users.php:515 #: WWW_Users.php:519 WWW_Users.php:688 WWW_Users.php:692 WWW_Users.php:703 #: WWW_Users.php:707 includes/PDFLowGPPageHeader.inc:44 +#: reportwriter/languages/en_US/reports.php:82 msgid "No" msgstr "ﻻ" -#: AccountGroups.php:322 AccountSections.php:191 AddCustomerContacts.php:148 +#: AccountGroups.php:322 AccountSections.php:196 AddCustomerContacts.php:148 #: AddCustomerNotes.php:137 AddCustomerTypeNotes.php:131 Areas.php:164 -#: BankAccounts.php:243 BOMs.php:157 COGSGLPostings.php:112 +#: BOMs.php:157 BankAccounts.php:243 COGSGLPostings.php:112 #: COGSGLPostings.php:219 CreditStatus.php:175 Currencies.php:374 #: Currencies.php:391 CustItem.php:166 CustomerBranches.php:456 -#: Customers.php:1131 Customers.php:1165 CustomerTypes.php:205 +#: CustomerTypes.php:205 Customers.php:1131 Customers.php:1165 #: Departments.php:186 EDIMessageFormat.php:150 Factors.php:334 #: FixedAssetCategories.php:190 FixedAssetLocations.php:111 -#: FreightCosts.php:253 GeocodeSetup.php:173 GLAccounts.php:317 GLTags.php:96 +#: FreightCosts.php:253 GLAccounts.php:317 GLTags.php:96 GeocodeSetup.php:173 #: ImportBankTransAnalysis.php:223 InternalStockRequest.php:293 Labels.php:333 -#: Labels.php:358 Locations.php:439 MailingGroupMaintenance.php:178 -#: MaintenanceTasks.php:118 Manufacturers.php:217 MRPDemands.php:309 -#: MRPDemandTypes.php:120 PaymentMethods.php:210 PaymentTerms.php:205 -#: PcAssignCashToTab.php:277 PcClaimExpensesFromTab.php:276 PcExpenses.php:226 -#: PcTabs.php:236 PcTypeTabs.php:180 PO_AuthorisationLevels.php:151 -#: PriceMatrix.php:287 Prices_Customer.php:286 Prices.php:253 -#: ProductSpecs.php:465 PurchData.php:312 QATests.php:467 -#: SalesCategories.php:272 SalesGLPostings.php:137 SalesGLPostings.php:255 -#: SalesPeople.php:240 SalesTypes.php:206 SecurityTokens.php:130 -#: SelectCustomer.php:615 SelectCustomer.php:634 SelectCustomer.php:664 -#: SelectCustomer.php:682 SelectCustomer.php:706 SelectCustomer.php:723 -#: SelectGLAccount.php:117 SelectGLAccount.php:132 SelectQASamples.php:417 -#: SellThroughSupport.php:298 Shippers.php:144 StockCategories.php:296 +#: Labels.php:358 Locations.php:439 MRPDemandTypes.php:120 MRPDemands.php:309 +#: MailingGroupMaintenance.php:178 MaintenanceTasks.php:118 +#: Manufacturers.php:217 PO_AuthorisationLevels.php:151 PaymentMethods.php:210 +#: PaymentTerms.php:205 PcAssignCashToTab.php:277 +#: PcClaimExpensesFromTab.php:276 PcExpenses.php:226 PcTabs.php:236 +#: PcTypeTabs.php:180 PriceMatrix.php:287 Prices.php:253 +#: Prices_Customer.php:286 ProductSpecs.php:465 PurchData.php:312 +#: QATests.php:467 SalesCategories.php:272 SalesGLPostings.php:137 +#: SalesGLPostings.php:255 SalesPeople.php:240 SalesTypes.php:206 +#: SecurityTokens.php:130 SelectCustomer.php:615 SelectCustomer.php:634 +#: SelectCustomer.php:664 SelectCustomer.php:682 SelectCustomer.php:706 +#: SelectCustomer.php:723 SelectGLAccount.php:117 SelectGLAccount.php:132 +#: SelectQASamples.php:417 SellThroughSupport.php:298 Shippers.php:144 +#: StockCategories.php:296 SuppTransGLAnalysis.php:125 #: SupplierContacts.php:165 SupplierTenderCreate.php:157 SupplierTypes.php:170 -#: SuppTransGLAnalysis.php:125 TaxAuthorities.php:172 TaxCategories.php:184 -#: TaxGroups.php:190 TaxProvinces.php:179 UnitsOfMeasure.php:185 -#: WorkCentres.php:142 WWW_Access.php:132 WWW_Users.php:350 -#: includes/InputSerialItems.php:110 includes/OutputSerialItems.php:20 +#: TaxAuthorities.php:172 TaxCategories.php:184 TaxGroups.php:190 +#: TaxProvinces.php:179 UnitsOfMeasure.php:185 WWW_Access.php:132 +#: WWW_Users.php:350 WorkCentres.php:142 includes/InputSerialItems.php:110 +#: includes/OutputSerialItems.php:20 +#: reportwriter/languages/en_US/reports.php:143 #, php-format msgid "Edit" msgstr "تحرير" @@ -456,26 +459,26 @@ msgid "Are you sure you wish to delete this account group?" msgstr "" -#: AccountGroups.php:323 AccountSections.php:195 AddCustomerContacts.php:149 +#: AccountGroups.php:323 AccountSections.php:200 AddCustomerContacts.php:149 #: AddCustomerNotes.php:138 AddCustomerTypeNotes.php:132 Areas.php:165 -#: BankAccounts.php:244 BOMs.php:159 COGSGLPostings.php:113 +#: BOMs.php:159 BankAccounts.php:244 COGSGLPostings.php:113 #: COGSGLPostings.php:220 ContractBOM.php:272 ContractOtherReqts.php:124 -#: CounterReturns.php:740 CounterSales.php:836 Credit_Invoice.php:409 -#: CreditStatus.php:176 Currencies.php:377 CustItem.php:167 -#: CustomerReceipt.php:989 Customers.php:1166 CustomerTypes.php:206 +#: CounterReturns.php:740 CounterSales.php:836 CreditStatus.php:176 +#: Credit_Invoice.php:409 Currencies.php:377 CustItem.php:167 +#: CustomerReceipt.php:987 CustomerTypes.php:206 Customers.php:1166 #: Departments.php:187 DiscountCategories.php:238 DiscountMatrix.php:183 #: EDIMessageFormat.php:151 FixedAssetCategories.php:191 FreightCosts.php:254 -#: GeocodeSetup.php:174 GLAccounts.php:318 GLJournal.php:430 GLTags.php:97 +#: GLAccounts.php:318 GLJournal.php:430 GLTags.php:97 GeocodeSetup.php:174 #: ImportBankTransAnalysis.php:224 InternalStockCategoriesByRole.php:184 #: InternalStockRequest.php:294 Labels.php:334 Labels.php:359 Labels.php:607 -#: Locations.php:440 MailingGroupMaintenance.php:179 MaintenanceTasks.php:119 -#: Manufacturers.php:218 MRPDemands.php:310 MRPDemandTypes.php:121 -#: PaymentMethods.php:211 Payments.php:1112 PaymentTerms.php:206 +#: Locations.php:440 MRPDemandTypes.php:121 MRPDemands.php:310 +#: MailingGroupMaintenance.php:179 MaintenanceTasks.php:119 +#: Manufacturers.php:218 PO_AuthorisationLevels.php:153 PO_Items.php:768 +#: PaymentMethods.php:211 PaymentTerms.php:206 Payments.php:1112 #: PcAssignCashToTab.php:281 PcClaimExpensesFromTab.php:277 PcExpenses.php:227 #: PcExpensesTypeTab.php:187 PcTabs.php:237 PcTypeTabs.php:181 -#: PO_AuthorisationLevels.php:153 PO_Items.php:768 PriceMatrix.php:286 -#: Prices_Customer.php:287 Prices.php:254 ProductSpecs.php:466 -#: PurchData.php:314 PurchData.php:721 QATests.php:468 +#: PriceMatrix.php:286 Prices.php:254 Prices_Customer.php:287 +#: ProductSpecs.php:466 PurchData.php:314 PurchData.php:721 QATests.php:468 #: RelatedItemsUpdate.php:155 RelatedItemsUpdate.php:170 #: SalesAnalReptCols.php:299 SalesAnalRepts.php:307 SalesCategories.php:273 #: SalesGLPostings.php:138 SalesGLPostings.php:256 SalesPeople.php:241 @@ -486,14 +489,15 @@ #: SellThroughSupport.php:299 Shipments.php:438 Shippers.php:145 #: SpecialOrder.php:667 StockCategories.php:297 StockCategories.php:626 #: StockLocTransfer.php:325 SuppContractChgs.php:99 SuppCreditGRNs.php:117 -#: SuppFixedAssetChgs.php:90 SuppInvGRNs.php:147 SupplierContacts.php:166 +#: SuppFixedAssetChgs.php:90 SuppInvGRNs.php:147 SuppShiptChgs.php:90 +#: SuppTransGLAnalysis.php:126 SupplierContacts.php:166 #: SupplierTenderCreate.php:422 SupplierTenderCreate.php:452 -#: SupplierTypes.php:172 SuppShiptChgs.php:90 SuppTransGLAnalysis.php:126 -#: TaxAuthorities.php:173 TaxCategories.php:186 TaxGroups.php:191 -#: TaxProvinces.php:180 TestPlanResults.php:920 UnitsOfMeasure.php:186 -#: WorkCentres.php:143 WOSerialNos.php:335 WWW_Access.php:133 -#: WWW_Users.php:351 includes/InputSerialItemsKeyed.php:60 +#: SupplierTypes.php:172 TaxAuthorities.php:173 TaxCategories.php:186 +#: TaxGroups.php:191 TaxProvinces.php:180 TestPlanResults.php:920 +#: UnitsOfMeasure.php:186 WOSerialNos.php:335 WWW_Access.php:133 +#: WWW_Users.php:351 WorkCentres.php:143 includes/InputSerialItemsKeyed.php:60 #: includes/OutputSerialItems.php:99 +#: reportwriter/languages/en_US/reports.php:141 #, php-format msgid "Delete" msgstr "حذف" @@ -556,27 +560,28 @@ "ledger accounts should display in the trial balance" msgstr "" -#: AccountGroups.php:462 AccountSections.php:262 AddCustomerContacts.php:260 +#: AccountGroups.php:462 AccountSections.php:268 AddCustomerContacts.php:260 #: AddCustomerNotes.php:242 AddCustomerTypeNotes.php:221 Areas.php:229 -#: BankAccounts.php:433 BOMs.php:818 COGSGLPostings.php:368 -#: CreditStatus.php:259 Currencies.php:534 CustLoginSetup.php:273 +#: BOMs.php:818 BankAccounts.php:433 COGSGLPostings.php:368 +#: CreditStatus.php:259 Currencies.php:537 CustLoginSetup.php:273 #: Departments.php:258 DiscountMatrix.php:142 EDIMessageFormat.php:248 #: FixedAssetCategories.php:350 FixedAssetLocations.php:161 -#: FreightCosts.php:371 GeocodeSetup.php:271 GLAccounts.php:265 Labels.php:641 -#: Locations.php:714 Manufacturers.php:312 MRPDemands.php:424 -#: MRPDemandTypes.php:188 OffersReceived.php:57 OffersReceived.php:146 -#: PaymentMethods.php:302 PaymentTerms.php:310 PO_AuthorisationLevels.php:264 +#: FreightCosts.php:371 GLAccounts.php:265 GeocodeSetup.php:271 Labels.php:641 +#: Locations.php:716 MRPDemandTypes.php:188 MRPDemands.php:424 +#: Manufacturers.php:312 OffersReceived.php:57 OffersReceived.php:146 +#: PO_AuthorisationLevels.php:264 PaymentMethods.php:302 PaymentTerms.php:310 #: PriceMatrix.php:230 Prices_Customer.php:369 ProductSpecs.php:661 #: QATests.php:359 SalesAnalReptCols.php:552 SalesAnalRepts.php:519 #: SalesGLPostings.php:427 SalesPeople.php:381 SelectQASamples.php:531 #: SelectQASamples.php:601 Shippers.php:203 StockCategories.php:653 -#: SupplierContacts.php:284 SuppLoginSetup.php:291 TaxAuthorities.php:327 +#: SuppLoginSetup.php:291 SupplierContacts.php:284 TaxAuthorities.php:327 #: TaxCategories.php:244 TaxProvinces.php:234 TestPlanResults.php:967 -#: UnitsOfMeasure.php:241 WorkCentres.php:283 WWW_Users.php:774 +#: UnitsOfMeasure.php:241 WWW_Users.php:774 WorkCentres.php:283 msgid "Enter Information" msgstr "أدخل المعلومات" -#: AccountSections.php:5 includes/MainMenuLinksArray.php:390 +#: AccountSections.php:6 AccountSections.php:172 AccountSections.php:173 +#: includes/MainMenuLinksArray.php:394 msgid "Account Sections" msgstr "أعدادات العضو" @@ -614,23 +619,23 @@ msgid "Could not get account group sections because" msgstr "" -#: AccountSections.php:173 AccountSections.php:234 AccountSections.php:252 +#: AccountSections.php:178 AccountSections.php:240 AccountSections.php:258 msgid "Section Number" msgstr "رقم القطاع" -#: AccountSections.php:174 AccountSections.php:257 +#: AccountSections.php:179 AccountSections.php:263 msgid "Section Description" msgstr "وصف القطاع" -#: AccountSections.php:193 +#: AccountSections.php:198 msgid "Restricted" msgstr "محظور" -#: AccountSections.php:204 +#: AccountSections.php:210 msgid "Review Account Sections" msgstr "راجع أعدادات العضوية" -#: AccountSections.php:223 +#: AccountSections.php:229 msgid "Could not retrieve the requested section please try again." msgstr "لم أستطيع استرجاع القطاع المطلوب حاول مجددا" @@ -671,12 +676,12 @@ #: AddCustomerContacts.php:59 AddCustomerNotes.php:51 #: AddCustomerTypeNotes.php:48 Areas.php:72 CustomerTypes.php:68 #: DeliveryDetails.php:809 DeliveryDetails.php:826 Factors.php:105 -#: FixedAssetItems.php:250 MRPCalendar.php:176 PcAssignCashToTab.php:91 -#: PcClaimExpensesFromTab.php:82 PcExpenses.php:98 PcTabs.php:104 -#: PcTypeTabs.php:63 PO_Items.php:380 ProductSpecs.php:315 QATests.php:76 +#: FixedAssetItems.php:250 MRPCalendar.php:176 PO_Items.php:380 +#: PcAssignCashToTab.php:91 PcClaimExpensesFromTab.php:82 PcExpenses.php:98 +#: PcTabs.php:104 PcTypeTabs.php:63 ProductSpecs.php:315 QATests.php:76 #: SalesAnalReptCols.php:129 SalesPeople.php:105 SalesTypes.php:66 -#: SelectQASamples.php:85 Stocks.php:589 Suppliers.php:531 -#: SupplierTypes.php:68 +#: SelectQASamples.php:85 Stocks.php:589 SupplierTypes.php:68 +#: Suppliers.php:531 msgid "has been updated" msgstr "" @@ -694,7 +699,7 @@ #: PrintWOItemSlip.php:195 PrintWOItemSlip.php:206 ProductSpecs.php:164 #: ProductSpecs.php:385 QATests.php:391 SalesPeople.php:208 #: SelectCustomer.php:610 StockDispatch.php:275 StockDispatch.php:286 -#: StockDispatch.php:297 SupplierContacts.php:152 SuppTransGLAnalysis.php:108 +#: StockDispatch.php:297 SuppTransGLAnalysis.php:108 SupplierContacts.php:152 #: Tax.php:411 TestPlanResults.php:508 UserLocations.php:176 #: includes/InputSerialItemsFile.php:92 includes/InputSerialItemsFile.php:144 msgid "Name" @@ -711,14 +716,14 @@ msgstr "" #: AddCustomerContacts.php:129 AddCustomerContacts.php:241 -#: CustomerAccount.php:345 CustomerBranches.php:415 CustomerBranches.php:856 -#: CustomerInquiry.php:324 CustomerInquiry.php:370 CustomerInquiry.php:409 -#: CustomerInquiry.php:444 CustomerInquiry.php:490 Customers.php:1121 -#: Customers.php:1129 EmailCustTrans.php:16 EmailCustTrans.php:65 -#: Factors.php:246 Factors.php:297 Locations.php:638 OrderDetails.php:115 -#: PDFRemittanceAdvice.php:251 PDFWOPrint.php:591 PDFWOPrint.php:594 -#: PDFWOPrint.php:674 PDFWOPrint.php:677 PO_PDFPurchOrder.php:400 -#: PO_PDFPurchOrder.php:403 PrintCustTrans.php:740 +#: CustomerAccount.php:313 CustomerAccount.php:337 CustomerBranches.php:415 +#: CustomerBranches.php:858 CustomerInquiry.php:324 CustomerInquiry.php:370 +#: CustomerInquiry.php:409 CustomerInquiry.php:444 CustomerInquiry.php:490 +#: Customers.php:1121 Customers.php:1129 EmailCustTrans.php:16 +#: EmailCustTrans.php:65 Factors.php:246 Factors.php:297 Locations.php:639 +#: OrderDetails.php:115 PDFRemittanceAdvice.php:251 PDFWOPrint.php:591 +#: PDFWOPrint.php:594 PDFWOPrint.php:674 PDFWOPrint.php:677 +#: PO_PDFPurchOrder.php:400 PO_PDFPurchOrder.php:403 PrintCustTrans.php:740 #: PrintCustTransPortrait.php:793 PrintCustTransPortrait.php:1039 #: PrintCustTransPortrait.php:1095 SelectCustomer.php:428 #: SelectCustomer.php:613 SelectSupplier.php:288 SupplierContacts.php:156 @@ -726,16 +731,18 @@ #: includes/PDFPickingListHeader.inc:25 includes/PDFStatementPageHeader.inc:67 #: includes/PDFTransPageHeader.inc:85 #: includes/PDFTransPageHeaderPortrait.inc:114 includes/PDFWOPageHeader.inc:19 -#: includes/PO_PDFOrderPageHeader.inc:29 ../webSHOP/Checkout.php:443 -#: ../webSHOP/Register.php:607 +#: includes/PO_PDFOrderPageHeader.inc:29 ../webSHOP/Checkout.php:298 +#: ../webSHOP/Register.php:595 msgid "Email" msgstr "" -#: AddCustomerContacts.php:130 AddCustomerContacts.php:250 Customers.php:1122 -#: Customers.php:1130 PcAssignCashToTab.php:242 PcAssignCashToTab.php:380 -#: PcAuthorizeExpenses.php:97 PcClaimExpensesFromTab.php:238 -#: PcClaimExpensesFromTab.php:405 PcReportTab.php:333 PDFQuotation.php:252 -#: PDFQuotationPortrait.php:249 SelectCustomer.php:614 ShopParameters.php:198 +#: AddCustomerContacts.php:130 AddCustomerContacts.php:250 +#: AnalysisHorizontalIncome.php:169 AnalysisHorizontalPosition.php:132 +#: Customers.php:1122 Customers.php:1130 PDFQuotation.php:252 +#: PDFQuotationPortrait.php:249 PcAssignCashToTab.php:242 +#: PcAssignCashToTab.php:380 PcAuthorizeExpenses.php:97 +#: PcClaimExpensesFromTab.php:238 PcClaimExpensesFromTab.php:405 +#: PcReportTab.php:333 SelectCustomer.php:614 ShopParameters.php:198 #: SystemParameters.php:411 WOSerialNos.php:306 WOSerialNos.php:312 msgid "Notes" msgstr "" @@ -754,7 +761,7 @@ msgstr "" #: AddCustomerContacts.php:214 Factors.php:234 SupplierContacts.php:239 -#: ../webSHOP/Checkout.php:527 ../webSHOP/Register.php:622 +#: ../webSHOP/Checkout.php:379 ../webSHOP/Register.php:610 msgid "Contact Name" msgstr "" @@ -763,8 +770,8 @@ #: SelectCustomer.php:426 SelectOrderItems.php:597 #: SupplierTenderCreate.php:395 includes/PDFStatementPageHeader.inc:63 #: includes/PDFTransPageHeader.inc:84 -#: includes/PDFTransPageHeaderPortrait.inc:110 ../webSHOP/Checkout.php:537 -#: ../webSHOP/Register.php:260 ../webSHOP/Register.php:735 +#: includes/PDFTransPageHeaderPortrait.inc:110 ../webSHOP/Checkout.php:389 +#: ../webSHOP/Register.php:255 ../webSHOP/Register.php:723 msgid "Phone" msgstr "" @@ -805,25 +812,27 @@ #: AddCustomerTypeNotes.php:111 AddCustomerTypeNotes.php:211 #: AgedControlledInventory.php:47 BankMatching.php:281 #: BankReconciliation.php:212 BankReconciliation.php:289 -#: ContractCosting.php:177 CustomerAccount.php:248 CustomerAllocations.php:348 +#: ContractCosting.php:177 CustomerAccount.php:252 CustomerAllocations.php:348 #: CustomerAllocations.php:378 CustomerInquiry.php:251 #: CustomerTransInquiry.php:100 GLAccountInquiry.php:173 #: GLAccountReport.php:343 GLTransInquiry.php:47 GoodsReceived.php:109 -#: MRPCalendar.php:219 PaymentAllocations.php:66 PcAssignCashToTab.php:238 -#: PcAuthorizeExpenses.php:93 PDFRemittanceAdvice.php:308 PDFWOPrint.php:448 -#: PrintCustTrans.php:822 PrintCustTransPortrait.php:907 -#: PrintWOItemSlip.php:186 PrintWOItemSlip.php:197 PrintWOItemSlip.php:208 -#: ReverseGRN.php:398 SelectCustomer.php:660 SelectCustomer.php:702 -#: ShipmentCosting.php:538 ShipmentCosting.php:615 Shipments.php:489 -#: StockDispatch.php:277 StockDispatch.php:288 StockDispatch.php:299 -#: StockLocMovements.php:92 StockMovements.php:100 -#: StockSerialItemResearch.php:82 SupplierAllocations.php:456 -#: SupplierAllocations.php:569 SupplierAllocations.php:644 -#: SupplierInquiry.php:210 SupplierTransInquiry.php:105 Tax.php:408 +#: MRPCalendar.php:219 PDFRemittanceAdvice.php:308 PDFWOPrint.php:448 +#: PaymentAllocations.php:66 PcAssignCashToTab.php:238 +#: PcAuthorizeExpenses.php:93 PrintCustTrans.php:822 +#: PrintCustTransPortrait.php:907 PrintWOItemSlip.php:186 +#: PrintWOItemSlip.php:197 PrintWOItemSlip.php:208 ReverseGRN.php:398 +#: SelectCustomer.php:660 SelectCustomer.php:702 ShipmentCosting.php:538 +#: ShipmentCosting.php:615 Shipments.php:489 StockDispatch.php:277 +#: StockDispatch.php:288 StockDispatch.php:299 StockLocMovements.php:92 +#: StockMovements.php:105 StockSerialItemResearch.php:82 +#: SupplierAllocations.php:456... [truncated message content] |
From: <rc...@us...> - 2015-09-14 14:43:22
|
Revision: 7349 http://sourceforge.net/p/web-erp/reponame/7349 Author: rchacon Date: 2015-09-14 14:43:19 +0000 (Mon, 14 Sep 2015) Log Message: ----------- In AnalysisHorizontalIncome.php, delete duplicated tag. Replaces text "Absolute/Relative variation" with "Absolute/Relative difference" to avoid confusions. Modified Paths: -------------- trunk/AnalysisHorizontalIncome.php trunk/AnalysisHorizontalPosition.php trunk/doc/Change.log Modified: trunk/AnalysisHorizontalIncome.php =================================================================== --- trunk/AnalysisHorizontalIncome.php 2015-09-13 17:21:49 UTC (rev 7348) +++ trunk/AnalysisHorizontalIncome.php 2015-09-14 14:43:19 UTC (rev 7349) @@ -2,8 +2,8 @@ /* $Id: AnalysisHorizontalIncome.php 7332 2015-08-04 03:27:51Z rchacon $*/ /* Shows the horizontal analysis of the statement of comprehensive income. */ -function RelativeVariation($SelectedPeriod, $PreviousPeriod) { - // Calculates the relative variation between selected and previous periods. Uses percent in locale number format. +function RelativeDifference($SelectedPeriod, $PreviousPeriod) { + // Calculates the relative difference between selected and previous periods. Uses percent in locale number format. if($PreviousPeriod<>0) { return locale_number_format(($SelectedPeriod-$PreviousPeriod)*100/$PreviousPeriod,$_SESSION['CompanyRecord']['decimalplaces']) . '%'; } else { @@ -16,7 +16,7 @@ $ViewTopic= 'GeneralLedger';// Filename's id in ManualContents.php's TOC. $BookMark = 'AnalysisHorizontalIncome';// Anchor's id in the manual's html document. include('includes/SQL_CommonFunctions.inc'); -include('includes/AccountSectionsDef.inc'); // This loads the $Sections variable +include('includes/AccountSectionsDef.inc');// This loads the $Sections variable if(isset($_POST['FromPeriod']) and ($_POST['FromPeriod'] > $_POST['ToPeriod'])) { prnMsg(_('The selected period from is actually after the period to') . '! ' . _('Please reselect the reporting period'),'error'); @@ -32,7 +32,7 @@ echo '<div class="page_help_text">', _('Horizontal analysis (also known as trend analysis) is a financial statement analysis technique that shows changes in the amounts of corresponding financial statement items over a period of time. It is a useful tool to evaluate trend situations.'), '<br />', - _('The statements for two periods are used in horizontal analysis. The earliest period is used as the base period. The items on the later statement are compared with items on the statement of the base period. The changes are shown both in currency (absolute variation) and percentage (relative variation).'), '<br />', + _('The statements for two periods are used in horizontal analysis. The earliest period is used as the base period. The items on the later statement are compared with items on the statement of the base period. The changes are shown both in currency (absolute difference) and percentage (relative difference).'), '<br />', _('webERP is an "accrual" based system (not a "cash based" system). Accrual systems include items when they are invoiced to the customer, and when expenses are owed based on the supplier invoice date.'), '</div>', // Show a form to allow input of criteria for the report to show: '<form method="post" action="', htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8'), '">', @@ -140,7 +140,6 @@ // Page title as IAS 1, numerals 10 and 51: include_once('includes/CurrenciesArray.php');// Array to retrieve currency name. - echo '<div id="Report">';// Division to identify the report block. echo '<div id="Report">', // Division to identify the report block. '<p class="page_title_text"><img alt="" src="', $RootPath, '/css/', $Theme, '/images/gl.png" title="', // Icon image. @@ -160,16 +159,16 @@ } echo '<th class="number">', ' - ', $myrow[0], '</th> <th class="number">', _('Last Year'), '</th> - <th class="number">', _('Absolute variation'), '</th> - <th class="number">', _('Relative variation'), '</th> + <th class="number">', _('Absolute difference'), '</th> + <th class="number">', _('Relative difference'), '</th> </tr> </thead> <tfoot> <tr> - <td class="text" colspan="6">',// Prints an explanation of signs in absolute and relative variations: + <td class="text" colspan="6">',// Prints an explanation of signs in absolute and relative differences: '<br /><b>', _('Notes'), ':</b><br />', - _('Absolute variation signs: a positive number indicates a variation that increases the net profit; a negative number indicates a variation that decreases the net profit.'), '<br />', - _('Relative variation signs: a positive number indicates an increase in the amount of that account; a negative number indicates a decrease in the amount of that account.'), '<br />', + _('Absolute difference signs: a positive number indicates a variation that increases the net profit; a negative number indicates a variation that decreases the net profit.'), '<br />', + _('Relative difference signs: a positive number indicates an increase in the amount of that account; a negative number indicates a decrease in the amount of that account.'), '<br />', '</td> </tr> </tfoot> @@ -237,7 +236,7 @@ <td class="number">', locale_number_format(-$GrpTotal[$Level],$_SESSION['CompanyRecord']['decimalplaces']), '</td> <td class="number">', locale_number_format(-$GrpTotalLY[$Level],$_SESSION['CompanyRecord']['decimalplaces']), '</td> <td class="number">', locale_number_format(-$GrpTotal[$Level]+$GrpTotalLY[$Level],$_SESSION['CompanyRecord']['decimalplaces']), '</td> - <td class="number">', RelativeVariation(-$GrpTotal[$Level],-$GrpTotalLY[$Level]), '</td> + <td class="number">', RelativeDifference(-$GrpTotal[$Level],-$GrpTotalLY[$Level]), '</td> </tr>'; $GrpTotal[$Level]=0; $GrpTotalLY[$Level]=0; @@ -261,7 +260,7 @@ <td class="number">', locale_number_format(-$GrpTotal[$Level],$_SESSION['CompanyRecord']['decimalplaces']), '</td> <td class="number">', locale_number_format(-$GrpTotalLY[$Level],$_SESSION['CompanyRecord']['decimalplaces']), '</td> <td class="number">', locale_number_format(-$GrpTotal[$Level]+$GrpTotalLY[$Level],$_SESSION['CompanyRecord']['decimalplaces']), '</td> - <td class="number">', RelativeVariation(-$GrpTotal[$Level],-$GrpTotalLY[$Level]), '</td> + <td class="number">', RelativeDifference(-$GrpTotal[$Level],-$GrpTotalLY[$Level]), '</td> </tr>'; } else {// Costs // <--- @@ -270,7 +269,7 @@ <td class="number">', locale_number_format(-$GrpTotal[$Level],$_SESSION['CompanyRecord']['decimalplaces']), '</td> <td class="number">', locale_number_format(-$GrpTotalLY[$Level],$_SESSION['CompanyRecord']['decimalplaces']), '</td> <td class="number">', locale_number_format(-$GrpTotal[$Level]+$GrpTotalLY[$Level],$_SESSION['CompanyRecord']['decimalplaces']), '</td> - <td class="number">', RelativeVariation(-$GrpTotal[$Level],-$GrpTotalLY[$Level]), '</td> + <td class="number">', RelativeDifference(-$GrpTotal[$Level],-$GrpTotalLY[$Level]), '</td> </tr>'; // ---> } @@ -292,7 +291,7 @@ <td class="number"><h2>', locale_number_format(-$SectionTotal,$_SESSION['CompanyRecord']['decimalplaces']), '</h2></td> <td class="number"><h2>', locale_number_format(-$SectionTotalLY,$_SESSION['CompanyRecord']['decimalplaces']), '</h2></td> <td class="number"><h2>', locale_number_format(-$SectionTotal+$SectionTotalLY,$_SESSION['CompanyRecord']['decimalplaces']), '</h2></td> - <td class="number"><h2>', RelativeVariation(-$SectionTotal,-$SectionTotalLY), '</h2></td> + <td class="number"><h2>', RelativeDifference(-$SectionTotal,-$SectionTotalLY), '</h2></td> </tr>'; $GPIncome = $SectionTotal; $GPIncomeLY = $SectionTotalLY; @@ -302,7 +301,7 @@ <td class="number"><h2>', locale_number_format(-$SectionTotal,$_SESSION['CompanyRecord']['decimalplaces']), '</h2></td> <td class="number"><h2>', locale_number_format(-$SectionTotalLY,$_SESSION['CompanyRecord']['decimalplaces']), '</h2></td> <td class="number"><h2>', locale_number_format(-$SectionTotal+$SectionTotalLY,$_SESSION['CompanyRecord']['decimalplaces']), '</h2></td> - <td class="number"><h2>', RelativeVariation(-$SectionTotal,-$SectionTotalLY), '</h2></td> + <td class="number"><h2>', RelativeDifference(-$SectionTotal,-$SectionTotalLY), '</h2></td> </tr>'; } @@ -313,7 +312,7 @@ <td class="number"><h2>', locale_number_format(-($GPIncome+$SectionTotal),$_SESSION['CompanyRecord']['decimalplaces']), '</h2></td> <td class="number"><h2>', locale_number_format(-($GPIncomeLY+$SectionTotalLY),$_SESSION['CompanyRecord']['decimalplaces']), '</h2></td> <td class="number"><h2>', locale_number_format(-($GPIncome+$SectionTotal)+($GPIncomeLY+$SectionTotalLY),$_SESSION['CompanyRecord']['decimalplaces']), '</h2></td> - <td class="number"><h2>', RelativeVariation(-($GPIncome+$SectionTotal),-($GPIncomeLY+$SectionTotalLY)), '</h2></td> + <td class="number"><h2>', RelativeDifference(-($GPIncome+$SectionTotal),-($GPIncomeLY+$SectionTotalLY)), '</h2></td> </tr>'; } @@ -324,7 +323,7 @@ <td class="number"><h2>', locale_number_format(-$PeriodTotal,$_SESSION['CompanyRecord']['decimalplaces']), '</h2></td> <td class="number"><h2>', locale_number_format(-$PeriodTotalLY,$_SESSION['CompanyRecord']['decimalplaces']), '</h2></td> <td class="number"><h2>', locale_number_format(-$PeriodTotal+$PeriodTotalLY,$_SESSION['CompanyRecord']['decimalplaces']), '</h2></td> - <td class="number"><h2>', RelativeVariation(-$PeriodTotal,-$PeriodTotalLY), '</h2></td> + <td class="number"><h2>', RelativeDifference(-$PeriodTotal,-$PeriodTotalLY), '</h2></td> </tr>'; echo $DrawTotalLine; } @@ -384,7 +383,7 @@ <td class="number">', locale_number_format(-$AccountTotal,$_SESSION['CompanyRecord']['decimalplaces']), '</td> <td class="number">', locale_number_format(-$AccountTotalLY,$_SESSION['CompanyRecord']['decimalplaces']), '</td> <td class="number">', locale_number_format(-$AccountTotal+$AccountTotalLY,$_SESSION['CompanyRecord']['decimalplaces']), '</td> - <td class="number">', RelativeVariation(-$AccountTotal,-$AccountTotalLY), '</td> + <td class="number">', RelativeDifference(-$AccountTotal,-$AccountTotalLY), '</td> </tr>'; } else { // <--- @@ -392,7 +391,7 @@ <td class="number">', locale_number_format(-$AccountTotal,$_SESSION['CompanyRecord']['decimalplaces']), '</td> <td class="number">', locale_number_format(-$AccountTotalLY,$_SESSION['CompanyRecord']['decimalplaces']), '</td> <td class="number">', locale_number_format(-$AccountTotal+$AccountTotalLY,$_SESSION['CompanyRecord']['decimalplaces']), '</td> - <td class="number">', RelativeVariation(-$AccountTotal,-$AccountTotalLY), '</td> + <td class="number">', RelativeDifference(-$AccountTotal,-$AccountTotalLY), '</td> </tr>'; } } @@ -415,7 +414,7 @@ <td class="number">', locale_number_format(-$GrpTotal[$Level],$_SESSION['CompanyRecord']['decimalplaces']), '</td> <td class="number">', locale_number_format(-$GrpTotalLY[$Level],$_SESSION['CompanyRecord']['decimalplaces']), '</td> <td class="number">', locale_number_format(-$GrpTotal[$Level]+$GrpTotalLY[$Level],$_SESSION['CompanyRecord']['decimalplaces']), '</td> - <td class="number">', RelativeVariation(-$GrpTotal[$Level],-$GrpTotalLY[$Level]), '</td> + <td class="number">', RelativeDifference(-$GrpTotal[$Level],-$GrpTotalLY[$Level]), '</td> </tr>'; } else {// Costs. // <--- @@ -424,7 +423,7 @@ <td class="number">', locale_number_format(-$GrpTotal[$Level],$_SESSION['CompanyRecord']['decimalplaces']), '</td> <td class="number">', locale_number_format(-$GrpTotalLY[$Level],$_SESSION['CompanyRecord']['decimalplaces']), '</td> <td class="number">', locale_number_format(-$GrpTotal[$Level]+$GrpTotalLY[$Level],$_SESSION['CompanyRecord']['decimalplaces']), '</td> - <td class="number">', RelativeVariation(-$GrpTotal[$Level],-$GrpTotalLY[$Level]), '</td> + <td class="number">', RelativeDifference(-$GrpTotal[$Level],-$GrpTotalLY[$Level]), '</td> </tr>'; } $GrpTotal[$Level]=0; @@ -444,7 +443,7 @@ <td class="number">', locale_number_format(-$GrpTotal[$Level],$_SESSION['CompanyRecord']['decimalplaces']), '</td> <td class="number">', locale_number_format(-$GrpTotalLY[$Level],$_SESSION['CompanyRecord']['decimalplaces']), '</td> <td class="number">', locale_number_format(-$GrpTotal[$Level]+$GrpTotalLY[$Level],$_SESSION['CompanyRecord']['decimalplaces']), '</td> - <td class="number">', RelativeVariation(-$GrpTotal[$Level],-$GrpTotalLY[$Level]), '</td> + <td class="number">', RelativeDifference(-$GrpTotal[$Level],-$GrpTotalLY[$Level]), '</td> </tr>'; $GrpTotal[$Level]=0; $GrpTotalLY[$Level]=0; @@ -461,7 +460,7 @@ <td class="number"><h2>', locale_number_format(-$SectionTotal,$_SESSION['CompanyRecord']['decimalplaces']), '</h2></td> <td class="number"><h2>', locale_number_format(-$SectionTotalLY,$_SESSION['CompanyRecord']['decimalplaces']), '</h2></td> <td class="number"><h2>', locale_number_format(-$SectionTotal+$SectionTotalLY,$_SESSION['CompanyRecord']['decimalplaces']), '</h2></td> - <td class="number"><h2>', RelativeVariation(-$SectionTotal,-$SectionTotalLY), '</h2></td> + <td class="number"><h2>', RelativeDifference(-$SectionTotal,-$SectionTotalLY), '</h2></td> </tr>'; $GPIncome = $SectionTotal; $GPIncomeLY = $SectionTotalLY; @@ -472,7 +471,7 @@ <td class="number"><h2>', locale_number_format(-$SectionTotal,$_SESSION['CompanyRecord']['decimalplaces']), '</h2></td> <td class="number"><h2>', locale_number_format(-$SectionTotalLY,$_SESSION['CompanyRecord']['decimalplaces']), '</h2></td> <td class="number"><h2>', locale_number_format(-$SectionTotal+$SectionTotalLY,$_SESSION['CompanyRecord']['decimalplaces']), '</h2></td> - <td class="number"><h2>', RelativeVariation(-$SectionTotal,-$SectionTotalLY), '</h2></td> + <td class="number"><h2>', RelativeDifference(-$SectionTotal,-$SectionTotalLY), '</h2></td> </tr>'; } if($Section==2) {// Cost of Sales - need sub total for Gross Profit. @@ -482,7 +481,7 @@ <td class="number"><h2>', locale_number_format(-($GPIncome+$SectionTotal),$_SESSION['CompanyRecord']['decimalplaces']), '</h2></td> <td class="number"><h2>', locale_number_format(-($GPIncomeLY+$SectionTotalLY),$_SESSION['CompanyRecord']['decimalplaces']), '</h2></td> <td class="number"><h2>', locale_number_format(-($GPIncome+$SectionTotal)+($GPIncomeLY+$SectionTotalLY),$_SESSION['CompanyRecord']['decimalplaces']), '</h2></td> - <td class="number"><h2>', RelativeVariation(-($GPIncome+$SectionTotal),-($GPIncomeLY+$SectionTotalLY)), '</h2></td> + <td class="number"><h2>', RelativeDifference(-($GPIncome+$SectionTotal),-($GPIncomeLY+$SectionTotalLY)), '</h2></td> </tr>'; } $Section = $myrow['sectioninaccounts']; @@ -502,12 +501,12 @@ <td class="number"><h2>', locale_number_format(-$PeriodTotal,$_SESSION['CompanyRecord']['decimalplaces']), '</h2></td> <td class="number"><h2>', locale_number_format(-$PeriodTotalLY,$_SESSION['CompanyRecord']['decimalplaces']), '</h2></td> <td class="number"><h2>', locale_number_format(-$PeriodTotal+$PeriodTotalLY,$_SESSION['CompanyRecord']['decimalplaces']), '</h2></td> - <td class="number"><h2>', RelativeVariation(-$PeriodTotal,-$PeriodTotalLY), '</h2></td> + <td class="number"><h2>', RelativeDifference(-$PeriodTotal,-$PeriodTotalLY), '</h2></td> </tr>'; echo $DrawTotalLine; echo '</tbody>', // See comment at the begin of the table. '</table> - </div>'; // Close div id="Report". + </div>';// End div id="Report". echo '<br />', '<form method="post" action="', htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8'), '">', '<input type="hidden" name="FormID" value="', $_SESSION['FormID'], '" />', Modified: trunk/AnalysisHorizontalPosition.php =================================================================== --- trunk/AnalysisHorizontalPosition.php 2015-09-13 17:21:49 UTC (rev 7348) +++ trunk/AnalysisHorizontalPosition.php 2015-09-14 14:43:19 UTC (rev 7349) @@ -2,8 +2,8 @@ /* $Id: AnalysisHorizontalPosition.php 7338 2015-08-13 18:51:07Z rchacon $*/ /* Shows the horizontal analysis of the statement of financial position. */ -function RelativeVariation($SelectedPeriod, $PreviousPeriod) { - // Calculates the relative variation between selected and previous periods. Uses percent in locale number format. +function RelativeDifference($SelectedPeriod, $PreviousPeriod) { + // Calculates the relative difference between selected and previous periods. Uses percent in locale number format. if($PreviousPeriod<>0) { return locale_number_format(($SelectedPeriod-$PreviousPeriod)*100/$PreviousPeriod,$_SESSION['CompanyRecord']['decimalplaces']) . '%'; } else { @@ -29,7 +29,7 @@ echo '<div class="page_help_text">', _('Horizontal analysis (also known as trend analysis) is a financial statement analysis technique that shows changes in the amounts of corresponding financial statement items over a period of time. It is a useful tool to evaluate trend situations.'), '<br />', - _('The statements for two periods are used in horizontal analysis. The earliest period is used as the base period. The items on the later statement are compared with items on the statement of the base period. The changes are shown both in currency (absolute variation) and percentage (relative variation).'), '<br />', + _('The statements for two periods are used in horizontal analysis. The earliest period is used as the base period. The items on the later statement are compared with items on the statement of the base period. The changes are shown both in currency (absolute difference) and percentage (relative difference).'), '<br />', _('webERP is an "accrual" based system (not a "cash based" system). Accrual systems include items when they are invoiced to the customer, and when expenses are owed based on the supplier invoice date.'), '</div>', // Show a form to allow input of criteria for the report to show: '<form method="post" action="', htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8'), '">', @@ -122,16 +122,16 @@ } echo '<th class="number">', $BalanceDate, '</th> <th class="number">', _('Last Year'), '</th> - <th class="number">', _('Absolute variation'), '</th> - <th class="number">', _('Relative variation'), '</th> + <th class="number">', _('Absolute difference'), '</th> + <th class="number">', _('Relative difference'), '</th> </tr> </thead> <tfoot> <tr> - <td class="text" colspan="6">',// Prints an explanation of signs in absolute and relative variations: + <td class="text" colspan="6">',// Prints an explanation of signs in absolute and relative differences: '<br /><b>', _('Notes'), ':</b><br />', - _('Absolute variation signs: a positive number indicates a source of funds; a negative number indicates an application of funds.'), '<br />', - _('Relative variation signs: a positive number indicates an increase in the amount of that account; a negative number indicates a decrease in the amount of that account.'), '<br />', + _('Absolute difference signs: a positive number indicates a source of funds; a negative number indicates an application of funds.'), '<br />', + _('Relative difference signs: a positive number indicates an increase in the amount of that account; a negative number indicates a decrease in the amount of that account.'), '<br />', '</td> </tr> </tfoot> @@ -216,7 +216,7 @@ <td class="number">', locale_number_format($GroupTotal[$Level],$_SESSION['CompanyRecord']['decimalplaces']), '</td> <td class="number">', locale_number_format($GroupTotalLY[$Level],$_SESSION['CompanyRecord']['decimalplaces']), '</td> <td class="number">', locale_number_format(-$GroupTotal[$Level]+$GroupTotalLY[$Level],$_SESSION['CompanyRecord']['decimalplaces']), '</td> - <td class="number">', RelativeVariation(-$GroupTotal[$Level],-$GroupTotalLY[$Level]), '</td> + <td class="number">', RelativeDifference(-$GroupTotal[$Level],-$GroupTotalLY[$Level]), '</td> </tr>'; $GroupTotal[$Level]=0; $GroupTotalLY[$Level]=0; @@ -231,7 +231,7 @@ <td class="number">', locale_number_format($GroupTotal[$Level],$_SESSION['CompanyRecord']['decimalplaces']), '</td> <td class="number">', locale_number_format($GroupTotalLY[$Level],$_SESSION['CompanyRecord']['decimalplaces']), '</td> <td class="number">', locale_number_format(-$GroupTotal[$Level]+$GroupTotalLY[$Level],$_SESSION['CompanyRecord']['decimalplaces']), '</td> - <td class="number">', RelativeVariation(-$GroupTotal[$Level],-$GroupTotalLY[$Level]), '</td> + <td class="number">', RelativeDifference(-$GroupTotal[$Level],-$GroupTotalLY[$Level]), '</td> </tr>'; $GroupTotal[$Level]=0; $GroupTotalLY[$Level]=0; @@ -246,7 +246,7 @@ <td class="number"><h2>', locale_number_format($SectionBalance,$_SESSION['CompanyRecord']['decimalplaces']), '</h2></td> <td class="number"><h2>', locale_number_format($SectionBalanceLY,$_SESSION['CompanyRecord']['decimalplaces']), '</h2></td> <td class="number"><h2>', locale_number_format(-$SectionBalance+$SectionBalanceLY,$_SESSION['CompanyRecord']['decimalplaces']), '</h2></td> - <td class="number"><h2>', RelativeVariation(-$SectionBalance,-$SectionBalanceLY), '</h2></td> + <td class="number"><h2>', RelativeDifference(-$SectionBalance,-$SectionBalanceLY), '</h2></td> </tr>'; } $SectionBalance=0; @@ -300,7 +300,7 @@ <td class="number">', locale_number_format($AccountBalance,$_SESSION['CompanyRecord']['decimalplaces']), '</td> <td class="number">', locale_number_format($AccountBalanceLY,$_SESSION['CompanyRecord']['decimalplaces']), '</td> <td class="number">', locale_number_format(-$AccountBalance+$AccountBalanceLY,$_SESSION['CompanyRecord']['decimalplaces']), '</td> - <td class="number">', RelativeVariation(-$AccountBalance,-$AccountBalanceLY), '</td> + <td class="number">', RelativeDifference(-$AccountBalance,-$AccountBalanceLY), '</td> </tr>'; } } @@ -315,7 +315,7 @@ <td class="number">', locale_number_format($GroupTotal[$Level],$_SESSION['CompanyRecord']['decimalplaces']), '</td> <td class="number">', locale_number_format($GroupTotalLY[$Level],$_SESSION['CompanyRecord']['decimalplaces']), '</td> <td class="number">', locale_number_format(-$GroupTotal[$Level]+$GroupTotalLY[$Level],$_SESSION['CompanyRecord']['decimalplaces']), '</td> - <td class="number">', RelativeVariation(-$GroupTotal[$Level],-$GroupTotalLY[$Level]), '</td> + <td class="number">', RelativeDifference(-$GroupTotal[$Level],-$GroupTotalLY[$Level]), '</td> </tr>'; $Level--; } @@ -327,7 +327,7 @@ <td class="number">', locale_number_format($GroupTotal[$Level],$_SESSION['CompanyRecord']['decimalplaces']), '</td> <td class="number">', locale_number_format($GroupTotalLY[$Level],$_SESSION['CompanyRecord']['decimalplaces']), '</td> <td class="number">', locale_number_format(-$GroupTotal[$Level]+$GroupTotalLY[$Level],$_SESSION['CompanyRecord']['decimalplaces']), '</td> - <td class="number">', RelativeVariation(-$GroupTotal[$Level],-$GroupTotalLY[$Level]), '</td> + <td class="number">', RelativeDifference(-$GroupTotal[$Level],-$GroupTotalLY[$Level]), '</td> </tr>'; echo $DrawTotalLine; echo '<tr> @@ -335,7 +335,7 @@ <td class="number"><h2>', locale_number_format($SectionBalance,$_SESSION['CompanyRecord']['decimalplaces']), '</h2></td> <td class="number"><h2>', locale_number_format($SectionBalanceLY,$_SESSION['CompanyRecord']['decimalplaces']), '</h2></td> <td class="number"><h2>', locale_number_format(-$SectionBalance+$SectionBalanceLY,$_SESSION['CompanyRecord']['decimalplaces']), '</h2></td> - <td class="number"><h2>', RelativeVariation(-$SectionBalance,-$SectionBalanceLY), '</h2></td> + <td class="number"><h2>', RelativeDifference(-$SectionBalance,-$SectionBalanceLY), '</h2></td> </tr>'; $Section = $myrow['sectioninaccounts']; @@ -351,7 +351,7 @@ <td class="number"><h2>', locale_number_format($CheckTotal,$_SESSION['CompanyRecord']['decimalplaces']), '</h2></td> <td class="number"><h2>', locale_number_format($CheckTotalLY,$_SESSION['CompanyRecord']['decimalplaces']), '</h2></td> <td class="number"><h2>', locale_number_format(-$CheckTotal+$CheckTotalLY,$_SESSION['CompanyRecord']['decimalplaces']), '</h2></td> - <td class="number"><h2>', RelativeVariation(-$CheckTotal,-$CheckTotalLY), '</h2></td> + <td class="number"><h2>', RelativeDifference(-$CheckTotal,-$CheckTotalLY), '</h2></td> </tr>'; echo $DrawTotalLine; echo '</tbody>', // See comment at the begin of the table. Modified: trunk/doc/Change.log =================================================================== --- trunk/doc/Change.log 2015-09-13 17:21:49 UTC (rev 7348) +++ trunk/doc/Change.log 2015-09-14 14:43:19 UTC (rev 7349) @@ -1,5 +1,6 @@ webERP Change Log +14/9/15 RChacon: In AnalysisHorizontalIncome.php, delete duplicated tag. Replaces text "Absolute/Relative variation" with "Absolute/Relative difference" to avoid confusions. 13/9/15 RChacon: In AccountSections.php, add modifications for direct printing. 4/9/15 Wes Wolfenbarger: Fix to Z_ImportStocks.php added quotes to descriptions - also fixes error message when the csv does not match the template 27/08/15 Exson: Fixed the allocation status of involved invoice and credit notes in Credit_Invoice.php. |
From: <rc...@us...> - 2015-09-13 17:21:50
|
Revision: 7348 http://sourceforge.net/p/web-erp/reponame/7348 Author: rchacon Date: 2015-09-13 17:21:49 +0000 (Sun, 13 Sep 2015) Log Message: ----------- In AccountSections.php, add modifications for direct printing. Modified Paths: -------------- trunk/AccountSections.php trunk/doc/Change.log Modified: trunk/AccountSections.php =================================================================== --- trunk/AccountSections.php 2015-09-05 22:20:44 UTC (rev 7347) +++ trunk/AccountSections.php 2015-09-13 17:21:49 UTC (rev 7348) @@ -1,11 +1,11 @@ <?php /* $Id$*/ +/* Defines the sections in the general ledger reports. */ include('includes/session.inc'); $Title = _('Account Sections'); -/* Manual links before header.inc */ -$ViewTopic = 'GeneralLedger';// Filename in ManualContents.php's TOC. -$BookMark = 'AccountSections';// Anchor's id in the manual's html document. +$ViewTopic = 'GeneralLedger'; +$BookMark = 'AccountSections'; include('includes/header.inc'); // SOME TEST TO ENSURE THAT AT LEAST INCOME AND COST OF SALES ARE THERE @@ -33,13 +33,13 @@ // DONE WITH MINIMUM TESTS -if (isset($Errors)) { +if(isset($Errors)) { unset($Errors); } $Errors = array(); -if (isset($_POST['submit'])) { +if(isset($_POST['submit'])) { //initialise no input errors assumed initially before we test @@ -50,45 +50,45 @@ ie the page has called itself with some user input */ //first off validate inputs sensible - if (isset($_POST['SectionID'])) { + if(isset($_POST['SectionID'])) { $sql="SELECT sectionid FROM accountsection WHERE sectionid='".$_POST['SectionID']."'"; $result=DB_query($sql); - if ((DB_num_rows($result)!=0 AND !isset($_POST['SelectedSectionID']))) { + if((DB_num_rows($result)!=0 AND !isset($_POST['SelectedSectionID']))) { $InputError = 1; prnMsg( _('The account section already exists in the database'),'error'); $Errors[$i] = 'SectionID'; $i++; } } - if (ContainsIllegalCharacters($_POST['SectionName'])) { + if(ContainsIllegalCharacters($_POST['SectionName'])) { $InputError = 1; prnMsg( _('The account section name cannot contain any illegal characters') ,'error'); $Errors[$i] = 'SectionName'; $i++; } - if (mb_strlen($_POST['SectionName'])==0) { + if(mb_strlen($_POST['SectionName'])==0) { $InputError = 1; prnMsg( _('The account section name must contain at least one character') ,'error'); $Errors[$i] = 'SectionName'; $i++; } - if (isset($_POST['SectionID']) AND (!is_numeric($_POST['SectionID']))) { + if(isset($_POST['SectionID']) AND (!is_numeric($_POST['SectionID']))) { $InputError = 1; prnMsg( _('The section number must be an integer'),'error'); $Errors[$i] = 'SectionID'; $i++; } - if (isset($_POST['SectionID']) AND mb_strpos($_POST['SectionID'],".")>0) { + if(isset($_POST['SectionID']) AND mb_strpos($_POST['SectionID'],".")>0) { $InputError = 1; prnMsg( _('The section number must be an integer'),'error'); $Errors[$i] = 'SectionID'; $i++; } - if (isset($_POST['SelectedSectionID']) AND $_POST['SelectedSectionID']!='' AND $InputError !=1) { + if(isset($_POST['SelectedSectionID']) AND $_POST['SelectedSectionID']!='' AND $InputError !=1) { /*SelectedSectionID could also exist if submit had not been clicked this code would not run in this case cos submit is false of course see the delete code below*/ @@ -96,7 +96,7 @@ WHERE sectionid = '" . $_POST['SelectedSectionID'] . "'"; $msg = _('Record Updated'); - } elseif ($InputError !=1) { + } elseif($InputError !=1) { /*SelectedSectionID is null cos no item selected on first time round so must be adding a record must be submitting new entries in the new account section form */ @@ -108,7 +108,7 @@ $msg = _('Record inserted'); } - if ($InputError!=1){ + if($InputError!=1) { //run the SQL from either of the above possibilites $result = DB_query($sql); prnMsg($msg,'success'); @@ -117,14 +117,14 @@ unset ($_POST['SectionName']); } -} elseif (isset($_GET['delete'])) { +} elseif(isset($_GET['delete'])) { //the link to delete a selected record was clicked instead of the submit button // PREVENT DELETES IF DEPENDENT RECORDS IN 'accountgroups' $sql= "SELECT COUNT(sectioninaccounts) AS sections FROM accountgroups WHERE sectioninaccounts='" . $_GET['SelectedSectionID'] . "'"; $result = DB_query($sql); $myrow = DB_fetch_array($result); - if ($myrow['sections']>0) { + if($myrow['sections']>0) { prnMsg( _('Cannot delete this account section because general ledger accounts groups have been created using this section'),'warn'); echo '<div>'; echo '<br />' . _('There are') . ' ' . $myrow['sections'] . ' ' . _('general ledger accounts groups that refer to this account section'); @@ -149,7 +149,7 @@ unset ($_POST['SectionName']); } -if (!isset($_GET['SelectedSectionID']) AND !isset($_POST['SelectedSectionID'])) { +if(!isset($_GET['SelectedSectionID']) AND !isset($_POST['SelectedSectionID'])) { /* An account section could be posted when one has been edited and is being updated or GOT when selected for modification @@ -166,19 +166,24 @@ $ErrMsg = _('Could not get account group sections because'); $result = DB_query($sql,$ErrMsg); - echo '<p class="page_title_text"><img alt="" src="'.$RootPath.'/css/'.$Theme.'/images/maintenance.png" title="' . _('Search') . '" />' . ' ' . $Title . '</p><br />'; +/* echo '<div id="Report">';// Division to identify the report block.*/ + echo '<p class="page_title_text"><img alt="" class="noprint" src="', $RootPath, '/css/', $Theme, + '/images/maintenance.png" title="', // Icon image. + _('Account Sections'), '" /> ', // Icon title. + _('Account Sections'), '</p>';// Page title. - echo '<table class="selection"> + echo '<br /> + <table class="selection"> <tr> - <th class="ascending">' . _('Section Number') . '</th> - <th class="ascending">' . _('Section Description') . '</th> - <th colspan="2"> </th> + <th class="ascending">', _('Section Number'), '</th> + <th class="ascending">', _('Section Description'), '</th> + <th class="noprint" colspan="2"> </th> </tr>'; $k=0; //row colour counter while ($myrow = DB_fetch_array($result)) { - if ($k==1){ + if($k==1) { echo '<tr class="EvenTableRows">'; $k=0; } else { @@ -186,31 +191,32 @@ $k++; } - echo '<td class="number">' . $myrow['sectionid'] . '</td> - <td>' . $myrow['sectionname'] . '</td> - <td><a href="' . htmlspecialchars($_SERVER['PHP_SELF'] . '?SelectedSectionID=' . urlencode($myrow['sectionid']), ENT_QUOTES, 'UTF-8') . '">' . _('Edit') . '</a></td>'; - if ( $myrow['sectionid'] == '1' or $myrow['sectionid'] == '2' ) { - echo '<td><b>' . _('Restricted') . '</b></td>'; + echo '<td class="number">', $myrow['sectionid'], '</td> + <td class="text">', $myrow['sectionname'], '</td> + <td class="noprint"><a href="', htmlspecialchars($_SERVER['PHP_SELF'], '?SelectedSectionID=', urlencode($myrow['sectionid']), ENT_QUOTES, 'UTF-8'), '">', _('Edit'), '</a></td>'; + if( $myrow['sectionid'] == '1' or $myrow['sectionid'] == '2' ) { + echo '<td class="noprint"><b>', _('Restricted'), '</b></td>'; } else { - echo '<td><a href="' . htmlspecialchars($_SERVER['PHP_SELF'] . '?SelectedSectionID=' . urlencode($myrow['sectionid']) . '&delete=1', ENT_QUOTES, 'UTF-8') . '">' . _('Delete') . '</a></td>'; + echo '<td class="noprint"><a href="', htmlspecialchars($_SERVER['PHP_SELF'], '?SelectedSectionID=', urlencode($myrow['sectionid']), '&delete=1', ENT_QUOTES, 'UTF-8'), '">', _('Delete'), '</a></td>'; } echo '</tr>'; } //END WHILE LIST LOOP echo '</table>'; +/* echo '</div>';// End div id="Report".*/ } //end of ifs and buts! -if (isset($_POST['SelectedSectionID']) or isset($_GET['SelectedSectionID'])) { +if(isset($_POST['SelectedSectionID']) or isset($_GET['SelectedSectionID'])) { echo '<div class="centre"><a href="' . htmlspecialchars($_SERVER['PHP_SELF'], ENT_QUOTES, 'UTF-8') . '">' . _('Review Account Sections') . '</a></div>'; } -if (! isset($_GET['delete'])) { +if(! isset($_GET['delete'])) { - echo '<form method="post" id="AccountSections" action="' . htmlspecialchars($_SERVER['PHP_SELF'], ENT_QUOTES, 'UTF-8') . '">'; - echo '<div><br />'; - echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; + echo '<form action="', htmlspecialchars($_SERVER['PHP_SELF'], ENT_QUOTES, 'UTF-8'), '" id="AccountSections" method="post">'; + echo '<div class="noprint"><br />'; + echo '<input name="FormID" type="hidden" value="', $_SESSION['FormID'], '" />'; - if (isset($_GET['SelectedSectionID'])) { + if(isset($_GET['SelectedSectionID'])) { //editing an existing section $sql = "SELECT sectionid, @@ -219,7 +225,7 @@ WHERE sectionid='" . $_GET['SelectedSectionID'] ."'"; $result = DB_query($sql); - if ( DB_num_rows($result) == 0 ) { + if( DB_num_rows($result) == 0 ) { prnMsg( _('Could not retrieve the requested section please try again.'),'warn'); unset($_GET['SelectedSectionID']); } else { @@ -238,13 +244,13 @@ } else { - if (!isset($_POST['SelectedSectionID'])){ + if(!isset($_POST['SelectedSectionID'])) { $_POST['SelectedSectionID']=''; } - if (!isset($_POST['SectionID'])){ + if(!isset($_POST['SectionID'])) { $_POST['SectionID']=''; } - if (!isset($_POST['SectionName'])) { + if(!isset($_POST['SectionName'])) { $_POST['SectionName']=''; } echo '<table class="selection"> Modified: trunk/doc/Change.log =================================================================== --- trunk/doc/Change.log 2015-09-05 22:20:44 UTC (rev 7347) +++ trunk/doc/Change.log 2015-09-13 17:21:49 UTC (rev 7348) @@ -1,5 +1,6 @@ webERP Change Log +13/9/15 RChacon: In AccountSections.php, add modifications for direct printing. 4/9/15 Wes Wolfenbarger: Fix to Z_ImportStocks.php added quotes to descriptions - also fixes error message when the csv does not match the template 27/08/15 Exson: Fixed the allocation status of involved invoice and credit notes in Credit_Invoice.php. 19/08/15 RChacon: In AnalysisHorizontalIncome.php, delete variable $period because it is not used anywhere (thanks Tim). Extract header.inc from if. |
From: <dai...@us...> - 2015-09-05 22:20:46
|
Revision: 7347 http://sourceforge.net/p/web-erp/reponame/7347 Author: daintree Date: 2015-09-05 22:20:44 +0000 (Sat, 05 Sep 2015) Log Message: ----------- Wes Wolfenbarger: Fix to Z_ImportStocks.php Modified Paths: -------------- trunk/Z_ImportStocks.php trunk/doc/Change.log trunk/doc/Manual/ManualContributors.html Modified: trunk/Z_ImportStocks.php =================================================================== --- trunk/Z_ImportStocks.php 2015-08-27 08:27:16 UTC (rev 7346) +++ trunk/Z_ImportStocks.php 2015-09-05 22:20:44 UTC (rev 7347) @@ -1,4 +1,4 @@ -<?php + <?php /* $Id$*/ include('includes/session.inc'); @@ -13,6 +13,9 @@ // If this script is called with the gettemplate flag, then a template file is served // Otherwise, a file upload form is displayed +// The CSV file must be saved in a format like the template in the import module I.E. "RECVALUE","RECVALUE2". The CSV file needs ANSI encoding for the import to work properly. + + $FieldHeadings = array( 'StockID', // 0 'STOCKID', 'Description', // 1 'DESCRIPTION', @@ -49,7 +52,7 @@ $FileHandle = fopen($TempName, 'r'); //get the header row - $headRow = fgetcsv($FileHandle, 10000, ","); + $headRow = fgetcsv($FileHandle, 10000, ",",'"'); // Modified to handle " "" " enclosed csv - useful if you need to include commas in your text descriptions //check for correct number of fields if ( count($headRow) != count($FieldHeadings) ) { @@ -63,7 +66,7 @@ $head = 0; foreach ($headRow as $headField) { if ( mb_strtoupper($headField) != mb_strtoupper($FieldHeadings[$head]) ) { - prnMsg (_('File contains incorrect headers ('. mb_strtoupper($headField). ' != '. mb_strtoupper($header[$head]). '. Try downloading a new template.'),'error'); + prnMsg (_('File contains incorrect headers '. mb_strtoupper($headField). ' != '. mb_strtoupper($FieldHeadings[$head]). '. Try downloading a new template.'),'error'); //Fixed $FieldHeadings from $headings fclose($FileHandle); include('includes/footer.inc'); exit; Modified: trunk/doc/Change.log =================================================================== --- trunk/doc/Change.log 2015-08-27 08:27:16 UTC (rev 7346) +++ trunk/doc/Change.log 2015-09-05 22:20:44 UTC (rev 7347) @@ -1,5 +1,6 @@ webERP Change Log +4/9/15 Wes Wolfenbarger: Fix to Z_ImportStocks.php added quotes to descriptions - also fixes error message when the csv does not match the template 27/08/15 Exson: Fixed the allocation status of involved invoice and credit notes in Credit_Invoice.php. 19/08/15 RChacon: In AnalysisHorizontalIncome.php, delete variable $period because it is not used anywhere (thanks Tim). Extract header.inc from if. 13/08/15 RChacon: In doc/ManualGeneralLedger.html, add help for the horizontal analysis. Modified: trunk/doc/Manual/ManualContributors.html =================================================================== --- trunk/doc/Manual/ManualContributors.html 2015-08-27 08:27:16 UTC (rev 7346) +++ trunk/doc/Manual/ManualContributors.html 2015-09-05 22:20:44 UTC (rev 7347) @@ -168,6 +168,8 @@ <br /> Jeff Trickett<br /> <br /> + Wes Wolfenbarger + <br /> Mark Yeager (MRP)<br /> <br /> Zhiguo Yuan</td> |
From: <ex...@us...> - 2015-08-27 08:27:19
|
Revision: 7346 http://sourceforge.net/p/web-erp/reponame/7346 Author: exsonqu Date: 2015-08-27 08:27:16 +0000 (Thu, 27 Aug 2015) Log Message: ----------- Modified Paths: -------------- trunk/doc/Change.log Modified: trunk/doc/Change.log =================================================================== --- trunk/doc/Change.log 2015-08-27 08:26:02 UTC (rev 7345) +++ trunk/doc/Change.log 2015-08-27 08:27:16 UTC (rev 7346) @@ -1,5 +1,6 @@ webERP Change Log +27/08/15 Exson: Fixed the allocation status of involved invoice and credit notes in Credit_Invoice.php. 19/08/15 RChacon: In AnalysisHorizontalIncome.php, delete variable $period because it is not used anywhere (thanks Tim). Extract header.inc from if. 13/08/15 RChacon: In doc/ManualGeneralLedger.html, add help for the horizontal analysis. 13/08/15 RChacon: Add new script AnalysisHorizontalIncome.php to generate an horizontal analysis of the statement of comprehensive income. In AnalysisHorizontalPosition.php, adjust signs and add report footnote. |
From: <ex...@us...> - 2015-08-27 08:26:05
|
Revision: 7345 http://sourceforge.net/p/web-erp/reponame/7345 Author: exsonqu Date: 2015-08-27 08:26:02 +0000 (Thu, 27 Aug 2015) Log Message: ----------- 27/08/15 Exson: Fixed the allocation status of involved invoice and credit notes in Credit_Invoice.php. Modified Paths: -------------- trunk/Credit_Invoice.php Modified: trunk/Credit_Invoice.php =================================================================== --- trunk/Credit_Invoice.php 2015-08-19 15:02:21 UTC (rev 7344) +++ trunk/Credit_Invoice.php 2015-08-27 08:26:02 UTC (rev 7345) @@ -567,11 +567,12 @@ $SettledInvoice=0; if($myrow[0]>0) { /*the invoice is not already fully allocated */ - if($myrow[0] >($_SESSION['CreditItems' . $identifier]->total + $_SESSION['CreditItems' . $identifier]->FreightCost + $TaxTotal)) { + if($myrow[0] > ($_SESSION['CreditItems' . $identifier]->total + $_SESSION['CreditItems' . $identifier]->FreightCost + $TaxTotal)) { $Allocate_amount = $_SESSION['CreditItems' . $identifier]->total + $_SESSION['CreditItems' . $identifier]->FreightCost + $TaxTotal; + $SettledInvoice = 0; $Settled = 1; - } else if($myrow[0] >($_SESSION['CreditItems' . $identifier]->total + $_SESSION['CreditItems' . $identifier]->FreightCost + $TaxTotal)) { + } else if($myrow[0] < ($_SESSION['CreditItems' . $identifier]->total + $_SESSION['CreditItems' . $identifier]->FreightCost + $TaxTotal)) { /*the balance left to allocate is less than the credit note value */ $Allocate_amount = $myrow[0]; $SettledInvoice = 1; |
From: <rc...@us...> - 2015-08-19 15:02:24
|
Revision: 7344 http://sourceforge.net/p/web-erp/reponame/7344 Author: rchacon Date: 2015-08-19 15:02:21 +0000 (Wed, 19 Aug 2015) Log Message: ----------- In AnalysisHorizontalIncome.php, delete variable $period because it is not used anywhere (thanks Tim). Extract header.inc from if. Modified Paths: -------------- trunk/AnalysisHorizontalIncome.php trunk/doc/Change.log Modified: trunk/AnalysisHorizontalIncome.php =================================================================== --- trunk/AnalysisHorizontalIncome.php 2015-08-19 07:37:57 UTC (rev 7343) +++ trunk/AnalysisHorizontalIncome.php 2015-08-19 15:02:21 UTC (rev 7344) @@ -23,9 +23,8 @@ $_POST['SelectADifferentPeriod']='Select A Different Period'; } +include('includes/header.inc'); if((!isset($_POST['FromPeriod']) AND !isset($_POST['ToPeriod'])) OR isset($_POST['SelectADifferentPeriod'])) { - - include('includes/header.inc'); echo '<p class="page_title_text"><img alt="" src="', $RootPath, '/css/', $Theme, '/images/printer.png" title="', // Icon image. _('Print Horizontal Analysis of Statement of Comprehensive Income'), '" /> ', // Icon title. @@ -52,7 +51,6 @@ $DefaultFromDate = Date ('Y-m-d', Mktime(0,0,0,$_SESSION['YearEnd'] + 2,0,Date('Y')-1)); $FromDate = Date($_SESSION['DefaultDateFormat'], Mktime(0,0,0,$_SESSION['YearEnd'] + 2,0,Date('Y')-1)); } - $period=GetPeriod($FromDate, $db); $sql = "SELECT periodno, lastdate_in_period FROM periods @@ -127,10 +125,7 @@ include ('includes/GLPostings.inc'); } else { - include('includes/header.inc'); - $NumberOfMonths = $_POST['ToPeriod'] - $_POST['FromPeriod'] + 1; - if($NumberOfMonths >12) { echo '<br />'; prnMsg(_('A period up to 12 months in duration can be specified') . ' - ' . _('the system automatically shows a comparative for the same period from the previous year') . ' - ' . _('it cannot do this if a period of more than 12 months is specified') . '. ' . _('Please select an alternative period range'),'error'); Modified: trunk/doc/Change.log =================================================================== --- trunk/doc/Change.log 2015-08-19 07:37:57 UTC (rev 7343) +++ trunk/doc/Change.log 2015-08-19 15:02:21 UTC (rev 7344) @@ -1,5 +1,6 @@ webERP Change Log +19/08/15 RChacon: In AnalysisHorizontalIncome.php, delete variable $period because it is not used anywhere (thanks Tim). Extract header.inc from if. 13/08/15 RChacon: In doc/ManualGeneralLedger.html, add help for the horizontal analysis. 13/08/15 RChacon: Add new script AnalysisHorizontalIncome.php to generate an horizontal analysis of the statement of comprehensive income. In AnalysisHorizontalPosition.php, adjust signs and add report footnote. 05/08/15 RChacon: In AnalysisHorizontalPosition.php, modify DB_fetch_array() function because it requires only one parameter (thanks Tim). Other improvements. |
From: <te...@us...> - 2015-08-19 07:38:00
|
Revision: 7343 http://sourceforge.net/p/web-erp/reponame/7343 Author: tehonu Date: 2015-08-19 07:37:57 +0000 (Wed, 19 Aug 2015) Log Message: ----------- Fixed bug introduced by myself at latest change (record of cancelled items in Transfer). Modified Paths: -------------- trunk/StockLocTransferReceive.php Modified: trunk/StockLocTransferReceive.php =================================================================== --- trunk/StockLocTransferReceive.php 2015-08-16 05:25:43 UTC (rev 7342) +++ trunk/StockLocTransferReceive.php 2015-08-19 07:37:57 UTC (rev 7343) @@ -411,6 +411,11 @@ unset ($_POST['Qty' . $i]); } /*end if Quantity >= 0 */ if($TrfLine->CancelBalance==1) { + $sql = "UPDATE loctransfers SET shipqty = recqty + WHERE reference = '". $_SESSION['Transfer']->TrfID . "' + AND stockid = '". $TrfLine->StockID."'"; + $ErrMsg = _('CRITICAL ERROR') . '! ' . _('Unable to set the quantity received to the quantity shipped to cancel the balance on this transfer line'); + $Result = DB_query($sql, $ErrMsg, $DbgMsg, true); // send an email to the inventory manager about this cancellation (as can lead to employee fraud) if($_SESSION['InventoryManagerEmail']!='') { $ConfirmationText = _('Cancelled balance of transfer'). ': ' . $_SESSION['Transfer']->TrfID . |
From: <dai...@us...> - 2015-08-16 05:25:45
|
Revision: 7342 http://sourceforge.net/p/web-erp/reponame/7342 Author: daintree Date: 2015-08-16 05:25:43 +0000 (Sun, 16 Aug 2015) Log Message: ----------- dev manual improvements Modified Paths: -------------- trunk/doc/Manual/ManualDevelopmentStructure.html trunk/doc/Manual/ManualNewScripts.html Modified: trunk/doc/Manual/ManualDevelopmentStructure.html =================================================================== --- trunk/doc/Manual/ManualDevelopmentStructure.html 2015-08-16 05:08:07 UTC (rev 7341) +++ trunk/doc/Manual/ManualDevelopmentStructure.html 2015-08-16 05:25:43 UTC (rev 7342) @@ -1,6 +1,6 @@ <h1><a id="DevelopmentStructure">Development - Structure</a></h1> -<p>This page will be of interest primarily to developers wishing to get to grips with the system and how the various scripts function.</p> +<p>This page will be of interest primarily to developers wishing to get to grips with the system and how the various scripts function. It is very old and possibly outdated in places.</p> <h2>Sales Orders</h2> Modified: trunk/doc/Manual/ManualNewScripts.html =================================================================== --- trunk/doc/Manual/ManualNewScripts.html 2015-08-16 05:08:07 UTC (rev 7341) +++ trunk/doc/Manual/ManualNewScripts.html 2015-08-16 05:25:43 UTC (rev 7342) @@ -44,7 +44,7 @@ <h3>session.inc</h3> -<p>This page must be included after the page has set the variable $PageSecurity to an appropriate integer (see the security schema section), session.inc has the following functons:</p> +<p>This page must be included and has the following functons:</p> <ul> <li>Establishes a session if none already exists and checks that an authorised user is logged in - if so it checks that the user is authorised for the specific page being called, based on the value of $PageSecurity.</li> @@ -94,6 +94,65 @@ <p>Having started the page with session.inc and header.inc - and then finishing with footer.inc much of the work to ensure a consistent look and feel is already done.</p> +<h3>An Example webERP Script Template</h3> +<p>Following from the discussion of the key component scripts of webERP, the general form of a webERP script would look like the following:</p> +<pre> +<?php + +/* session.inc is the script that brings in session + * management, database management, and performs + * any other housekeeping tasks related to the running + * of webERP. and so should be included right at the + * top of every script. + */ +include('includes/session.inc'); + +/* A title for the script must be assigned prior to + * including the header.inc script + */ +$Title = _('Simple webERP Script'); + +/* The $ViewTopic variable should be set to the name + * of the manual page for this functionality and the + * $BookMark variable is the place in that manual page + * specifically for this functionality + */ +$ViewTopic = 'SimpleScript'; +$BookMark = 'GeneralTopics'; + +/* The header.inc file sends all the http headers needed, + * links in the style sheets and downloads any javascript + * files that are needed. It also draws the header on the + * screen. Muse be included before any output is sent to + * the browser. + */ +include('includes/header.inc'); + +if (!isset($_POST['Submit'])) { +/* In this section should go the code to validate the data + * submitted in the form, and if all is well it should + * post that data to the database. If there is more than + * one table to be updated that transactions should be used + * in order to maintain the database integrity. + * If the form does not validate then it processing can just + * fall through to the next section, but show any required + * messages. + */ +} + +/* This section is where any of the display code goes. + * Typically this will contain a table of the existing data, + * and a form for entry of new details. + */ + +/* Finally we must include footer.inc to draw the footer on + * the screen, display any error messages, and close off the + * html tags in the page. + */ +include('includes/footer.inc'); +?> +</pre> + <div class="floatright"> <a class="minitext" href="#top">⬆ Top</a> </div> |
From: <dai...@us...> - 2015-08-16 05:08:09
|
Revision: 7341 http://sourceforge.net/p/web-erp/reponame/7341 Author: daintree Date: 2015-08-16 05:08:07 +0000 (Sun, 16 Aug 2015) Log Message: ----------- translation manual updates Modified Paths: -------------- trunk/doc/Manual/ManualMultilanguage.html trunk/index.php Added Paths: ----------- trunk/doc/Manual/images/UserSettings.png Modified: trunk/doc/Manual/ManualMultilanguage.html =================================================================== --- trunk/doc/Manual/ManualMultilanguage.html 2015-08-14 13:54:06 UTC (rev 7340) +++ trunk/doc/Manual/ManualMultilanguage.html 2015-08-16 05:08:07 UTC (rev 7341) @@ -1,18 +1,20 @@ <h1><a id="Multilanguage">Multilanguage</a></h1> <p>webERP can be translated to any language so that the entire web-interface is displayed in the language of any user. The system can display different languages for different users - all at the same time - depending on the setting of the language in the individual users' settings.</p> +<p>Each user can select their language by clicking on their user name at the top left of every screen immediately to the right of the company name. Clicking on your user name this brings up the user settings screen below:</p> +<img src="images/UserSettings.png" alt="User Settings Screen" /> +<p>A dropdown box displaying all the available translations is available. Also, the character set of PDFs must also be selected from the 3 choices to create small portable pdf files using the CID fonts bundled with webERP. The preferred user display theme can also be selected from this screen.</p> -<p>The recommended procedure to create a translation is as follows:<br></p> +<h2>Other Language Translations</h2> +<p>If your language is not listed in the drop down box it is possible to create a new translation. The recommended procedure to create a translation is as follows:</p> + <ol> <li><a href="http://lists.sourceforge.net/lists/listinfo/web-erp-translation">Join the mailing list here</a><br> Let the list know you're wanting to help with a translation - someone may already be working on it.</li> <li>Obtain the latest messages.po file and enter the translations using your favourite editor (or poedit). The latest messages.po file is included with the latest archive:<br />www_root/webERP/locale/en_GB/LC_MESSAGES/message.po<br />Edit the file provided entering the translations for the strings labelled msgid in the string labelled msgstr. Watch for html strings embedded inside the strings the html will also be required in the translated string. Also be sure to ensure that each translated string is enclosed in speech marks ("). Please also complete the translation file header information - with your details so that you are accorded proper recognition for your contribution.</li> </ol> - -<p>It is especially important to ensure that the string "ISO-8859-1" (at the time of writing around line 19400 in the messages.po file) is translated to be the character set that you wish your translation to use. webERP uses the translated string here to send appropriate html headers so your browser knows how to interpret the characters sent.</p> - <p>It is worthwhile investigating the poedit package as this has some time saving features for creating gettext translation files.</p> <p>Return the file containing your translations to sub...@we...</p> @@ -43,7 +45,7 @@ <h3>Understanding the messages.po File</h3> -<p>The translation is performed by translating the strings in the messages.po file into the other language. It is important to work on the most recent messages.po file from the locale/en_GB/LC_MESSAGES/ directory in the CVS. This can be downloaded from http://web-erp.cvs.sourceforge.net/viewvc/*checkout*/web-erp/webERP/locale/en_GB/LC_MESSAGES/messages.po</p> +<p>The translation is performed by translating the strings in the messages.po file into the other language. It is important to work on the most recent messages.po file from the locale/en_GB-utf8/LC_MESSAGES/ directory in the SVN. This can be downloaded from <a href="https://sourceforge.net/p/web-erp/code/HEAD/tree/trunk/locale/en_GB.utf8/LC_MESSAGES/messages.pot">the subversion repository</a></p> <p>The messages.po is made up of sections</p> @@ -59,8 +61,39 @@ <p>msgid "An example string in English that needs to be translated"<br> this line is the english string which is to be substituted by the text in msgstr. If the value of msgstr is empty - "". gettext will return the english string.</p> -<p>The effort of the translation is to edit the messages.po file and enter the language translation within the inverted commas of the msgstr.</p> +<p>The effort of the translation is to edit the messages.po file and enter the language translation within the inverted commas of the msgstr. All that is required then is to take the messages.po file from the en_GB-utf8/LC_MESSAGES folder and edit it with translations for your language.</p> +<p>Make a copy and edit the file provided entering the translations for the strings labelled msgid in the string labelled msgstr. Although every attempt has been made to avoid it, watch out for html strings embedded inside the strings the html will also be required in the translated string. Also the translation file header information - with the translators details so that you are accorded proper recognition for your contribution.</p> +<p>A new folder under webERP/locale/ needs to be created with the locale abbreviation for your language - note that webERP requires utf-8 locales - some examples:</p> +<ol> +<li>fr_FR.utf8 - French</li> +<li>en_US.utf8 - English US</li> +<li>de_DE.utf8 - German</li> +</ol> +<p>say you are creating a German translation you need to create the folder</p> +<p>webERP/locale/de_DE.utf8</p> +<p>and the folder below this called LC_MESSAGES</p> +<p>webERP/locale/de_DE.utf8/LC_MESSAGES</p> +<h3><a id="LanguagesArray">The Languges Array</a></h3> + +<p>To allow the language to be selected it must exist in the webERP $LanguagesArray this is an array of all available languages that webERP has been translated into and is maintained by webERP in the file</p> +<p>/webERP/includes/LanguagesArray.php</p> +<p>This array as as it's key the locale code for the language for British English the locale code is en_GB.utf8 - and for each element there is a sub-array of the following named elements for each key in the Languages Array</p> +<ol> + <li>LanguageName - written in the target language - so that native speakers of that language will recognise it in the list</li> + <li>WindowsLocale - this is the name of the locale under Microsoft Windows operating system - not the ISO system</li> + <li>DecimalPoint - this is the character that the language uses as a decimal point</li> + <li>ThousandsSeperator - this is the character that the language uses as the thousands seperator</li> +</ol> +<p>The characters in this array for the selected locale are used by the functions used throughout webERP in the includes/MiscFunctions.php file for locale_number_format() to display numbers in an appropriate format for the selected language.</p> +<p>e.g.</p> +<ol> +<li>$LanguagesArray['en_GB.utf8']['LanguageName'] = 'English United Kingdom';</li> +<li>$LanguagesArray['en_GB.utf8']['WindowsLocale'] = 'english-uk';</li> +<li>$LanguagesArray['en_GB.utf8']['DecimalPoint'] = '.';</li> +<li>$LanguagesArray['en_GB.utf8']['ThousandsSeparator'] = ',';</li> +</ol> + <h3><a id="IndianNumberingSystem">Indian Numbering System</a></h3> <p>Many people in India speak English but want to see numbers formatted in Indian Numbering System. The Indian Numbering System uses separators differently from the Arabic Numbering System; besides the three least significant digits of the integer part, a comma divides every two rather than every three digits, thus:</p> @@ -99,54 +132,9 @@ <h4>Content-Type</h4> -<p>Replace `CHARSET' with the character encoding used for your language, in your locale, or UTF-8.</p> +<p>Replace `CHARSET' with UTF-8 this characters set has characters for all languages and webERP is written with care to handle mutli-byte characters (because utf-8 character set contains so many characters several bytes must be used to uniquely identify each character correctly).</p> -<p>In the GNU system, the following encodings are frequently used for the corresponding languages:</p> -<ul> - <li>ISO-8859-1 for Afrikaans, Albanian, Basque, Catalan, Dutch, English, Estonian, Faroese, Finnish, French, Galician, German, Greenlandic, Icelandic, Indonesian, Irish, Italian, Malay, Norwegian, Portuguese, Spanish, Swedish,</li> - - <li>SO-8859-2 for Croatian, Czech, Hungarian, Polish, Romanian, Serbian, Slovak, Slovenian,</li> - - <li>ISO-8859-3 for Maltese,</li> - - <li>ISO-8859-5 for Macedonian, Serbian,</li> - - <li>ISO-8859-6 for Arabic,</li> - - <li>ISO-8859-7 for Greek,</li> - - <li>ISO-8859-8 for Hebrew,</li> - - <li>ISO-8859-9 for Turkish,</li> - - <li>ISO-8859-13 for Latvian, Lithuanian,</li> - - <li>ISO-8859-15 for Basque, Catalan, Dutch, English, Finnish, French, Galician, German, Irish, Italian, Portuguese, Spanish, Swedish,</li> - - <li>KOI8-R for Russian,</li> - - <li>KOI8-U for Ukrainian,</li> - - <li>CP1251 for Bulgarian, Byelorussian,</li> - - <li>GB2312, GBK, GB18030 for simplified writing of Chinese,</li> - - <li>BIG5, BIG5-HKSCS for traditional writing of Chinese,</li> - - <li>EUC-JP for Japanese,</li> - - <li>EUC-KR for Korean,</li> - - <li>TIS-620 for Thai,</li> - - <li>UTF-8 for any language, including those listed above.</li> -</ul> - -<p>Since there are such a lot of potential characters in utf-8, the size of font files necessary to be embedded in pdf files makes the resulting pdf file too big to be sent over dial up connections and is therefore to be avoided in favour of the more specific character sets above.</p> - -<p>The character encoding name can be written in either upper or lower case. Usually upper case is preferred.</p> - <h4>Content-Transfer-Encoding</h4> <p>Set this to 8bit</p> @@ -167,7 +155,7 @@ <h2>Translation Utilities</h2> -<p>webERP comes bundled with some on-line tools for adminstering translations - there are some issues with maintaining translations using these facilities - in particular certain characters cause problems for the scripts and character encodings can be lost. It is therefore not recommended to use these except for adhoc maintenance where a backup of the most recent messages.po is held elsewhere.</p> +<p>webERP comes bundled with some on-line tools for adminstering translations - there are some issues with maintaining translations using these facilities - in particular certain characters cause problems for the scripts and character encodings can be lost. It is therefore NOT recommended to use these except for ad-hoc maintenance where a backup of the most recent messages.po is held elsewhere. The recommended procedure for maintaining translations are discussed above and the remainder of this narrative is depreciated.</p> <p>The following explains how to use the language translation utilities provided with webERP for the purpose of adding languages and maintaining their translations.</p> Added: trunk/doc/Manual/images/UserSettings.png =================================================================== (Binary files differ) Index: trunk/doc/Manual/images/UserSettings.png =================================================================== --- trunk/doc/Manual/images/UserSettings.png 2015-08-14 13:54:06 UTC (rev 7340) +++ trunk/doc/Manual/images/UserSettings.png 2015-08-16 05:08:07 UTC (rev 7341) Property changes on: trunk/doc/Manual/images/UserSettings.png ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Modified: trunk/index.php =================================================================== --- trunk/index.php 2015-08-14 13:54:06 UTC (rev 7340) +++ trunk/index.php 2015-08-16 05:08:07 UTC (rev 7341) @@ -193,8 +193,9 @@ reportname"; $Result=DB_query($sql,'','',false,true); $ReportList = ''; - while ($Temp = DB_fetch_array($Result)) $ReportList[] = $Temp; - + while ($Temp = DB_fetch_array($Result)) { + $ReportList[] = $Temp; + } $RptLinks = ''; for ($Def=1; $Def>=0; $Def--) { $RptLinks .= '<li class="menu_group_headers">'; |
From: <rc...@us...> - 2015-08-14 13:54:08
|
Revision: 7340 http://sourceforge.net/p/web-erp/reponame/7340 Author: rchacon Date: 2015-08-14 13:54:06 +0000 (Fri, 14 Aug 2015) Log Message: ----------- Fix error on ManualGeneralLedger.html. Thanks Andrew Galuski. Modified Paths: -------------- trunk/doc/Manual/ManualGeneralLedger.html Modified: trunk/doc/Manual/ManualGeneralLedger.html =================================================================== --- trunk/doc/Manual/ManualGeneralLedger.html 2015-08-14 01:28:22 UTC (rev 7339) +++ trunk/doc/Manual/ManualGeneralLedger.html 2015-08-14 13:54:06 UTC (rev 7340) @@ -352,13 +352,14 @@ <h3><a id="GLCashFlows">Statement of Cash Flows</a></h3> <p>Because the statement of comprehensive income is prepared under the accrual basis of accounting, the revenues reported may not have been collected. Similarly, the expenses reported on the income statement might not have been paid.</p> <p>The statement of cash flows, also known as the successor of the old source and application of funds statement, reports how changes in balance sheet accounts and income affect cash and cash equivalents, and breaks the analysis down to operating, investing and financing activities.</p> - <p>The purpose of the statement of cash flows is to show whether the company got their money from and how it was spent during the period being reported for a user selectable range of periods.</p> + <p>The purpose of the statement of cash flows is to show where the company got their money from and how it was spent during the period being reported for a user selectable range of periods.</p> <p>The cash flows report can be run as a pdf file for later printing, emailing, or archiving, or it can be shown on screen. It can be run in summary mode - just showing the totals for each account group, or in detailed mode listing each general ledger account balance for all profit and loss accounts grouped by account group.</p> <p>Also, the cash flows report can be generated using either direct method or indirect method. The main difference between them is the cash flows from operating activities, the first section of the statement of cash flows; there is no difference in the investing and financing activities sections.</p> <h4><a id="GLCashFlowsDirect">Statement of Cash Flows using Direct Method</a></h4> <p>The cash flows from operating activities will show lines such as cash from customers and cash paid to suppliers. "<i>Major classes of gross cash receipts and gross cash payments are disclosed</i>" (Reference: IAS 7, paragraph 18).</p> <h4><a id="GLCashFlowsIndirect">Statement of Cash Flows using Indirect Method</a></h4> <p>The cash flows from operating activities will include net income followed by the adjustments needed to convert the total net income to the cash amount from operating activities. "<i>Profit or loss is adjusted for the effects of transactions of a non-cash nature, any deferrals or accruals of past or future operating cash receipts or payments, and items of income or expense associated with investing or financing cash flows</i>" (Reference: IAS 7, paragraph 18).</p> + <p>Activities are reported on a net basis.</p> </li> <li> <h3><a id="AnalysisHorizontal">Horizontal analysis</a></h3> |
From: <rc...@us...> - 2015-08-14 01:28:25
|
Revision: 7339 http://sourceforge.net/p/web-erp/reponame/7339 Author: rchacon Date: 2015-08-14 01:28:22 +0000 (Fri, 14 Aug 2015) Log Message: ----------- In doc/ManualGeneralLedger.html, add help for the horizontal analysis. Modified Paths: -------------- trunk/AnalysisHorizontalPosition.php trunk/doc/Change.log trunk/doc/Manual/ManualGeneralLedger.html Modified: trunk/AnalysisHorizontalPosition.php =================================================================== --- trunk/AnalysisHorizontalPosition.php 2015-08-13 18:51:07 UTC (rev 7338) +++ trunk/AnalysisHorizontalPosition.php 2015-08-14 01:28:22 UTC (rev 7339) @@ -1,5 +1,5 @@ <?php -/* $Id: AnalysisHorizontalPosition.php 7268 2015-04-19 14:57:47Z rchacon $*/ +/* $Id: AnalysisHorizontalPosition.php 7338 2015-08-13 18:51:07Z rchacon $*/ /* Shows the horizontal analysis of the statement of financial position. */ function RelativeVariation($SelectedPeriod, $PreviousPeriod) { @@ -188,6 +188,13 @@ $GroupTotalLY = array(0); $k=0;// Row colour counter. + $DrawTotalLine = '<tr> + <td colspan="2"> </td> + <td><hr /></td> + <td><hr /></td> + <td><hr /></td> + <td><hr /></td> + </tr>'; while($myrow=DB_fetch_array($AccountsResult)) { $AccountBalance = $myrow['balancecfwd']; @@ -202,13 +209,7 @@ if($myrow['parentgroupname']!=$ActGrp) { while($myrow['groupname']!=$ParentGroups[$Level] AND $Level>0) { if($_POST['Detail']=='Detailed') { - echo '<tr> - <td colspan="2"> </td> - <td><hr /></td> - <td><hr /></td> - <td><hr /></td> - <td><hr /></td> - </tr>'; + echo $DrawTotalLine; } echo '<tr> <td colspan="2">', $ParentGroups[$Level], '</td> @@ -223,13 +224,7 @@ $Level--; } if($_POST['Detail']=='Detailed') { - echo '<tr> - <td colspan="2"> </td> - <td><hr /></td> - <td><hr /></td> - <td><hr /></td> - <td><hr /></td> - </tr>'; + echo $DrawTotalLine; } echo '<tr> <td class="text" colspan="2">', $ParentGroups[$Level], '</td> @@ -245,23 +240,7 @@ } if($myrow['sectioninaccounts'] != $Section ) { if($Section!='') { - if($_POST['Detail']=='Detailed') { - echo '<tr> - <td colspan="2"> </td> - <td><hr /></td> - <td><hr /></td> - <td><hr /></td> - <td><hr /></td> - </tr>'; - } else { - echo '<tr> - <td colspan="2"> </td> - <td><hr /></td> - <td><hr /></td> - <td><hr /></td> - <td><hr /></td> - </tr>'; - } + echo $DrawTotalLine; echo '<tr> <td class="text" colspan="2"><h2>', $Sections[$Section], '</h2></td> <td class="number"><h2>', locale_number_format($SectionBalance,$_SESSION['CompanyRecord']['decimalplaces']), '</h2></td> @@ -329,13 +308,7 @@ while($myrow['groupname']!=$ParentGroups[$Level] AND $Level>0) { if($_POST['Detail']=='Detailed') { - echo '<tr> - <td colspan="2"> </td> - <td><hr /></td> - <td><hr /></td> - <td><hr /></td> - <td><hr /></td> - </tr>'; + echo $DrawTotalLine; } echo '<tr> <td colspan="2">', $ParentGroups[$Level], '</td> @@ -347,13 +320,7 @@ $Level--; } if($_POST['Detail']=='Detailed') { - echo '<tr> - <td colspan="2"> </td> - <td><hr /></td> - <td><hr /></td> - <td><hr /></td> - <td><hr /></td> - </tr>'; + echo $DrawTotalLine; } echo '<tr> <td colspan="2">', $ParentGroups[$Level], '</td> @@ -362,14 +329,8 @@ <td class="number">', locale_number_format(-$GroupTotal[$Level]+$GroupTotalLY[$Level],$_SESSION['CompanyRecord']['decimalplaces']), '</td> <td class="number">', RelativeVariation(-$GroupTotal[$Level],-$GroupTotalLY[$Level]), '</td> </tr>'; + echo $DrawTotalLine; echo '<tr> - <td colspan="2"> </td> - <td><hr /></td> - <td><hr /></td> - <td><hr /></td> - <td><hr /></td> - </tr>'; - echo '<tr> <td colspan="2"><h2>', $Sections[$Section], '</h2></td> <td class="number"><h2>', locale_number_format($SectionBalance,$_SESSION['CompanyRecord']['decimalplaces']), '</h2></td> <td class="number"><h2>', locale_number_format($SectionBalanceLY,$_SESSION['CompanyRecord']['decimalplaces']), '</h2></td> @@ -384,13 +345,7 @@ <td colspan="6"><h2>', $Sections[$myrow['sectioninaccounts']], '</h2></td> </tr>'; } - echo '<tr> - <td colspan="2"> </td> - <td><hr /></td> - <td><hr /></td> - <td><hr /></td> - <td><hr /></td> - </tr>'; + echo $DrawTotalLine; echo'<tr> <td colspan="2"><h2>', _('Check Total'), '</h2></td> <td class="number"><h2>', locale_number_format($CheckTotal,$_SESSION['CompanyRecord']['decimalplaces']), '</h2></td> @@ -398,13 +353,7 @@ <td class="number"><h2>', locale_number_format(-$CheckTotal+$CheckTotalLY,$_SESSION['CompanyRecord']['decimalplaces']), '</h2></td> <td class="number"><h2>', RelativeVariation(-$CheckTotal,-$CheckTotalLY), '</h2></td> </tr>'; - echo '<tr> - <td colspan="2"> </td> - <td><hr /></td> - <td><hr /></td> - <td><hr /></td> - <td><hr /></td> - </tr>'; + echo $DrawTotalLine; echo '</tbody>', // See comment at the begin of the table. '</table> </div>'; // Close div id="Report". Modified: trunk/doc/Change.log =================================================================== --- trunk/doc/Change.log 2015-08-13 18:51:07 UTC (rev 7338) +++ trunk/doc/Change.log 2015-08-14 01:28:22 UTC (rev 7339) @@ -1,5 +1,6 @@ webERP Change Log +13/08/15 RChacon: In doc/ManualGeneralLedger.html, add help for the horizontal analysis. 13/08/15 RChacon: Add new script AnalysisHorizontalIncome.php to generate an horizontal analysis of the statement of comprehensive income. In AnalysisHorizontalPosition.php, adjust signs and add report footnote. 05/08/15 RChacon: In AnalysisHorizontalPosition.php, modify DB_fetch_array() function because it requires only one parameter (thanks Tim). Other improvements. 04/08/15 RChacon: Add new script AnalysisHorizontalPosition.php to generate an horizontal analysis of the statement of financial position. Modified: trunk/doc/Manual/ManualGeneralLedger.html =================================================================== --- trunk/doc/Manual/ManualGeneralLedger.html 2015-08-13 18:51:07 UTC (rev 7338) +++ trunk/doc/Manual/ManualGeneralLedger.html 2015-08-14 01:28:22 UTC (rev 7339) @@ -329,12 +329,6 @@ <p>The inquiry can be selected by choosing "Bank Transactions Inquiry" from the Inquiries/Reports menu in the General Ledger module.</p> </li> <li> - <h3><a id="ProfitAndLoss">Profit and Loss Account</a></h3> - <p>Profit and Loss statement (P&L), also called an Income Statement, or Statement of Operations can be accessed by choosing the "Profit and Loss Statement" option from the Reports/Inquiries menu in the General Ledger module. This is the statement that indicates how the revenue (money received from the sale of products and services before expenses are taken out, also known as the "top line") is transformed into the net income (the result after all revenues and expenses have been accounted for, also known as the "bottom line").</p> - <p>The purpose of the income statement is to show whether the company made or lost money during the period being reported. The P&L is reported for a user selectable range of periods.</p> - <p>The Profit and Loss report can be run as a pdf file for later printing, emailing, or archiving, or it can be shown on screen. It can be run in summary mode - just showing the totals for each account group, or in detailed mode listing each general ledger account balance for all profit and loss accounts grouped by account group.</p> - </li> - <li> <h3><a id="BalanceSheet">Balance Sheet</a></h3> <p>Balance Sheet (or Statement of Financial Position) is a summary of balances. Assets, liabilities and ownership equity is listed as at a period end. It be accessed by choosing the "Balance Sheet" option from the Reports/Inquiries menu in the General Ledger module.</p> <p>The balance sheet has three parts: assets, liabilities and ownership equity. The main categories of assets are listed first and are followed by the liabilities. The difference between the assets and the liabilities is known as equity or the net assets or the net worth or capital of the company and according to the accounting equation, net worth must equal assets minus liabilities.</p> @@ -342,6 +336,55 @@ <p>The report can be run as a pdf file for later printing, emailing, or archiving, or it can be shown on screen. It can be run in summary mode - just showing the totals for each account group, or in detailed mode listing each general ledger account balance for all balance sheet accounts grouped by account group.</p> </li> <li> + <h3><a id="ProfitAndLoss">Profit and Loss Statement</a></h3> + <p>Profit and Loss statement (P&L), also called an Income Statement, or Statement of Operations can be accessed by choosing the "Profit and Loss Statement" option from the Reports/Inquiries menu in the General Ledger module. This is the statement that indicates how the revenue (money received from the sale of products and services before expenses are taken out, also known as the "top line") is transformed into the net income (the result after all revenues and expenses have been accounted for, also known as the "bottom line").</p> + <p>The purpose of the income statement is to show whether the company made or lost money during the period being reported. The P&L is reported for a user selectable range of periods.</p> + <p>The Profit and Loss report can be run as a pdf file for later printing, emailing, or archiving, or it can be shown on screen. It can be run in summary mode - just showing the totals for each account group, or in detailed mode listing each general ledger account balance for all profit and loss accounts grouped by account group.</p> + </li> +<!-- ----------------------------------------------------------------------- --> + <li> + <h3><a id="GLChangesInEquity">Statement of Changes in Equity</a></h3> + <p>The statement of changes in equity, often referred to as statement of retained earnings, details the change in owners' equity over an accounting period by presenting the movement in reserves comprising the shareholders' equity.</p> + <p>The purpose of the statement of changes in equity is to show the changes in a company's retained earnings during the period being reported.</p> + <p>The changes in equity report can be run as a pdf file for later printing, emailing, or archiving, or it can be shown on screen. It can be run in summary mode - just showing the totals for each account group, or in detailed mode listing each general ledger account balance for all profit and loss accounts grouped by account group.</p> + </li> + <li> + <h3><a id="GLCashFlows">Statement of Cash Flows</a></h3> + <p>Because the statement of comprehensive income is prepared under the accrual basis of accounting, the revenues reported may not have been collected. Similarly, the expenses reported on the income statement might not have been paid.</p> + <p>The statement of cash flows, also known as the successor of the old source and application of funds statement, reports how changes in balance sheet accounts and income affect cash and cash equivalents, and breaks the analysis down to operating, investing and financing activities.</p> + <p>The purpose of the statement of cash flows is to show whether the company got their money from and how it was spent during the period being reported for a user selectable range of periods.</p> + <p>The cash flows report can be run as a pdf file for later printing, emailing, or archiving, or it can be shown on screen. It can be run in summary mode - just showing the totals for each account group, or in detailed mode listing each general ledger account balance for all profit and loss accounts grouped by account group.</p> + <p>Also, the cash flows report can be generated using either direct method or indirect method. The main difference between them is the cash flows from operating activities, the first section of the statement of cash flows; there is no difference in the investing and financing activities sections.</p> + <h4><a id="GLCashFlowsDirect">Statement of Cash Flows using Direct Method</a></h4> + <p>The cash flows from operating activities will show lines such as cash from customers and cash paid to suppliers. "<i>Major classes of gross cash receipts and gross cash payments are disclosed</i>" (Reference: IAS 7, paragraph 18).</p> + <h4><a id="GLCashFlowsIndirect">Statement of Cash Flows using Indirect Method</a></h4> + <p>The cash flows from operating activities will include net income followed by the adjustments needed to convert the total net income to the cash amount from operating activities. "<i>Profit or loss is adjusted for the effects of transactions of a non-cash nature, any deferrals or accruals of past or future operating cash receipts or payments, and items of income or expense associated with investing or financing cash flows</i>" (Reference: IAS 7, paragraph 18).</p> + </li> + <li> + <h3><a id="AnalysisHorizontal">Horizontal analysis</a></h3> + <p>The horizontal analysis, also known as trend analysis, is a financial statement analysis technique that shows changes in the amounts of corresponding financial statement items over a period of time. It is a useful tool to evaluate trend situations.</p> + <p>The statements for two periods are used in horizontal analysis. The earliest period is used as the base period. The items on the later statement are compared with items on the statement of the base period. The changes are shown both in currency (absolute variation) and percentage (relative variation).</p> + <p>The absolute variation is calculated as <i>selected_period</i> - <i>previous_period</i>. + <p>The relative variation is calculated as (<i>selected_period</i> - <i>previous_period</i>) / <i>previous_period</i> * 100. + <h4><a id="AnalysisHorizontalPosition">Horizontal Analysis of Statement of Financial Position</a></h4> + <p>The debit amounts (assets) of the selected and previous statement of financial position are shown as positive numbers; the credit amounts (liabilities and equity) are shown as negative numbers.</p> + <p>The sources of funds are shown as positive numbers in the absolute variation column; the applications of funds are shown as negative numbers in the absolute variation column.</p> + <p>The increasing items are shown as positive numbers in the relative variation column; the decreasing items are shown as negative numbers in the relative variation column.</p> + <h4><a id="AnalysisHorizontalIncome">Horizontal Analysis of Statement of Comprehensive Income</a></h4> + <p>The debit amounts (revenues) of the selected and previous statement of comprehensive income are shown as positive numbers; the credit amounts (costs and expenses) are shown as negative numbers.</p> + <p>The changes that increases the net profit are shown as positive numbers in the absolute variation column; the changes that decreases the net profit are shown as negative numbers in the absolute variation column.</p> + <p>The increasing items are shown as positive numbers in the relative variation column; the decreasing items are shown as negative numbers in the relative variation column.</p> + <h4><a id="AnalysisHorizontalChangesInEquity">Horizontal Analysis of Statement of Changes in Equity</a></h4> + <p>.</p> + <p>The changes that increases the retained earnings are shown as positive numbers in the absolute variation column; the changes that decreases the retained earnings are shown as negative numbers in the absolute variation column.</p> + <p>The increasing items are shown as positive numbers in the relative variation column; the decreasing items are shown as negative numbers in the relative variation column.</p> + <h4><a id="AnalysisHorizontalCashFlows">Horizontal Analysis of Statement of Cash Flows</a></h4> + <p>The source amounts (where the money has come from) of the selected and previous statement of cash flows are shown as positive amounts; the application amounts (where the money has gone) are shown as negative amounts.</p> + <p>The changes that increases the cash and cash equivalents are shown as positive numbers in the absolute variation column; the changes that decreases the cash and cash equivalents are shown as negative numbers in the absolute variation column.</p> + <p>The increasing items are shown as positive numbers in the relative variation column; the decreasing items are shown as negative numbers in the relative variation column.</p> + </li> +<!-- ----------------------------------------------------------------------- --> + <li> <h3><a id="TagReports">Tag Reports</a></h3> <p>An Income an Expenditure report can be produced, filtered by individual tags. So for instance following the example above, if you wished to view the costs associated with a particular vehicle you can run this report selecting the appropriate tag for the vehicle to report on to find the information.</p> <p>As with the Profit And Loss report, this can be produced as an on screen report, or as a pdf.</p> |
From: <rc...@us...> - 2015-08-13 18:51:09
|
Revision: 7338 http://sourceforge.net/p/web-erp/reponame/7338 Author: rchacon Date: 2015-08-13 18:51:07 +0000 (Thu, 13 Aug 2015) Log Message: ----------- Modified Paths: -------------- trunk/AnalysisHorizontalPosition.php Modified: trunk/AnalysisHorizontalPosition.php =================================================================== --- trunk/AnalysisHorizontalPosition.php 2015-08-13 18:41:48 UTC (rev 7337) +++ trunk/AnalysisHorizontalPosition.php 2015-08-13 18:51:07 UTC (rev 7338) @@ -82,7 +82,7 @@ </table> <br />', // Form buttons: '<div class="centre noprint">', - '<button name="ShowPL" type="submit" value="', _('Show on Screen (HTML)'), '"><img alt="" src="', $RootPath, '/css/', $Theme, + '<button name="ShowBalanceSheet" type="submit" value="', _('Show on Screen (HTML)'), '"><img alt="" src="', $RootPath, '/css/', $Theme, '/images/gl.png" /> ', _('Show on Screen (HTML)'), '</button> ', // "Show on Screen (HTML)" button. '<button formaction="index.php?Application=GL" type="submit"><img alt="" src="', $RootPath, '/css/', $Theme, '/images/previous.png" /> ', _('Return'), '</button>', // "Return" button. @@ -411,8 +411,7 @@ echo '<br />', '<form method="post" action="', htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8'), '">', '<input type="hidden" name="FormID" value="', $_SESSION['FormID'], '" />', - '<input type="hidden" name="FromPeriod" value="', $_POST['FromPeriod'], '" />', - '<input type="hidden" name="ToPeriod" value="', $_POST['ToPeriod'], '" />', // Form buttons: + '<input type="hidden" name="BalancePeriodEnd" value="', $_POST['BalancePeriodEnd'], '" />', // Form buttons: '<div class="centre noprint">', '<button onclick="javascript:window.print()" type="button"><img alt="" src="', $RootPath, '/css/', $Theme, '/images/printer.png" /> ', _('Print This'), '</button> ', // "Print This" button. |
From: <rc...@us...> - 2015-08-13 18:41:51
|
Revision: 7337 http://sourceforge.net/p/web-erp/reponame/7337 Author: rchacon Date: 2015-08-13 18:41:48 +0000 (Thu, 13 Aug 2015) Log Message: ----------- Add new script AnalysisHorizontalIncome.php to generate an horizontal analysis of the statement of comprehensive income. In AnalysisHorizontalPosition.php, adjust signs and add report footnote. Modified Paths: -------------- trunk/AnalysisHorizontalPosition.php trunk/GLProfit_Loss.php trunk/doc/Change.log trunk/includes/MainMenuLinksArray.php trunk/sql/mysql/upgrade4.12.3-4.13.sql Added Paths: ----------- trunk/AnalysisHorizontalIncome.php Added: trunk/AnalysisHorizontalIncome.php =================================================================== --- trunk/AnalysisHorizontalIncome.php (rev 0) +++ trunk/AnalysisHorizontalIncome.php 2015-08-13 18:41:48 UTC (rev 7337) @@ -0,0 +1,532 @@ +<?php +/* $Id: AnalysisHorizontalIncome.php 7332 2015-08-04 03:27:51Z rchacon $*/ +/* Shows the horizontal analysis of the statement of comprehensive income. */ + +function RelativeVariation($SelectedPeriod, $PreviousPeriod) { + // Calculates the relative variation between selected and previous periods. Uses percent in locale number format. + if($PreviousPeriod<>0) { + return locale_number_format(($SelectedPeriod-$PreviousPeriod)*100/$PreviousPeriod,$_SESSION['CompanyRecord']['decimalplaces']) . '%'; + } else { + return _('N/A'); + } +} + +include ('includes/session.inc'); +$Title = _('Horizontal Analysis of Statement of Comprehensive Income');// Screen identification. +$ViewTopic= 'GeneralLedger';// Filename's id in ManualContents.php's TOC. +$BookMark = 'AnalysisHorizontalIncome';// Anchor's id in the manual's html document. +include('includes/SQL_CommonFunctions.inc'); +include('includes/AccountSectionsDef.inc'); // This loads the $Sections variable + +if(isset($_POST['FromPeriod']) and ($_POST['FromPeriod'] > $_POST['ToPeriod'])) { + prnMsg(_('The selected period from is actually after the period to') . '! ' . _('Please reselect the reporting period'),'error'); + $_POST['SelectADifferentPeriod']='Select A Different Period'; +} + +if((!isset($_POST['FromPeriod']) AND !isset($_POST['ToPeriod'])) OR isset($_POST['SelectADifferentPeriod'])) { + + include('includes/header.inc'); + echo '<p class="page_title_text"><img alt="" src="', $RootPath, '/css/', $Theme, + '/images/printer.png" title="', // Icon image. + _('Print Horizontal Analysis of Statement of Comprehensive Income'), '" /> ', // Icon title. + _('Horizontal Analysis of Statement of Comprehensive Income'), '</p>';// Page title. + + echo '<div class="page_help_text">', + _('Horizontal analysis (also known as trend analysis) is a financial statement analysis technique that shows changes in the amounts of corresponding financial statement items over a period of time. It is a useful tool to evaluate trend situations.'), '<br />', + _('The statements for two periods are used in horizontal analysis. The earliest period is used as the base period. The items on the later statement are compared with items on the statement of the base period. The changes are shown both in currency (absolute variation) and percentage (relative variation).'), '<br />', + _('webERP is an "accrual" based system (not a "cash based" system). Accrual systems include items when they are invoiced to the customer, and when expenses are owed based on the supplier invoice date.'), '</div>', + // Show a form to allow input of criteria for the report to show: + '<form method="post" action="', htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8'), '">', + '<input type="hidden" name="FormID" value="', $_SESSION['FormID'], '" />', + '<br />', + '<table class="selection"> + <tr> + <td>', _('Select period from'), ':</td> + <td><select name="FromPeriod">'; + + if(Date('m') > $_SESSION['YearEnd']) { + /*Dates in SQL format */ + $DefaultFromDate = Date ('Y-m-d', Mktime(0,0,0,$_SESSION['YearEnd'] + 2,0,Date('Y'))); + $FromDate = Date($_SESSION['DefaultDateFormat'], Mktime(0,0,0,$_SESSION['YearEnd'] + 2,0,Date('Y'))); + } else { + $DefaultFromDate = Date ('Y-m-d', Mktime(0,0,0,$_SESSION['YearEnd'] + 2,0,Date('Y')-1)); + $FromDate = Date($_SESSION['DefaultDateFormat'], Mktime(0,0,0,$_SESSION['YearEnd'] + 2,0,Date('Y')-1)); + } + $period=GetPeriod($FromDate, $db); + + $sql = "SELECT periodno, lastdate_in_period + FROM periods + ORDER BY periodno DESC"; + $Periods = DB_query($sql); + + while($myrow=DB_fetch_array($Periods)) { + if(isset($_POST['FromPeriod']) AND $_POST['FromPeriod']!='') { + if( $_POST['FromPeriod']== $myrow['periodno']) { + echo '<option selected="selected" value="' . $myrow['periodno'] . '">' .MonthAndYearFromSQLDate($myrow['lastdate_in_period']) . '</option>'; + } else { + echo '<option value="' . $myrow['periodno'] . '">' . MonthAndYearFromSQLDate($myrow['lastdate_in_period']) . '</option>'; + } + } else { + if($myrow['lastdate_in_period']==$DefaultFromDate) { + echo '<option selected="selected" value="' . $myrow['periodno'] . '">' . MonthAndYearFromSQLDate($myrow['lastdate_in_period']) . '</option>'; + } else { + echo '<option value="' . $myrow['periodno'] . '">' . MonthAndYearFromSQLDate($myrow['lastdate_in_period']) . '</option>'; + } + } + } + + echo '</select></td> + </tr> + <tr> + <td>', _('Select period to'), ':</td> + <td><select required="required" name="ToPeriod">'; + + if(!isset($_POST['ToPeriod']) OR $_POST['ToPeriod']=='') { + $LastDate = date('Y-m-d',mktime(0,0,0,Date('m')+1,0,Date('Y'))); + $sql = "SELECT periodno FROM periods where lastdate_in_period = '" . $LastDate . "'"; + $MaxPrd = DB_query($sql); + $MaxPrdrow = DB_fetch_row($MaxPrd); + $DefaultToPeriod = (int) ($MaxPrdrow[0]); + } else { + $DefaultToPeriod = $_POST['ToPeriod']; + } + + $RetResult = DB_data_seek($Periods,0); + + while($myrow=DB_fetch_array($Periods)) { + echo '<option'; + if($myrow['periodno']==$DefaultToPeriod) { + echo ' selected="selected"'; + } + echo ' value="', $myrow['periodno'], '">', MonthAndYearFromSQLDate($myrow['lastdate_in_period']), '</option>'; + } + + echo '</select></td> + </tr> + <tr> + <td>', _('Detail or summary'), ':</td> + <td><select name="Detail" required="required" title="', _('Selecting Summary will show on the totals at the account group level'), '" > + <option value="Summary">', _('Summary'), '</option> + <option selected="selected" value="Detailed">', _('All Accounts'), '</option> + </select></td> + </tr> + <tr> + <td>', _('Show all accounts including zero balances'), '</td> + <td><input name="ShowZeroBalances" title="', _('Check this box to display all accounts including those accounts with no balance'), '" type="checkbox" /></td> + </tr> + </table> + <br />', // Form buttons: + '<div class="centre noprint">', + '<button name="ShowPL" type="submit" value="', _('Show on Screen (HTML)'), '"><img alt="" src="', $RootPath, '/css/', $Theme, + '/images/gl.png" /> ', _('Show on Screen (HTML)'), '</button> ', // "Show on Screen (HTML)" button. + '<button formaction="index.php?Application=GL" type="submit"><img alt="" src="', $RootPath, '/css/', $Theme, + '/images/previous.png" /> ', _('Return'), '</button>', // "Return" button. + '</div>'; + + // Now do the posting while the user is thinking about the period to select: + include ('includes/GLPostings.inc'); + +} else { + include('includes/header.inc'); + + $NumberOfMonths = $_POST['ToPeriod'] - $_POST['FromPeriod'] + 1; + + if($NumberOfMonths >12) { + echo '<br />'; + prnMsg(_('A period up to 12 months in duration can be specified') . ' - ' . _('the system automatically shows a comparative for the same period from the previous year') . ' - ' . _('it cannot do this if a period of more than 12 months is specified') . '. ' . _('Please select an alternative period range'),'error'); + include('includes/footer.inc'); + exit; + } + + $sql = "SELECT lastdate_in_period FROM periods WHERE periodno='" . $_POST['ToPeriod'] . "'"; + $PrdResult = DB_query($sql); + $myrow = DB_fetch_row($PrdResult); + $PeriodToDate = MonthAndYearFromSQLDate($myrow[0]); + + // Page title as IAS 1, numerals 10 and 51: + include_once('includes/CurrenciesArray.php');// Array to retrieve currency name. + echo '<div id="Report">';// Division to identify the report block. + echo '<div id="Report">', // Division to identify the report block. + '<p class="page_title_text"><img alt="" src="', $RootPath, '/css/', $Theme, + '/images/gl.png" title="', // Icon image. + _('Horizontal Analysis of Statement of Comprehensive Income'), '" /> ', // Icon title. + _('Horizontal Analysis of Statement of Comprehensive Income'), '<br />', // Page title, reporting statement. + stripslashes($_SESSION['CompanyRecord']['coyname']), '<br />', // Page title, reporting entity. + _('For'), ' ', $NumberOfMonths, ' ', _('months to'), ' ', $PeriodToDate, '<br />', // Page title, reporting period. + _('All amounts stated in'), ': ', _($CurrencyName[$_SESSION['CompanyRecord']['currencydefault']]), '</p>';// Page title, reporting presentation currency and level of rounding used. + echo '<table class="scrollable"> + <thead> + <tr>'; + if($_POST['Detail']=='Detailed') {// Detailed report: + echo '<th class="text">', _('Account'), '</th> + <th class="text">', _('Account Name'), '</th>'; + } else {// Summary report: + echo '<th class="text" colspan="2">', _('Summary'), '</th>'; + } + echo '<th class="number">', ' - ', $myrow[0], '</th> + <th class="number">', _('Last Year'), '</th> + <th class="number">', _('Absolute variation'), '</th> + <th class="number">', _('Relative variation'), '</th> + </tr> + </thead> + <tfoot> + <tr> + <td class="text" colspan="6">',// Prints an explanation of signs in absolute and relative variations: + '<br /><b>', _('Notes'), ':</b><br />', + _('Absolute variation signs: a positive number indicates a variation that increases the net profit; a negative number indicates a variation that decreases the net profit.'), '<br />', + _('Relative variation signs: a positive number indicates an increase in the amount of that account; a negative number indicates a decrease in the amount of that account.'), '<br />', + '</td> + </tr> + </tfoot> + <tbody>';// thead and tfoot used in conjunction with tbody enable scrolling of the table body independently of the header and footer. Also, when printing a large table that spans multiple pages, these elements can enable the table header to be printed at the top of each page. + + $SQL = "SELECT accountgroups.sectioninaccounts, + accountgroups.parentgroupname, + accountgroups.groupname, + chartdetails.accountcode, + chartmaster.accountname, + SUM(CASE WHEN chartdetails.period='" . $_POST['FromPeriod'] . "' THEN chartdetails.bfwd ELSE 0 END) AS firstprdbfwd, + SUM(CASE WHEN chartdetails.period='" . $_POST['ToPeriod'] . "' THEN chartdetails.bfwd + chartdetails.actual ELSE 0 END) AS lastprdcfwd, + SUM(CASE WHEN chartdetails.period='" . ($_POST['FromPeriod'] - 12) . "' THEN chartdetails.bfwd ELSE 0 END) AS firstprdbfwdly, + SUM(CASE WHEN chartdetails.period='" . ($_POST['ToPeriod']-12) . "' THEN chartdetails.bfwd + chartdetails.actual ELSE 0 END) AS lastprdcfwdly + FROM chartmaster INNER JOIN accountgroups + ON chartmaster.group_ = accountgroups.groupname INNER JOIN chartdetails + ON chartmaster.accountcode= chartdetails.accountcode + WHERE accountgroups.pandl=1 + GROUP BY accountgroups.sectioninaccounts, + accountgroups.parentgroupname, + accountgroups.groupname, + chartdetails.accountcode, + chartmaster.accountname + ORDER BY accountgroups.sectioninaccounts, + accountgroups.sequenceintb, + accountgroups.groupname, + chartdetails.accountcode"; + $AccountsResult = DB_query($SQL,_('No general ledger accounts were returned by the SQL because'),_('The SQL that failed was')); + + $PeriodTotal=0; + $PeriodTotalLY=0; + + $Section=''; + $SectionTotal=0; + $SectionTotalLY=0; + + $ActGrp=''; + $GrpTotal=array(0); + $GrpTotalLY=array(0); + $Level=0; + $ParentGroups=array(); + $ParentGroups[$Level]=''; + + $k=0;// Row colour counter. + $DrawTotalLine = '<tr> + <td colspan="2"> </td> + <td><hr /></td> + <td><hr /></td> + <td><hr /></td> + <td><hr /></td> + </tr>'; + + while($myrow=DB_fetch_array($AccountsResult)) { + if($myrow['groupname']!= $ActGrp) { + if($myrow['parentgroupname']!=$ActGrp AND $ActGrp!='') { + while($myrow['groupname']!=$ParentGroups[$Level] AND $Level>0) { + if($_POST['Detail']=='Detailed') { + echo $DrawTotalLine; + $ActGrpLabel = str_repeat('___',$Level) . $ParentGroups[$Level] . ' *' . _('total'); + } else { + $ActGrpLabel = str_repeat('___',$Level) . $ParentGroups[$Level]; + } + echo '<tr> + <td class="text" colspan="2">', $ActGrpLabel, '</td> + <td class="number">', locale_number_format(-$GrpTotal[$Level],$_SESSION['CompanyRecord']['decimalplaces']), '</td> + <td class="number">', locale_number_format(-$GrpTotalLY[$Level],$_SESSION['CompanyRecord']['decimalplaces']), '</td> + <td class="number">', locale_number_format(-$GrpTotal[$Level]+$GrpTotalLY[$Level],$_SESSION['CompanyRecord']['decimalplaces']), '</td> + <td class="number">', RelativeVariation(-$GrpTotal[$Level],-$GrpTotalLY[$Level]), '</td> + </tr>'; + $GrpTotal[$Level]=0; + $GrpTotalLY[$Level]=0; + $ParentGroups[$Level]=''; + $Level--; + }// End while. + + //still need to print out the old group totals + + if($_POST['Detail']=='Detailed') { + echo $DrawTotalLine; + $ActGrpLabel = str_repeat('___',$Level) . $ParentGroups[$Level] . ' ' . _('total'); + } else { + $ActGrpLabel = str_repeat('___',$Level) . $ParentGroups[$Level]; + } + +// ---> + if($Section ==1) {// Income + echo '<tr> + <td class="text" colspan="2">', $ActGrpLabel, '</td> + <td class="number">', locale_number_format(-$GrpTotal[$Level],$_SESSION['CompanyRecord']['decimalplaces']), '</td> + <td class="number">', locale_number_format(-$GrpTotalLY[$Level],$_SESSION['CompanyRecord']['decimalplaces']), '</td> + <td class="number">', locale_number_format(-$GrpTotal[$Level]+$GrpTotalLY[$Level],$_SESSION['CompanyRecord']['decimalplaces']), '</td> + <td class="number">', RelativeVariation(-$GrpTotal[$Level],-$GrpTotalLY[$Level]), '</td> + </tr>'; + } else {// Costs +// <--- + echo '<tr> + <td class="text" colspan="2">', $ActGrpLabel, '</td> + <td class="number">', locale_number_format(-$GrpTotal[$Level],$_SESSION['CompanyRecord']['decimalplaces']), '</td> + <td class="number">', locale_number_format(-$GrpTotalLY[$Level],$_SESSION['CompanyRecord']['decimalplaces']), '</td> + <td class="number">', locale_number_format(-$GrpTotal[$Level]+$GrpTotalLY[$Level],$_SESSION['CompanyRecord']['decimalplaces']), '</td> + <td class="number">', RelativeVariation(-$GrpTotal[$Level],-$GrpTotalLY[$Level]), '</td> + </tr>'; +// ---> + } +// <--- + $GrpTotalLY[$Level]=0; + $GrpTotal[$Level]=0; + $ParentGroups[$Level]=''; + } + } + + if($myrow['sectioninaccounts']!= $Section) { + + if($SectionTotal+$SectionTotalLY !=0) { + + if($Section==1) {// Income. + echo $DrawTotalLine; + echo '<tr> + <td class="text" colspan="2"><h2>', $Sections[$Section], '</h2></td> + <td class="number"><h2>', locale_number_format(-$SectionTotal,$_SESSION['CompanyRecord']['decimalplaces']), '</h2></td> + <td class="number"><h2>', locale_number_format(-$SectionTotalLY,$_SESSION['CompanyRecord']['decimalplaces']), '</h2></td> + <td class="number"><h2>', locale_number_format(-$SectionTotal+$SectionTotalLY,$_SESSION['CompanyRecord']['decimalplaces']), '</h2></td> + <td class="number"><h2>', RelativeVariation(-$SectionTotal,-$SectionTotalLY), '</h2></td> + </tr>'; + $GPIncome = $SectionTotal; + $GPIncomeLY = $SectionTotalLY; + } else { + echo '<tr> + <td class="text" colspan="2"><h2>', $Sections[$Section], '</h2></td> + <td class="number"><h2>', locale_number_format(-$SectionTotal,$_SESSION['CompanyRecord']['decimalplaces']), '</h2></td> + <td class="number"><h2>', locale_number_format(-$SectionTotalLY,$_SESSION['CompanyRecord']['decimalplaces']), '</h2></td> + <td class="number"><h2>', locale_number_format(-$SectionTotal+$SectionTotalLY,$_SESSION['CompanyRecord']['decimalplaces']), '</h2></td> + <td class="number"><h2>', RelativeVariation(-$SectionTotal,-$SectionTotalLY), '</h2></td> + </tr>'; + } + + if($Section==2) {// Cost of Sales - need sub total for Gross Profit. + echo $DrawTotalLine; + echo '<tr> + <td class="text" colspan="2"><h2>', _('Gross Profit'), '</h2></td> + <td class="number"><h2>', locale_number_format(-($GPIncome+$SectionTotal),$_SESSION['CompanyRecord']['decimalplaces']), '</h2></td> + <td class="number"><h2>', locale_number_format(-($GPIncomeLY+$SectionTotalLY),$_SESSION['CompanyRecord']['decimalplaces']), '</h2></td> + <td class="number"><h2>', locale_number_format(-($GPIncome+$SectionTotal)+($GPIncomeLY+$SectionTotalLY),$_SESSION['CompanyRecord']['decimalplaces']), '</h2></td> + <td class="number"><h2>', RelativeVariation(-($GPIncome+$SectionTotal),-($GPIncomeLY+$SectionTotalLY)), '</h2></td> + </tr>'; + } + + if(($Section!=1) AND ($Section!=2)) { + echo $DrawTotalLine; + echo '<tr> + <td class="text" colspan="2"><h2>', _('Earnings after'), ' ', $Sections[$Section], '</h2></td> + <td class="number"><h2>', locale_number_format(-$PeriodTotal,$_SESSION['CompanyRecord']['decimalplaces']), '</h2></td> + <td class="number"><h2>', locale_number_format(-$PeriodTotalLY,$_SESSION['CompanyRecord']['decimalplaces']), '</h2></td> + <td class="number"><h2>', locale_number_format(-$PeriodTotal+$PeriodTotalLY,$_SESSION['CompanyRecord']['decimalplaces']), '</h2></td> + <td class="number"><h2>', RelativeVariation(-$PeriodTotal,-$PeriodTotalLY), '</h2></td> + </tr>'; + echo $DrawTotalLine; + } + } + + $Section = $myrow['sectioninaccounts']; + $SectionTotal=0; + $SectionTotalLY=0; + + if($_POST['Detail']=='Detailed') { + echo '<tr> + <td colspan="6"><h2>', $Sections[$myrow['sectioninaccounts']], '</h2></td> + </tr>'; + } + } + + if($myrow['groupname']!= $ActGrp) { + if($myrow['parentgroupname']==$ActGrp AND $ActGrp !='') {// Adding another level of nesting + $Level++; + } + $ActGrp = $myrow['groupname']; + $ParentGroups[$Level] = $myrow['groupname']; + if($_POST['Detail']=='Detailed') { + echo '<tr> + <td colspan="6"><h2>', $myrow['groupname'], '</h2></td> + </tr>'; + } + } + + // Set totals for account, groups, section and period: + $AccountTotal = $myrow['lastprdcfwd'] - $myrow['firstprdbfwd']; + $AccountTotalLY = $myrow['lastprdcfwdly'] - $myrow['firstprdbfwdly']; + for ($i=0;$i<=$Level;$i++) { + if(!isset($GrpTotalLY[$i])) {$GrpTotalLY[$i]=0;} + $GrpTotalLY[$i] += $AccountTotalLY; + if(!isset($GrpTotal[$i])) {$GrpTotal[$i]=0;} + $GrpTotal[$i] += $AccountTotal; + } + $SectionTotal += $AccountTotal; + $SectionTotalLY += $AccountTotalLY; + $PeriodTotal += $AccountTotal; + $PeriodTotalLY += $AccountTotalLY; + + if($_POST['Detail']=='Detailed') { + if(isset($_POST['ShowZeroBalances']) OR (!isset($_POST['ShowZeroBalances']) AND ($AccountTotal <> 0 OR $AccountTotalLY <> 0))) { + if($k==1) { + echo '<tr class="EvenTableRows">'; + $k=0; + } else { + echo '<tr class="OddTableRows">'; + $k=1; + } + echo '<td class="text"><a href="', $RootPath, '/GLAccountInquiry.php?Period=', $_POST['ToPeriod'], '&Account=', $myrow['accountcode'], '&Show=Yes">', $myrow['accountcode'], '</a></td>'; +// ---> + if($Section ==1) { + echo ' <td class="text">', htmlspecialchars($myrow['accountname'],ENT_QUOTES,'UTF-8',false), '</td> + <td class="number">', locale_number_format(-$AccountTotal,$_SESSION['CompanyRecord']['decimalplaces']), '</td> + <td class="number">', locale_number_format(-$AccountTotalLY,$_SESSION['CompanyRecord']['decimalplaces']), '</td> + <td class="number">', locale_number_format(-$AccountTotal+$AccountTotalLY,$_SESSION['CompanyRecord']['decimalplaces']), '</td> + <td class="number">', RelativeVariation(-$AccountTotal,-$AccountTotalLY), '</td> + </tr>'; + } else { +// <--- + echo ' <td class="text">', htmlspecialchars($myrow['accountname'],ENT_QUOTES,'UTF-8',false), '</td> + <td class="number">', locale_number_format(-$AccountTotal,$_SESSION['CompanyRecord']['decimalplaces']), '</td> + <td class="number">', locale_number_format(-$AccountTotalLY,$_SESSION['CompanyRecord']['decimalplaces']), '</td> + <td class="number">', locale_number_format(-$AccountTotal+$AccountTotalLY,$_SESSION['CompanyRecord']['decimalplaces']), '</td> + <td class="number">', RelativeVariation(-$AccountTotal,-$AccountTotalLY), '</td> + </tr>'; + } + } + } + }// End of loop. + + if($myrow['groupname']!= $ActGrp) { + if($myrow['parentgroupname']!=$ActGrp AND $ActGrp!='') { + while($myrow['groupname']!=$ParentGroups[$Level] AND $Level>0) { + if($_POST['Detail']=='Detailed') { + echo $DrawTotalLine; + $ActGrpLabel = str_repeat('___',$Level) . $ParentGroups[$Level] . ' ' . _('total'); + } else { + $ActGrpLabel = str_repeat('___',$Level) . $ParentGroups[$Level]; + } +// ---> + if($Section ==1) {// Income. + echo '<tr> + <td colspan="2"><h3>', $ActGrpLabel, '</h3></td> + <td class="number">', locale_number_format(-$GrpTotal[$Level],$_SESSION['CompanyRecord']['decimalplaces']), '</td> + <td class="number">', locale_number_format(-$GrpTotalLY[$Level],$_SESSION['CompanyRecord']['decimalplaces']), '</td> + <td class="number">', locale_number_format(-$GrpTotal[$Level]+$GrpTotalLY[$Level],$_SESSION['CompanyRecord']['decimalplaces']), '</td> + <td class="number">', RelativeVariation(-$GrpTotal[$Level],-$GrpTotalLY[$Level]), '</td> + </tr>'; + } else {// Costs. +// <--- + echo '<tr> + <td colspan="2"><h3>', $ActGrpLabel, '</h3></td> + <td class="number">', locale_number_format(-$GrpTotal[$Level],$_SESSION['CompanyRecord']['decimalplaces']), '</td> + <td class="number">', locale_number_format(-$GrpTotalLY[$Level],$_SESSION['CompanyRecord']['decimalplaces']), '</td> + <td class="number">', locale_number_format(-$GrpTotal[$Level]+$GrpTotalLY[$Level],$_SESSION['CompanyRecord']['decimalplaces']), '</td> + <td class="number">', RelativeVariation(-$GrpTotal[$Level],-$GrpTotalLY[$Level]), '</td> + </tr>'; + } + $GrpTotal[$Level]=0; + $GrpTotalLY[$Level]=0; + $ParentGroups[$Level]=''; + $Level--; + }// End while. + //still need to print out the old group totals + if($_POST['Detail']=='Detailed') { + echo $DrawTotalLine; + $ActGrpLabel = str_repeat('___',$Level) . $ParentGroups[$Level] . ' ' . _('total'); + } else { + $ActGrpLabel = str_repeat('___',$Level) . $ParentGroups[$Level]; + } + echo '<tr> + <td colspan="2"><h3>', $ActGrpLabel, '</h3></td> + <td class="number">', locale_number_format(-$GrpTotal[$Level],$_SESSION['CompanyRecord']['decimalplaces']), '</td> + <td class="number">', locale_number_format(-$GrpTotalLY[$Level],$_SESSION['CompanyRecord']['decimalplaces']), '</td> + <td class="number">', locale_number_format(-$GrpTotal[$Level]+$GrpTotalLY[$Level],$_SESSION['CompanyRecord']['decimalplaces']), '</td> + <td class="number">', RelativeVariation(-$GrpTotal[$Level],-$GrpTotalLY[$Level]), '</td> + </tr>'; + $GrpTotal[$Level]=0; + $GrpTotalLY[$Level]=0; + $ParentGroups[$Level]=''; + } + } + + if($myrow['sectioninaccounts']!= $Section) { + + if($Section==1) {// Income. + echo $DrawTotalLine, + '<tr> + <td colspan="2"><h2>', $Sections[$Section], '</h2></td> + <td class="number"><h2>', locale_number_format(-$SectionTotal,$_SESSION['CompanyRecord']['decimalplaces']), '</h2></td> + <td class="number"><h2>', locale_number_format(-$SectionTotalLY,$_SESSION['CompanyRecord']['decimalplaces']), '</h2></td> + <td class="number"><h2>', locale_number_format(-$SectionTotal+$SectionTotalLY,$_SESSION['CompanyRecord']['decimalplaces']), '</h2></td> + <td class="number"><h2>', RelativeVariation(-$SectionTotal,-$SectionTotalLY), '</h2></td> + </tr>'; + $GPIncome = $SectionTotal; + $GPIncomeLY = $SectionTotalLY; + } else { + echo $DrawTotalLine, + '<tr> + <td colspan="2"><h2>', $Sections[$Section], '</h2></td> + <td class="number"><h2>', locale_number_format(-$SectionTotal,$_SESSION['CompanyRecord']['decimalplaces']), '</h2></td> + <td class="number"><h2>', locale_number_format(-$SectionTotalLY,$_SESSION['CompanyRecord']['decimalplaces']), '</h2></td> + <td class="number"><h2>', locale_number_format(-$SectionTotal+$SectionTotalLY,$_SESSION['CompanyRecord']['decimalplaces']), '</h2></td> + <td class="number"><h2>', RelativeVariation(-$SectionTotal,-$SectionTotalLY), '</h2></td> + </tr>'; + } + if($Section==2) {// Cost of Sales - need sub total for Gross Profit. + echo $DrawTotalLine, + '<tr> + <td colspan="2"><h2>', _('Gross Profit'), '</h2></td> + <td class="number"><h2>', locale_number_format(-($GPIncome+$SectionTotal),$_SESSION['CompanyRecord']['decimalplaces']), '</h2></td> + <td class="number"><h2>', locale_number_format(-($GPIncomeLY+$SectionTotalLY),$_SESSION['CompanyRecord']['decimalplaces']), '</h2></td> + <td class="number"><h2>', locale_number_format(-($GPIncome+$SectionTotal)+($GPIncomeLY+$SectionTotalLY),$_SESSION['CompanyRecord']['decimalplaces']), '</h2></td> + <td class="number"><h2>', RelativeVariation(-($GPIncome+$SectionTotal),-($GPIncomeLY+$SectionTotalLY)), '</h2></td> + </tr>'; + } + $Section = $myrow['sectioninaccounts']; + $SectionTotal=0; + $SectionTotalLY=0; + + if($_POST['Detail']=='Detailed' and isset($Sections[$myrow['sectioninaccounts']])) { + echo '<tr> + <td colspan="6"><h2>', $Sections[$myrow['sectioninaccounts']], '</h2></td> + </tr>'; + } + } + + echo $DrawTotalLine; + echo '<tr> + <td colspan="2"><h2>', _('Net Profit'), '</h2></td> + <td class="number"><h2>', locale_number_format(-$PeriodTotal,$_SESSION['CompanyRecord']['decimalplaces']), '</h2></td> + <td class="number"><h2>', locale_number_format(-$PeriodTotalLY,$_SESSION['CompanyRecord']['decimalplaces']), '</h2></td> + <td class="number"><h2>', locale_number_format(-$PeriodTotal+$PeriodTotalLY,$_SESSION['CompanyRecord']['decimalplaces']), '</h2></td> + <td class="number"><h2>', RelativeVariation(-$PeriodTotal,-$PeriodTotalLY), '</h2></td> + </tr>'; + echo $DrawTotalLine; + echo '</tbody>', // See comment at the begin of the table. + '</table> + </div>'; // Close div id="Report". + echo '<br />', + '<form method="post" action="', htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8'), '">', + '<input type="hidden" name="FormID" value="', $_SESSION['FormID'], '" />', + '<input type="hidden" name="FromPeriod" value="', $_POST['FromPeriod'], '" />', + '<input type="hidden" name="ToPeriod" value="', $_POST['ToPeriod'], '" />', // Form buttons: + '<div class="centre noprint">', + '<button onclick="javascript:window.print()" type="button"><img alt="" src="', $RootPath, '/css/', $Theme, + '/images/printer.png" /> ', _('Print This'), '</button> ', // "Print This" button. + '<button name="SelectADifferentPeriod" type="submit" value="', _('Select A Different Period'), '"><img alt="" src="', $RootPath, '/css/', $Theme, + '/images/gl.png" /> ', _('Select A Different Period'), '</button> ', // "Select A Different Period" button. + '<button formaction="index.php?Application=GL" type="submit"><img alt="" src="', $RootPath, '/css/', $Theme, + '/images/previous.png" /> ', _('Return'), '</button>', // "Return" button. + '</div>'; +} +echo '</form>'; +include('includes/footer.inc'); +?> Modified: trunk/AnalysisHorizontalPosition.php =================================================================== --- trunk/AnalysisHorizontalPosition.php 2015-08-10 01:43:46 UTC (rev 7336) +++ trunk/AnalysisHorizontalPosition.php 2015-08-13 18:41:48 UTC (rev 7337) @@ -2,10 +2,10 @@ /* $Id: AnalysisHorizontalPosition.php 7268 2015-04-19 14:57:47Z rchacon $*/ /* Shows the horizontal analysis of the statement of financial position. */ -function RelativeVariation($CurrentPeriod, $PreviousPeriod) { - // Calculates the relative variation between current and previous periods. Uses percent in locale number format. +function RelativeVariation($SelectedPeriod, $PreviousPeriod) { + // Calculates the relative variation between selected and previous periods. Uses percent in locale number format. if($PreviousPeriod<>0) { - return locale_number_format(($CurrentPeriod-$PreviousPeriod)*100/$PreviousPeriod,$_SESSION['CompanyRecord']['decimalplaces']) . '%'; + return locale_number_format(($SelectedPeriod-$PreviousPeriod)*100/$PreviousPeriod,$_SESSION['CompanyRecord']['decimalplaces']) . '%'; } else { return _('N/A'); } @@ -82,12 +82,11 @@ </table> <br />', // Form buttons: '<div class="centre noprint">', - '<button name="ShowBalanceSheet" type="submit" value="', _('Show on Screen (HTML)'), '"><img alt="" src="', $RootPath, '/css/', $Theme, + '<button name="ShowPL" type="submit" value="', _('Show on Screen (HTML)'), '"><img alt="" src="', $RootPath, '/css/', $Theme, '/images/gl.png" /> ', _('Show on Screen (HTML)'), '</button> ', // "Show on Screen (HTML)" button. '<button formaction="index.php?Application=GL" type="submit"><img alt="" src="', $RootPath, '/css/', $Theme, '/images/previous.png" /> ', _('Return'), '</button>', // "Return" button. - '</div>', - '</form>'; + '</div>'; // Now do the posting while the user is thinking about the period to select: include ('includes/GLPostings.inc'); @@ -127,7 +126,16 @@ <th class="number">', _('Relative variation'), '</th> </tr> </thead> - <tbody>';// thead used in conjunction with tbody enable scrolling of the table body independently of the header and footer. Also, when printing a large table that spans multiple pages, these elements can enable the table header to be printed at the top of each page. + <tfoot> + <tr> + <td class="text" colspan="6">',// Prints an explanation of signs in absolute and relative variations: + '<br /><b>', _('Notes'), ':</b><br />', + _('Absolute variation signs: a positive number indicates a source of funds; a negative number indicates an application of funds.'), '<br />', + _('Relative variation signs: a positive number indicates an increase in the amount of that account; a negative number indicates a decrease in the amount of that account.'), '<br />', + '</td> + </tr> + </tfoot> + <tbody>';// thead and tfoot used in conjunction with tbody enable scrolling of the table body independently of the header and footer. Also, when printing a large table that spans multiple pages, these elements can enable the table header to be printed at the top of each page. // Calculate B/Fwd retained earnings: $SQL = "SELECT Sum(CASE WHEN chartdetails.period='" . $_POST['BalancePeriodEnd'] . "' THEN chartdetails.bfwd + chartdetails.actual ELSE 0 END) AS accumprofitbfwd, @@ -179,7 +187,6 @@ $GroupTotal = array(0); $GroupTotalLY = array(0); - $j=0;// Row counter. $k=0;// Row colour counter. while($myrow=DB_fetch_array($AccountsResult)) { @@ -204,17 +211,16 @@ </tr>'; } echo '<tr> - <td colspan="2">', $ParentGroups[$Level], '</i></td> + <td colspan="2">', $ParentGroups[$Level], '</td> <td class="number">', locale_number_format($GroupTotal[$Level],$_SESSION['CompanyRecord']['decimalplaces']), '</td> <td class="number">', locale_number_format($GroupTotalLY[$Level],$_SESSION['CompanyRecord']['decimalplaces']), '</td> - <td class="number">', locale_number_format($GroupTotal[$Level]-$GroupTotalLY[$Level],$_SESSION['CompanyRecord']['decimalplaces']), '</td> - <td class="number">', RelativeVariation($GroupTotal[$Level],$GroupTotalLY[$Level]), '</td> + <td class="number">', locale_number_format(-$GroupTotal[$Level]+$GroupTotalLY[$Level],$_SESSION['CompanyRecord']['decimalplaces']), '</td> + <td class="number">', RelativeVariation(-$GroupTotal[$Level],-$GroupTotalLY[$Level]), '</td> </tr>'; $GroupTotal[$Level]=0; $GroupTotalLY[$Level]=0; $ParentGroups[$Level]=''; $Level--; - $j++; } if($_POST['Detail']=='Detailed') { echo '<tr> @@ -229,13 +235,12 @@ <td class="text" colspan="2">', $ParentGroups[$Level], '</td> <td class="number">', locale_number_format($GroupTotal[$Level],$_SESSION['CompanyRecord']['decimalplaces']), '</td> <td class="number">', locale_number_format($GroupTotalLY[$Level],$_SESSION['CompanyRecord']['decimalplaces']), '</td> - <td class="number">', locale_number_format($GroupTotal[$Level]-$GroupTotalLY[$Level],$_SESSION['CompanyRecord']['decimalplaces']), '</td> - <td class="number">', RelativeVariation($GroupTotal[$Level],$GroupTotalLY[$Level]), '</td> + <td class="number">', locale_number_format(-$GroupTotal[$Level]+$GroupTotalLY[$Level],$_SESSION['CompanyRecord']['decimalplaces']), '</td> + <td class="number">', RelativeVariation(-$GroupTotal[$Level],-$GroupTotalLY[$Level]), '</td> </tr>'; $GroupTotal[$Level]=0; $GroupTotalLY[$Level]=0; $ParentGroups[$Level]=''; - $j++; } } if($myrow['sectioninaccounts'] != $Section ) { @@ -261,10 +266,9 @@ <td class="text" colspan="2"><h2>', $Sections[$Section], '</h2></td> <td class="number"><h2>', locale_number_format($SectionBalance,$_SESSION['CompanyRecord']['decimalplaces']), '</h2></td> <td class="number"><h2>', locale_number_format($SectionBalanceLY,$_SESSION['CompanyRecord']['decimalplaces']), '</h2></td> - <td class="number"><h2>', locale_number_format($SectionBalance-$SectionBalanceLY,$_SESSION['CompanyRecord']['decimalplaces']), '</h2></td> - <td class="number"><h2>', RelativeVariation($SectionBalance,$SectionBalanceLY), '</h2></td> + <td class="number"><h2>', locale_number_format(-$SectionBalance+$SectionBalanceLY,$_SESSION['CompanyRecord']['decimalplaces']), '</h2></td> + <td class="number"><h2>', RelativeVariation(-$SectionBalance,-$SectionBalanceLY), '</h2></td> </tr>'; - $j++; } $SectionBalance=0; $SectionBalanceLY=0; @@ -292,7 +296,6 @@ $GroupTotalLY[$Level]=0; $ActGrp = $myrow['groupname']; $ParentGroups[$Level] = $myrow['groupname']; - $j++; } $SectionBalance += $AccountBalance; $SectionBalanceLY += $AccountBalanceLY; @@ -317,14 +320,12 @@ <td class="text">', htmlspecialchars($myrow['accountname'],ENT_QUOTES,'UTF-8',false), '</td> <td class="number">', locale_number_format($AccountBalance,$_SESSION['CompanyRecord']['decimalplaces']), '</td> <td class="number">', locale_number_format($AccountBalanceLY,$_SESSION['CompanyRecord']['decimalplaces']), '</td> - <td class="number">', locale_number_format($AccountBalance-$AccountBalanceLY,$_SESSION['CompanyRecord']['decimalplaces']), '</td> - <td class="number">', RelativeVariation($AccountBalance,$AccountBalanceLY), '</td> + <td class="number">', locale_number_format(-$AccountBalance+$AccountBalanceLY,$_SESSION['CompanyRecord']['decimalplaces']), '</td> + <td class="number">', RelativeVariation(-$AccountBalance,-$AccountBalanceLY), '</td> </tr>'; - $j++; } } - } - //end of loop + }// End of loop. while($myrow['groupname']!=$ParentGroups[$Level] AND $Level>0) { if($_POST['Detail']=='Detailed') { @@ -337,11 +338,11 @@ </tr>'; } echo '<tr> - <td colspan="2">', $ParentGroups[$Level], '</i></td> + <td colspan="2">', $ParentGroups[$Level], '</td> <td class="number">', locale_number_format($GroupTotal[$Level],$_SESSION['CompanyRecord']['decimalplaces']), '</td> <td class="number">', locale_number_format($GroupTotalLY[$Level],$_SESSION['CompanyRecord']['decimalplaces']), '</td> - <td class="number">', locale_number_format($GroupTotal[$Level]-$GroupTotalLY[$Level],$_SESSION['CompanyRecord']['decimalplaces']), '</td> - <td class="number">', RelativeVariation($GroupTotal[$Level],$GroupTotalLY[$Level]), '</td> + <td class="number">', locale_number_format(-$GroupTotal[$Level]+$GroupTotalLY[$Level],$_SESSION['CompanyRecord']['decimalplaces']), '</td> + <td class="number">', RelativeVariation(-$GroupTotal[$Level],-$GroupTotalLY[$Level]), '</td> </tr>'; $Level--; } @@ -358,10 +359,9 @@ <td colspan="2">', $ParentGroups[$Level], '</td> <td class="number">', locale_number_format($GroupTotal[$Level],$_SESSION['CompanyRecord']['decimalplaces']), '</td> <td class="number">', locale_number_format($GroupTotalLY[$Level],$_SESSION['CompanyRecord']['decimalplaces']), '</td> - <td class="number">', locale_number_format($GroupTotal[$Level]-$GroupTotalLY[$Level],$_SESSION['CompanyRecord']['decimalplaces']), '</td> - <td class="number">', RelativeVariation($GroupTotal[$Level],$GroupTotalLY[$Level]), '</td> + <td class="number">', locale_number_format(-$GroupTotal[$Level]+$GroupTotalLY[$Level],$_SESSION['CompanyRecord']['decimalplaces']), '</td> + <td class="number">', RelativeVariation(-$GroupTotal[$Level],-$GroupTotalLY[$Level]), '</td> </tr>'; - echo '<tr> <td colspan="2"> </td> <td><hr /></td> @@ -369,13 +369,12 @@ <td><hr /></td> <td><hr /></td> </tr>'; - echo '<tr> <td colspan="2"><h2>', $Sections[$Section], '</h2></td> <td class="number"><h2>', locale_number_format($SectionBalance,$_SESSION['CompanyRecord']['decimalplaces']), '</h2></td> <td class="number"><h2>', locale_number_format($SectionBalanceLY,$_SESSION['CompanyRecord']['decimalplaces']), '</h2></td> - <td class="number"><h2>', locale_number_format($SectionBalance-$SectionBalanceLY,$_SESSION['CompanyRecord']['decimalplaces']), '</h2></td> - <td class="number"><h2>', RelativeVariation($SectionBalance,$SectionBalanceLY), '</h2></td> + <td class="number"><h2>', locale_number_format(-$SectionBalance+$SectionBalanceLY,$_SESSION['CompanyRecord']['decimalplaces']), '</h2></td> + <td class="number"><h2>', RelativeVariation(-$SectionBalance,-$SectionBalanceLY), '</h2></td> </tr>'; $Section = $myrow['sectioninaccounts']; @@ -392,15 +391,13 @@ <td><hr /></td> <td><hr /></td> </tr>'; - echo'<tr> <td colspan="2"><h2>', _('Check Total'), '</h2></td> <td class="number"><h2>', locale_number_format($CheckTotal,$_SESSION['CompanyRecord']['decimalplaces']), '</h2></td> <td class="number"><h2>', locale_number_format($CheckTotalLY,$_SESSION['CompanyRecord']['decimalplaces']), '</h2></td> - <td class="number"><h2>', locale_number_format($CheckTotal-$CheckTotalLY,$_SESSION['CompanyRecord']['decimalplaces']), '</h2></td> - <td class="number"><h2>', RelativeVariation($CheckTotal,$CheckTotalLY), '</h2></td> + <td class="number"><h2>', locale_number_format(-$CheckTotal+$CheckTotalLY,$_SESSION['CompanyRecord']['decimalplaces']), '</h2></td> + <td class="number"><h2>', RelativeVariation(-$CheckTotal,-$CheckTotalLY), '</h2></td> </tr>'; - echo '<tr> <td colspan="2"> </td> <td><hr /></td> @@ -408,15 +405,14 @@ <td><hr /></td> <td><hr /></td> </tr>'; - echo '</tbody>', // See comment at the begin of the table. '</table> - </div>', // Close div id="Report". - '<br />'; - - echo '<form method="post" action="', htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8'), '">', + </div>'; // Close div id="Report". + echo '<br />', + '<form method="post" action="', htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8'), '">', '<input type="hidden" name="FormID" value="', $_SESSION['FormID'], '" />', - '<input type="hidden" name="BalancePeriodEnd" value="', $_POST['BalancePeriodEnd'], '" />', // Form buttons: + '<input type="hidden" name="FromPeriod" value="', $_POST['FromPeriod'], '" />', + '<input type="hidden" name="ToPeriod" value="', $_POST['ToPeriod'], '" />', // Form buttons: '<div class="centre noprint">', '<button onclick="javascript:window.print()" type="button"><img alt="" src="', $RootPath, '/css/', $Theme, '/images/printer.png" /> ', _('Print This'), '</button> ', // "Print This" button. @@ -424,9 +420,8 @@ '/images/gl.png" /> ', _('Select A Different Period'), '</button> ', // "Select A Different Period" button. '<button formaction="index.php?Application=GL" type="submit"><img alt="" src="', $RootPath, '/css/', $Theme, '/images/previous.png" /> ', _('Return'), '</button>', // "Return" button. - '</div>', - '</form>'; + '</div>'; } - +echo '</form>'; include('includes/footer.inc'); ?> Modified: trunk/GLProfit_Loss.php =================================================================== --- trunk/GLProfit_Loss.php 2015-08-10 01:43:46 UTC (rev 7336) +++ trunk/GLProfit_Loss.php 2015-08-13 18:41:48 UTC (rev 7337) @@ -1305,18 +1305,17 @@ /* echo '</tbody>';// See comment at the begin of the table.*/ echo '</table>'; echo '</div>';// div id="Report". - echo '<br /> - <div class="centre noprint">'. - '<button onclick="javascript:window.print()" type="button"><img alt="" src="'.$RootPath.'/css/'.$Theme. - '/images/printer.png" /> ' . _('Print This') . '</button>'.// "Print This" button. - '<button name="SelectADifferentPeriod" type="submit" value="'. _('Select A Different Period') .'"><img alt="" src="'.$RootPath.'/css/'.$Theme. - '/images/gl.png" /> ' . _('Select A Different Period') . '</button>'.// "Select A Different Period" button. - '<button formaction="index.php?Application=GL" type="submit"><img alt="" src="'.$RootPath.'/css/'.$Theme. - '/images/previous.png" /> ' . _('Return') . '</button>'.// "Return" button. + echo '<br />', // Form buttons: + '<div class="centre noprint">', + '<button onclick="javascript:window.print()" type="button"><img alt="" src="', $RootPath, '/css/', $Theme, + '/images/printer.png" /> ', _('Print This'), '</button> ', // "Print This" button. + '<button name="SelectADifferentPeriod" type="submit" value="', _('Select A Different Period'), '"><img alt="" src="', $RootPath, '/css/', $Theme, + '/images/gl.png" /> ', _('Select A Different Period'), '</button> ', // "Select A Different Period" button. + '<button formaction="index.php?Application=GL" type="submit"><img alt="" src="', $RootPath, '/css/', $Theme, + '/images/previous.png" /> ', _('Return'), '</button>', // "Return" button. '</div>'; } echo '</div>';// div class=? echo '</form>'; include('includes/footer.inc'); - -?> +?> \ No newline at end of file Modified: trunk/doc/Change.log =================================================================== --- trunk/doc/Change.log 2015-08-10 01:43:46 UTC (rev 7336) +++ trunk/doc/Change.log 2015-08-13 18:41:48 UTC (rev 7337) @@ -1,5 +1,6 @@ webERP Change Log +13/08/15 RChacon: Add new script AnalysisHorizontalIncome.php to generate an horizontal analysis of the statement of comprehensive income. In AnalysisHorizontalPosition.php, adjust signs and add report footnote. 05/08/15 RChacon: In AnalysisHorizontalPosition.php, modify DB_fetch_array() function because it requires only one parameter (thanks Tim). Other improvements. 04/08/15 RChacon: Add new script AnalysisHorizontalPosition.php to generate an horizontal analysis of the statement of financial position. 02/08/15 RChacon: In CustomerReceipt.php, move currency tags near currency ratesand other minor changes. Modified: trunk/includes/MainMenuLinksArray.php =================================================================== --- trunk/includes/MainMenuLinksArray.php 2015-08-10 01:43:46 UTC (rev 7336) +++ trunk/includes/MainMenuLinksArray.php 2015-08-13 18:41:48 UTC (rev 7337) @@ -371,6 +371,8 @@ _('Daily Bank Transactions'), _('Profit and Loss Statement'), _('Balance Sheet'), + _('Horizontal Analysis of Statement of Comprehensive Income'), + _('Horizontal Analysis of Statement of Financial Position'), _('Tag Reports'), _('Tax Reports')); @@ -384,6 +386,8 @@ '/DailyBankTransactions.php', '/GLProfit_Loss.php', '/GLBalanceSheet.php', + '/AnalysisHorizontalIncome.php', + '/AnalysisHorizontalPosition.php', '/GLTagProfit_Loss.php', '/Tax.php'); Modified: trunk/sql/mysql/upgrade4.12.3-4.13.sql =================================================================== --- trunk/sql/mysql/upgrade4.12.3-4.13.sql 2015-08-10 01:43:46 UTC (rev 7336) +++ trunk/sql/mysql/upgrade4.12.3-4.13.sql 2015-08-13 18:41:48 UTC (rev 7337) @@ -7,9 +7,10 @@ ALTER TABLE `loctransfercancellations` ADD INDEX `Index1` (`reference`, `stockid`) COMMENT ''; ALTER TABLE `loctransfercancellations` ADD INDEX `Index2` (`canceldate`, `reference`, `stockid`) COMMENT ''; --- Add new script: +-- Add new scripts: INSERT INTO `scripts` (`script`, `pagesecurity`, `description`) VALUES - ('AnalysisHorizontalPosition.php', '8', 'Horizontal analysis of statement of financial position'); + ('AnalysisHorizontalIncome.php', '8', 'Shows the horizontal analysis of the statement of comprehensive income'), + ('AnalysisHorizontalPosition.php', '8', 'Shows the horizontal analysis of the statement of financial position'); -- Update version number: |
From: <te...@us...> - 2015-08-10 01:43:48
|
Revision: 7336 http://sourceforge.net/p/web-erp/reponame/7336 Author: tehonu Date: 2015-08-10 01:43:46 +0000 (Mon, 10 Aug 2015) Log Message: ----------- Added ORBER BY clause Modified Paths: -------------- trunk/InventoryValuation.php Modified: trunk/InventoryValuation.php =================================================================== --- trunk/InventoryValuation.php 2015-08-05 02:41:53 UTC (rev 7335) +++ trunk/InventoryValuation.php 2015-08-10 01:43:46 UTC (rev 7336) @@ -247,7 +247,8 @@ $sql = "SELECT locations.loccode, locationname FROM locations - INNER JOIN locationusers ON locationusers.loccode=locations.loccode AND locationusers.userid='" . $_SESSION['UserID'] . "' AND locationusers.canview=1"; + INNER JOIN locationusers ON locationusers.loccode=locations.loccode AND locationusers.userid='" . $_SESSION['UserID'] . "' AND locationusers.canview=1 + ORDER BY locationname"; $LocnResult=DB_query($sql); |
From: <rc...@us...> - 2015-08-05 02:41:55
|
Revision: 7335 http://sourceforge.net/p/web-erp/reponame/7335 Author: rchacon Date: 2015-08-05 02:41:53 +0000 (Wed, 05 Aug 2015) Log Message: ----------- In AnalysisHorizontalPosition.php, modify DB_fetch_array() function because it requires only one parameter (thanks Tim). Other improvements. Modified Paths: -------------- trunk/AnalysisHorizontalPosition.php trunk/doc/Change.log Modified: trunk/AnalysisHorizontalPosition.php =================================================================== --- trunk/AnalysisHorizontalPosition.php 2015-08-04 07:40:21 UTC (rev 7334) +++ trunk/AnalysisHorizontalPosition.php 2015-08-05 02:41:53 UTC (rev 7335) @@ -1,6 +1,6 @@ <?php /* $Id: AnalysisHorizontalPosition.php 7268 2015-04-19 14:57:47Z rchacon $*/ -/* Horizontal analysis of statement of financial position. */ +/* Shows the horizontal analysis of the statement of financial position. */ function RelativeVariation($CurrentPeriod, $PreviousPeriod) { // Calculates the relative variation between current and previous periods. Uses percent in locale number format. @@ -24,37 +24,49 @@ include('includes/header.inc'); echo '<p class="page_title_text"><img alt="" src="', $RootPath, '/css/', $Theme, '/images/printer.png" title="', // Icon image. - _('Print Horizontal analysis of statement of financial position'), '" /> ', // Icon title. + _('Print Horizontal Analysis of Statement of Financial Position'), '" /> ', // Icon title. _('Horizontal Analysis of Statement of Financial Position'), '</p>';// Page title. echo '<div class="page_help_text">', _('Horizontal analysis (also known as trend analysis) is a financial statement analysis technique that shows changes in the amounts of corresponding financial statement items over a period of time. It is a useful tool to evaluate trend situations.'), '<br />', _('The statements for two periods are used in horizontal analysis. The earliest period is used as the base period. The items on the later statement are compared with items on the statement of the base period. The changes are shown both in currency (absolute variation) and percentage (relative variation).'), '<br />', _('webERP is an "accrual" based system (not a "cash based" system). Accrual systems include items when they are invoiced to the customer, and when expenses are owed based on the supplier invoice date.'), '</div>', + // Show a form to allow input of criteria for the report to show: '<form method="post" action="', htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8'), '">', '<input type="hidden" name="FormID" value="', $_SESSION['FormID'], '" />', + '<br />', '<table class="selection"> <tr> <td>', _('Select the balance date'), ':</td> <td><select required="required" name="BalancePeriodEnd">'; +/* <td><select required="required" name="ToPeriod">';*/ $periodno=GetPeriod(Date($_SESSION['DefaultDateFormat']), $db); $sql = "SELECT lastdate_in_period FROM periods WHERE periodno='".$periodno . "'"; $result = DB_query($sql); - $myrow=DB_fetch_array($result, $db); + $myrow=DB_fetch_array($result); $lastdate_in_period=$myrow[0]; $sql = "SELECT periodno, lastdate_in_period FROM periods ORDER BY periodno DESC"; $Periods = DB_query($sql); - while($myrow=DB_fetch_array($Periods,$db)) { - if( $myrow['periodno']== $periodno) { - echo '<option selected="selected" value="', $myrow['periodno'], '">', ConvertSQLDate($lastdate_in_period), '</option>'; - } else { - echo '<option value="', $myrow['periodno'], '">', ConvertSQLDate($myrow['lastdate_in_period']), '</option>'; + while($myrow=DB_fetch_array($Periods)) { + echo '<option'; + if($myrow['periodno']== $periodno) { + echo ' selected="selected"'; } + echo ' value="', $myrow['periodno'], '">', MonthAndYearFromSQLDate($myrow['lastdate_in_period']), '</option>'; } - echo '</select></td> +/* + while($myrow=DB_fetch_array($Periods)) { + echo '<option'; + if($myrow['periodno']==$DefaultToPeriod) { + echo ' selected="selected"'; + } + echo ' value="', $myrow['periodno'], '">', MonthAndYearFromSQLDate($myrow['lastdate_in_period']), '</option>'; + } +*/ + echo '</select></td> </tr> <tr> <td>', _('Detail or summary'), ':</td> @@ -64,8 +76,8 @@ </select></td> </tr> <tr> - <td>', _('Show all accounts including zero balances'), '</td> - <td><input name="ShowZeroBalances" title="', _('Check this box to display all accounts including those accounts with no balance'), '" type="checkbox" /></td> + <td>', _('Show all accounts including zero balances'), '</td> + <td><input name="ShowZeroBalances" title="', _('Check this box to display all accounts including those accounts with no balance'), '" type="checkbox" /></td> </tr> </table> <br />', // Form buttons: @@ -77,7 +89,7 @@ '</div>', '</form>'; - /*Now do the posting while the user is thinking about the period to select */ + // Now do the posting while the user is thinking about the period to select: include ('includes/GLPostings.inc'); } else { @@ -90,9 +102,36 @@ $myrow = DB_fetch_row($PrdResult); $BalanceDate = ConvertSQLDate($myrow[0]); + // Page title as IAS 1, numerals 10 and 51: + include_once('includes/CurrenciesArray.php');// Array to retrieve currency name. + echo '<div id="Report">', // Division to identify the report block. + '<p class="page_title_text"><img alt="" src="', $RootPath, '/css/', $Theme, + '/images/gl.png" title="', // Icon image. + _('Horizontal Analysis of Statement of Financial Position'), '" /> ', // Icon title. + _('Horizontal Analysis of Statement of Financial Position'), '<br />', // Page title, reporting statement. + stripslashes($_SESSION['CompanyRecord']['coyname']), '<br />', // Page title, reporting entity. + _('as at'), ' ', $BalanceDate, '<br />', // Page title, reporting period. + _('All amounts stated in'), ': ', _($CurrencyName[$_SESSION['CompanyRecord']['currencydefault']]), '</p>';// Page title, reporting presentation currency and level of rounding used. + echo '<table class="scrollable"> + <thead> + <tr>'; + if($_POST['Detail']=='Detailed') {// Detailed report: + echo '<th class="text">', _('Account'), '</th> + <th class="text">', _('Account Name'), '</th>'; + } else {// Summary report: + echo '<th class="text" colspan="2">', _('Summary'), '</th>'; + } + echo '<th class="number">', $BalanceDate, '</th> + <th class="number">', _('Last Year'), '</th> + <th class="number">', _('Absolute variation'), '</th> + <th class="number">', _('Relative variation'), '</th> + </tr> + </thead> + <tbody>';// thead used in conjunction with tbody enable scrolling of the table body independently of the header and footer. Also, when printing a large table that spans multiple pages, these elements can enable the table header to be printed at the top of each page. + // Calculate B/Fwd retained earnings: $SQL = "SELECT Sum(CASE WHEN chartdetails.period='" . $_POST['BalancePeriodEnd'] . "' THEN chartdetails.bfwd + chartdetails.actual ELSE 0 END) AS accumprofitbfwd, - Sum(CASE WHEN chartdetails.period='" . ($_POST['BalancePeriodEnd'] - 12) . "' THEN chartdetails.bfwd + chartdetails.actual ELSE 0 END) AS lyaccumprofitbfwd + Sum(CASE WHEN chartdetails.period='" . ($_POST['BalancePeriodEnd'] - 12) . "' THEN chartdetails.bfwd + chartdetails.actual ELSE 0 END) AS accumprofitbfwdly FROM chartmaster INNER JOIN accountgroups ON chartmaster.group_ = accountgroups.groupname INNER JOIN chartdetails ON chartmaster.accountcode= chartdetails.accountcode @@ -108,7 +147,7 @@ chartdetails.accountcode, chartmaster.accountname, Sum(CASE WHEN chartdetails.period='" . $_POST['BalancePeriodEnd'] . "' THEN chartdetails.bfwd + chartdetails.actual ELSE 0 END) AS balancecfwd, - Sum(CASE WHEN chartdetails.period='" . ($_POST['BalancePeriodEnd'] - 12) . "' THEN chartdetails.bfwd + chartdetails.actual ELSE 0 END) AS lybalancecfwd + Sum(CASE WHEN chartdetails.period='" . ($_POST['BalancePeriodEnd'] - 12) . "' THEN chartdetails.bfwd + chartdetails.actual ELSE 0 END) AS balancecfwdly FROM chartmaster INNER JOIN accountgroups ON chartmaster.group_ = accountgroups.groupname INNER JOIN chartdetails ON chartmaster.accountcode= chartdetails.accountcode @@ -126,58 +165,30 @@ $AccountsResult = DB_query($SQL,_('No general ledger accounts were returned by the SQL because')); - // Page title as IAS 1, numerals 10 and 51: - include_once('includes/CurrenciesArray.php');// Array to retrieve currency name. - echo '<div id="Report">', // Division to identify the report block. - '<p class="page_title_text"><img alt="" src="', $RootPath, '/css/', $Theme, - '/images/gl.png" title="', // Icon image. - _('Horizontal Analysis of Statement of Financial Position'), '" /> ', // Icon title. - _('Horizontal Analysis of Statement of Financial Position'), '<br />', // Page title, reporting statement. - stripslashes($_SESSION['CompanyRecord']['coyname']), '<br />', // Page title, reporting entity. - _('as at'), ' ', $BalanceDate, '<br />', // Page title, reporting period. - _('All amounts stated in'), ': ', _($CurrencyName[$_SESSION['CompanyRecord']['currencydefault']]), '</p>';// Page title, reporting presentation currency and level of rounding used. + $CheckTotal=0; + $CheckTotalLY=0; - echo '<table class="scrollable"> - <thead> - <tr>'; - if($_POST['Detail']=='Detailed') {// Detailed report: - echo '<th class="text">', _('Account'), '</th> - <th class="text">', _('Account Name'), '</th>'; - } else {// Summary report: - echo '<th class="text" colspan="2">', _('Summary'), '</th>'; - } - echo '<th class="number">', $BalanceDate, '</th> - <th class="number">', _('Last Year'), '</th> - <th class="number">', _('Absolute variation'), '</th> - <th class="number">', _('Relative variation'), '</th> - </tr> - </thead> - <tbody>';// thead used in conjunction with tbody enable scrolling of the table body independently of the header and footer. Also, when printing a large table that spans multiple pages, these elements can enable the table header to be printed at the top of each page. - - $k=0; //row colour counter $Section=''; - $SectionBalance = 0; - $SectionBalanceLY = 0; + $SectionBalance= 0; + $SectionBalanceLY=0; - $LYCheckTotal = 0; - $CheckTotal = 0; - - $ActGrp =''; + $ActGrp=''; $Level=0; $ParentGroups=array(); $ParentGroups[$Level]=''; $GroupTotal = array(0); - $LYGroupTotal = array(0); + $GroupTotalLY = array(0); - $j=0; //row counter + $j=0;// Row counter. + $k=0;// Row colour counter. while($myrow=DB_fetch_array($AccountsResult)) { $AccountBalance = $myrow['balancecfwd']; - $LYAccountBalance = $myrow['lybalancecfwd']; + $AccountBalanceLY = $myrow['balancecfwdly']; if($myrow['accountcode'] == $RetainedEarningsAct) { $AccountBalance += $AccumProfitRow['accumprofitbfwd']; - $LYAccountBalance += $AccumProfitRow['lyaccumprofitbfwd']; + $AccountBalanceLY += $AccumProfitRow['accumprofitbfwdly']; } if($myrow['groupname']!= $ActGrp AND $ActGrp != '') { @@ -193,15 +204,15 @@ </tr>'; } echo '<tr> - <td colspan="2"><i>', $ParentGroups[$Level], '</i></td> + <td colspan="2">', $ParentGroups[$Level], '</i></td> <td class="number">', locale_number_format($GroupTotal[$Level],$_SESSION['CompanyRecord']['decimalplaces']), '</td> - <td class="number">', locale_number_format($LYGroupTotal[$Level],$_SESSION['CompanyRecord']['decimalplaces']), '</td> - <td class="number">', locale_number_format($GroupTotal[$Level]-$LYGroupTotal[$Level],$_SESSION['CompanyRecord']['decimalplaces']), '</td> - <td class="number">', RelativeVariation($GroupTotal[$Level],$LYGroupTotal[$Level]), '</td> + <td class="number">', locale_number_format($GroupTotalLY[$Level],$_SESSION['CompanyRecord']['decimalplaces']), '</td> + <td class="number">', locale_number_format($GroupTotal[$Level]-$GroupTotalLY[$Level],$_SESSION['CompanyRecord']['decimalplaces']), '</td> + <td class="number">', RelativeVariation($GroupTotal[$Level],$GroupTotalLY[$Level]), '</td> </tr>'; - $GroupTotal[$Level] = 0; - $LYGroupTotal[$Level] = 0; - $ParentGroups[$Level] = ''; + $GroupTotal[$Level]=0; + $GroupTotalLY[$Level]=0; + $ParentGroups[$Level]=''; $Level--; $j++; } @@ -215,20 +226,19 @@ </tr>'; } echo '<tr> - <td colspan="2">', $ParentGroups[$Level], '</td> + <td class="text" colspan="2">', $ParentGroups[$Level], '</td> <td class="number">', locale_number_format($GroupTotal[$Level],$_SESSION['CompanyRecord']['decimalplaces']), '</td> - <td class="number">', locale_number_format($LYGroupTotal[$Level],$_SESSION['CompanyRecord']['decimalplaces']), '</td> - <td class="number">', locale_number_format($GroupTotal[$Level]-$LYGroupTotal[$Level],$_SESSION['CompanyRecord']['decimalplaces']), '</td> - <td class="number">', RelativeVariation($GroupTotal[$Level],$LYGroupTotal[$Level]), '</td> + <td class="number">', locale_number_format($GroupTotalLY[$Level],$_SESSION['CompanyRecord']['decimalplaces']), '</td> + <td class="number">', locale_number_format($GroupTotal[$Level]-$GroupTotalLY[$Level],$_SESSION['CompanyRecord']['decimalplaces']), '</td> + <td class="number">', RelativeVariation($GroupTotal[$Level],$GroupTotalLY[$Level]), '</td> </tr>'; - $GroupTotal[$Level] = 0; - $LYGroupTotal[$Level] = 0; - $ParentGroups[$Level] = ''; + $GroupTotal[$Level]=0; + $GroupTotalLY[$Level]=0; + $ParentGroups[$Level]=''; $j++; } } if($myrow['sectioninaccounts'] != $Section ) { - if($Section!='') { if($_POST['Detail']=='Detailed') { echo '<tr> @@ -248,7 +258,7 @@ </tr>'; } echo '<tr> - <td colspan="2"><h2>', $Sections[$Section], '</h2></td> + <td class="text" colspan="2"><h2>', $Sections[$Section], '</h2></td> <td class="number"><h2>', locale_number_format($SectionBalance,$_SESSION['CompanyRecord']['decimalplaces']), '</h2></td> <td class="number"><h2>', locale_number_format($SectionBalanceLY,$_SESSION['CompanyRecord']['decimalplaces']), '</h2></td> <td class="number"><h2>', locale_number_format($SectionBalance-$SectionBalanceLY,$_SESSION['CompanyRecord']['decimalplaces']), '</h2></td> @@ -256,8 +266,8 @@ </tr>'; $j++; } - $SectionBalanceLY = 0; - $SectionBalance = 0; + $SectionBalance=0; + $SectionBalanceLY=0; $Section = $myrow['sectioninaccounts']; if($_POST['Detail']=='Detailed') { echo '<tr> @@ -278,37 +288,37 @@ <td colspan="6"><h3>', $myrow['groupname'], '</h3></td> </tr>'; } - $GroupTotal[$Level] = 0; - $LYGroupTotal[$Level] = 0; + $GroupTotal[$Level]=0; + $GroupTotalLY[$Level]=0; $ActGrp = $myrow['groupname']; $ParentGroups[$Level] = $myrow['groupname']; $j++; } + $SectionBalance += $AccountBalance; + $SectionBalanceLY += $AccountBalanceLY; - $SectionBalanceLY += $LYAccountBalance; - $SectionBalance += $AccountBalance; for ($i=0;$i<=$Level;$i++) { - $LYGroupTotal[$i] += $LYAccountBalance; + $GroupTotalLY[$i] += $AccountBalanceLY; $GroupTotal[$i] += $AccountBalance; } - $LYCheckTotal += $LYAccountBalance; $CheckTotal += $AccountBalance; + $CheckTotalLY += $AccountBalanceLY; if($_POST['Detail']=='Detailed') { - if(isset($_POST['ShowZeroBalances']) OR (!isset($_POST['ShowZeroBalances']) AND (round($AccountBalance,$_SESSION['CompanyRecord']['decimalplaces']) <> 0 OR round($LYAccountBalance,$_SESSION['CompanyRecord']['decimalplaces']) <> 0))) { + if(isset($_POST['ShowZeroBalances']) OR (!isset($_POST['ShowZeroBalances']) AND (round($AccountBalance,$_SESSION['CompanyRecord']['decimalplaces']) <> 0 OR round($AccountBalanceLY,$_SESSION['CompanyRecord']['decimalplaces']) <> 0))) { if($k==1) { echo '<tr class="OddTableRows">'; $k=0; } else { echo '<tr class="EvenTableRows">'; - $k++; + $k=1; } - echo '<td><a href="', $RootPath, '/GLAccountInquiry.php?Period=', $_POST['BalancePeriodEnd'], '&Account=', $myrow['accountcode'], '">', $myrow['accountcode'], '</a></td> - <td>', htmlspecialchars($myrow['accountname'],ENT_QUOTES,'UTF-8',false), '</td> + echo '<td class="text"><a href="', $RootPath, '/GLAccountInquiry.php?Period=', $_POST['BalancePeriodEnd'], '&Account=', $myrow['accountcode'], '">', $myrow['accountcode'], '</a></td> + <td class="text">', htmlspecialchars($myrow['accountname'],ENT_QUOTES,'UTF-8',false), '</td> <td class="number">', locale_number_format($AccountBalance,$_SESSION['CompanyRecord']['decimalplaces']), '</td> - <td class="number">', locale_number_format($LYAccountBalance,$_SESSION['CompanyRecord']['decimalplaces']), '</td> - <td class="number">', locale_number_format($AccountBalance-$LYAccountBalance,$_SESSION['CompanyRecord']['decimalplaces']), '</td> - <td class="number">', RelativeVariation($AccountBalance,$LYAccountBalance), '</td> + <td class="number">', locale_number_format($AccountBalanceLY,$_SESSION['CompanyRecord']['decimalplaces']), '</td> + <td class="number">', locale_number_format($AccountBalance-$AccountBalanceLY,$_SESSION['CompanyRecord']['decimalplaces']), '</td> + <td class="number">', RelativeVariation($AccountBalance,$AccountBalanceLY), '</td> </tr>'; $j++; } @@ -327,11 +337,11 @@ </tr>'; } echo '<tr> - <td colspan="2"><i>', $ParentGroups[$Level], '</i></td> + <td colspan="2">', $ParentGroups[$Level], '</i></td> <td class="number">', locale_number_format($GroupTotal[$Level],$_SESSION['CompanyRecord']['decimalplaces']), '</td> - <td class="number">', locale_number_format($LYGroupTotal[$Level],$_SESSION['CompanyRecord']['decimalplaces']), '</td> - <td class="number">', locale_number_format($GroupTotal[$Level]-$LYGroupTotal[$Level],$_SESSION['CompanyRecord']['decimalplaces']), '</td> - <td class="number">', RelativeVariation($GroupTotal[$Level],$LYGroupTotal[$Level]), '</td> + <td class="number">', locale_number_format($GroupTotalLY[$Level],$_SESSION['CompanyRecord']['decimalplaces']), '</td> + <td class="number">', locale_number_format($GroupTotal[$Level]-$GroupTotalLY[$Level],$_SESSION['CompanyRecord']['decimalplaces']), '</td> + <td class="number">', RelativeVariation($GroupTotal[$Level],$GroupTotalLY[$Level]), '</td> </tr>'; $Level--; } @@ -347,9 +357,9 @@ echo '<tr> <td colspan="2">', $ParentGroups[$Level], '</td> <td class="number">', locale_number_format($GroupTotal[$Level],$_SESSION['CompanyRecord']['decimalplaces']), '</td> - <td class="number">', locale_number_format($LYGroupTotal[$Level],$_SESSION['CompanyRecord']['decimalplaces']), '</td> - <td class="number">', locale_number_format($GroupTotal[$Level]-$LYGroupTotal[$Level],$_SESSION['CompanyRecord']['decimalplaces']), '</td> - <td class="number">', RelativeVariation($GroupTotal[$Level],$LYGroupTotal[$Level]), '</td> + <td class="number">', locale_number_format($GroupTotalLY[$Level],$_SESSION['CompanyRecord']['decimalplaces']), '</td> + <td class="number">', locale_number_format($GroupTotal[$Level]-$GroupTotalLY[$Level],$_SESSION['CompanyRecord']['decimalplaces']), '</td> + <td class="number">', RelativeVariation($GroupTotal[$Level],$GroupTotalLY[$Level]), '</td> </tr>'; echo '<tr> @@ -386,9 +396,9 @@ echo'<tr> <td colspan="2"><h2>', _('Check Total'), '</h2></td> <td class="number"><h2>', locale_number_format($CheckTotal,$_SESSION['CompanyRecord']['decimalplaces']), '</h2></td> - <td class="number"><h2>', locale_number_format($LYCheckTotal,$_SESSION['CompanyRecord']['decimalplaces']), '</h2></td> - <td class="number"><h2>', locale_number_format($CheckTotal-$LYCheckTotal,$_SESSION['CompanyRecord']['decimalplaces']), '</h2></td> - <td class="number"><h2>', RelativeVariation($CheckTotal,$LYCheckTotal), '</h2></td> + <td class="number"><h2>', locale_number_format($CheckTotalLY,$_SESSION['CompanyRecord']['decimalplaces']), '</h2></td> + <td class="number"><h2>', locale_number_format($CheckTotal-$CheckTotalLY,$_SESSION['CompanyRecord']['decimalplaces']), '</h2></td> + <td class="number"><h2>', RelativeVariation($CheckTotal,$CheckTotalLY), '</h2></td> </tr>'; echo '<tr> @@ -419,4 +429,4 @@ } include('includes/footer.inc'); -?> \ No newline at end of file +?> Modified: trunk/doc/Change.log =================================================================== --- trunk/doc/Change.log 2015-08-04 07:40:21 UTC (rev 7334) +++ trunk/doc/Change.log 2015-08-05 02:41:53 UTC (rev 7335) @@ -1,5 +1,6 @@ webERP Change Log +05/08/15 RChacon: In AnalysisHorizontalPosition.php, modify DB_fetch_array() function because it requires only one parameter (thanks Tim). Other improvements. 04/08/15 RChacon: Add new script AnalysisHorizontalPosition.php to generate an horizontal analysis of the statement of financial position. 02/08/15 RChacon: In CustomerReceipt.php, move currency tags near currency ratesand other minor changes. 27/07/15 RChacon: In Payments.php, move currency tags near currency rates. |
From: <te...@us...> - 2015-08-04 07:40:24
|
Revision: 7334 http://sourceforge.net/p/web-erp/reponame/7334 Author: tehonu Date: 2015-08-04 07:40:21 +0000 (Tue, 04 Aug 2015) Log Message: ----------- Added ORDER BY in area selection. Reported by Tim. Modified Paths: -------------- trunk/CustomerBranches.php Modified: trunk/CustomerBranches.php =================================================================== --- trunk/CustomerBranches.php 2015-08-04 05:58:25 UTC (rev 7333) +++ trunk/CustomerBranches.php 2015-08-04 07:40:21 UTC (rev 7334) @@ -773,7 +773,7 @@ // DB_data_seek($result,0);//by thumb } - $SQL = "SELECT areacode, areadescription FROM areas"; + $SQL = "SELECT areacode, areadescription FROM areas ORDER BY areadescription"; $result = DB_query($SQL); if(DB_num_rows($result)==0) { echo '</table>'; |
From: <te...@us...> - 2015-08-04 05:58:27
|
Revision: 7333 http://sourceforge.net/p/web-erp/reponame/7333 Author: tehonu Date: 2015-08-04 05:58:25 +0000 (Tue, 04 Aug 2015) Log Message: ----------- Added ORDER BY clauses Modified Paths: -------------- trunk/CustomerBranches.php Modified: trunk/CustomerBranches.php =================================================================== --- trunk/CustomerBranches.php 2015-08-04 03:27:51 UTC (rev 7332) +++ trunk/CustomerBranches.php 2015-08-04 05:58:25 UTC (rev 7333) @@ -741,7 +741,8 @@ $SQL = "SELECT salesmanname, salesmancode FROM salesman - WHERE current = 1"; + WHERE current = 1 + ORDER BY salesmanname"; $result = DB_query($SQL); @@ -806,7 +807,8 @@ ON locationusers.loccode=locations.loccode AND locationusers.userid='" . $_SESSION['UserID'] . "' AND locationusers.canupd=1 - WHERE locations.allowinvoicing='1'"; + WHERE locations.allowinvoicing='1' + ORDER BY locationname"; $result = DB_query($SQL); if(DB_num_rows($result)==0) { |
From: <rc...@us...> - 2015-08-04 03:27:53
|
Revision: 7332 http://sourceforge.net/p/web-erp/reponame/7332 Author: rchacon Date: 2015-08-04 03:27:51 +0000 (Tue, 04 Aug 2015) Log Message: ----------- Add new script AnalysisHorizontalPosition.php to generate an horizontal analysis of the statement of financial position. Modified Paths: -------------- trunk/doc/Change.log trunk/sql/mysql/upgrade4.12.3-4.13.sql Added Paths: ----------- trunk/AnalysisHorizontalPosition.php Added: trunk/AnalysisHorizontalPosition.php =================================================================== --- trunk/AnalysisHorizontalPosition.php (rev 0) +++ trunk/AnalysisHorizontalPosition.php 2015-08-04 03:27:51 UTC (rev 7332) @@ -0,0 +1,422 @@ +<?php +/* $Id: AnalysisHorizontalPosition.php 7268 2015-04-19 14:57:47Z rchacon $*/ +/* Horizontal analysis of statement of financial position. */ + +function RelativeVariation($CurrentPeriod, $PreviousPeriod) { + // Calculates the relative variation between current and previous periods. Uses percent in locale number format. + if($PreviousPeriod<>0) { + return locale_number_format(($CurrentPeriod-$PreviousPeriod)*100/$PreviousPeriod,$_SESSION['CompanyRecord']['decimalplaces']) . '%'; + } else { + return _('N/A'); + } +} + +include ('includes/session.inc'); +$Title = _('Horizontal Analysis of Statement of Financial Position');// Screen identification. +$ViewTopic = 'GeneralLedger';// Filename's id in ManualContents.php's TOC. +$BookMark = 'AnalysisHorizontalPosition';// Anchor's id in the manual's html document. +include('includes/SQL_CommonFunctions.inc'); +include('includes/AccountSectionsDef.inc'); // This loads the $Sections variable + +if(! isset($_POST['BalancePeriodEnd']) or isset($_POST['SelectADifferentPeriod'])) { + + /*Show a form to allow input of criteria for TB to show */ + include('includes/header.inc'); + echo '<p class="page_title_text"><img alt="" src="', $RootPath, '/css/', $Theme, + '/images/printer.png" title="', // Icon image. + _('Print Horizontal analysis of statement of financial position'), '" /> ', // Icon title. + _('Horizontal Analysis of Statement of Financial Position'), '</p>';// Page title. + + echo '<div class="page_help_text">', + _('Horizontal analysis (also known as trend analysis) is a financial statement analysis technique that shows changes in the amounts of corresponding financial statement items over a period of time. It is a useful tool to evaluate trend situations.'), '<br />', + _('The statements for two periods are used in horizontal analysis. The earliest period is used as the base period. The items on the later statement are compared with items on the statement of the base period. The changes are shown both in currency (absolute variation) and percentage (relative variation).'), '<br />', + _('webERP is an "accrual" based system (not a "cash based" system). Accrual systems include items when they are invoiced to the customer, and when expenses are owed based on the supplier invoice date.'), '</div>', + '<form method="post" action="', htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8'), '">', + '<input type="hidden" name="FormID" value="', $_SESSION['FormID'], '" />', + '<table class="selection"> + <tr> + <td>', _('Select the balance date'), ':</td> + <td><select required="required" name="BalancePeriodEnd">'; + + $periodno=GetPeriod(Date($_SESSION['DefaultDateFormat']), $db); + $sql = "SELECT lastdate_in_period FROM periods WHERE periodno='".$periodno . "'"; + $result = DB_query($sql); + $myrow=DB_fetch_array($result, $db); + $lastdate_in_period=$myrow[0]; + + $sql = "SELECT periodno, lastdate_in_period FROM periods ORDER BY periodno DESC"; + $Periods = DB_query($sql); + + while($myrow=DB_fetch_array($Periods,$db)) { + if( $myrow['periodno']== $periodno) { + echo '<option selected="selected" value="', $myrow['periodno'], '">', ConvertSQLDate($lastdate_in_period), '</option>'; + } else { + echo '<option value="', $myrow['periodno'], '">', ConvertSQLDate($myrow['lastdate_in_period']), '</option>'; + } + } + echo '</select></td> + </tr> + <tr> + <td>', _('Detail or summary'), ':</td> + <td><select name="Detail" required="required" title="', _('Selecting Summary will show on the totals at the account group level'), '" > + <option value="Summary">', _('Summary'), '</option> + <option selected="selected" value="Detailed">', _('All Accounts'), '</option> + </select></td> + </tr> + <tr> + <td>', _('Show all accounts including zero balances'), '</td> + <td><input name="ShowZeroBalances" title="', _('Check this box to display all accounts including those accounts with no balance'), '" type="checkbox" /></td> + </tr> + </table> + <br />', // Form buttons: + '<div class="centre noprint">', + '<button name="ShowBalanceSheet" type="submit" value="', _('Show on Screen (HTML)'), '"><img alt="" src="', $RootPath, '/css/', $Theme, + '/images/gl.png" /> ', _('Show on Screen (HTML)'), '</button> ', // "Show on Screen (HTML)" button. + '<button formaction="index.php?Application=GL" type="submit"><img alt="" src="', $RootPath, '/css/', $Theme, + '/images/previous.png" /> ', _('Return'), '</button>', // "Return" button. + '</div>', + '</form>'; + + /*Now do the posting while the user is thinking about the period to select */ + include ('includes/GLPostings.inc'); + +} else { + include('includes/header.inc'); + + $RetainedEarningsAct = $_SESSION['CompanyRecord']['retainedearnings']; + + $sql = "SELECT lastdate_in_period FROM periods WHERE periodno='" . $_POST['BalancePeriodEnd'] . "'"; + $PrdResult = DB_query($sql); + $myrow = DB_fetch_row($PrdResult); + $BalanceDate = ConvertSQLDate($myrow[0]); + + // Calculate B/Fwd retained earnings: + $SQL = "SELECT Sum(CASE WHEN chartdetails.period='" . $_POST['BalancePeriodEnd'] . "' THEN chartdetails.bfwd + chartdetails.actual ELSE 0 END) AS accumprofitbfwd, + Sum(CASE WHEN chartdetails.period='" . ($_POST['BalancePeriodEnd'] - 12) . "' THEN chartdetails.bfwd + chartdetails.actual ELSE 0 END) AS lyaccumprofitbfwd + FROM chartmaster INNER JOIN accountgroups + ON chartmaster.group_ = accountgroups.groupname INNER JOIN chartdetails + ON chartmaster.accountcode= chartdetails.accountcode + WHERE accountgroups.pandl=1"; + + $AccumProfitResult = DB_query($SQL,_('The accumulated profits brought forward could not be calculated by the SQL because')); + + $AccumProfitRow = DB_fetch_array($AccumProfitResult); /*should only be one row returned */ + + $SQL = "SELECT accountgroups.sectioninaccounts, + accountgroups.groupname, + accountgroups.parentgroupname, + chartdetails.accountcode, + chartmaster.accountname, + Sum(CASE WHEN chartdetails.period='" . $_POST['BalancePeriodEnd'] . "' THEN chartdetails.bfwd + chartdetails.actual ELSE 0 END) AS balancecfwd, + Sum(CASE WHEN chartdetails.period='" . ($_POST['BalancePeriodEnd'] - 12) . "' THEN chartdetails.bfwd + chartdetails.actual ELSE 0 END) AS lybalancecfwd + FROM chartmaster INNER JOIN accountgroups + ON chartmaster.group_ = accountgroups.groupname INNER JOIN chartdetails + ON chartmaster.accountcode= chartdetails.accountcode + WHERE accountgroups.pandl=0 + GROUP BY accountgroups.groupname, + chartdetails.accountcode, + chartmaster.accountname, + accountgroups.parentgroupname, + accountgroups.sequenceintb, + accountgroups.sectioninaccounts + ORDER BY accountgroups.sectioninaccounts, + accountgroups.sequenceintb, + accountgroups.groupname, + chartdetails.accountcode"; + + $AccountsResult = DB_query($SQL,_('No general ledger accounts were returned by the SQL because')); + + // Page title as IAS 1, numerals 10 and 51: + include_once('includes/CurrenciesArray.php');// Array to retrieve currency name. + echo '<div id="Report">', // Division to identify the report block. + '<p class="page_title_text"><img alt="" src="', $RootPath, '/css/', $Theme, + '/images/gl.png" title="', // Icon image. + _('Horizontal Analysis of Statement of Financial Position'), '" /> ', // Icon title. + _('Horizontal Analysis of Statement of Financial Position'), '<br />', // Page title, reporting statement. + stripslashes($_SESSION['CompanyRecord']['coyname']), '<br />', // Page title, reporting entity. + _('as at'), ' ', $BalanceDate, '<br />', // Page title, reporting period. + _('All amounts stated in'), ': ', _($CurrencyName[$_SESSION['CompanyRecord']['currencydefault']]), '</p>';// Page title, reporting presentation currency and level of rounding used. + + echo '<table class="scrollable"> + <thead> + <tr>'; + if($_POST['Detail']=='Detailed') {// Detailed report: + echo '<th class="text">', _('Account'), '</th> + <th class="text">', _('Account Name'), '</th>'; + } else {// Summary report: + echo '<th class="text" colspan="2">', _('Summary'), '</th>'; + } + echo '<th class="number">', $BalanceDate, '</th> + <th class="number">', _('Last Year'), '</th> + <th class="number">', _('Absolute variation'), '</th> + <th class="number">', _('Relative variation'), '</th> + </tr> + </thead> + <tbody>';// thead used in conjunction with tbody enable scrolling of the table body independently of the header and footer. Also, when printing a large table that spans multiple pages, these elements can enable the table header to be printed at the top of each page. + + $k=0; //row colour counter + $Section=''; + $SectionBalance = 0; + $SectionBalanceLY = 0; + + $LYCheckTotal = 0; + $CheckTotal = 0; + + $ActGrp =''; + $Level=0; + $ParentGroups=array(); + $ParentGroups[$Level]=''; + $GroupTotal = array(0); + $LYGroupTotal = array(0); + + $j=0; //row counter + + while($myrow=DB_fetch_array($AccountsResult)) { + $AccountBalance = $myrow['balancecfwd']; + $LYAccountBalance = $myrow['lybalancecfwd']; + + if($myrow['accountcode'] == $RetainedEarningsAct) { + $AccountBalance += $AccumProfitRow['accumprofitbfwd']; + $LYAccountBalance += $AccumProfitRow['lyaccumprofitbfwd']; + } + + if($myrow['groupname']!= $ActGrp AND $ActGrp != '') { + if($myrow['parentgroupname']!=$ActGrp) { + while($myrow['groupname']!=$ParentGroups[$Level] AND $Level>0) { + if($_POST['Detail']=='Detailed') { + echo '<tr> + <td colspan="2"> </td> + <td><hr /></td> + <td><hr /></td> + <td><hr /></td> + <td><hr /></td> + </tr>'; + } + echo '<tr> + <td colspan="2"><i>', $ParentGroups[$Level], '</i></td> + <td class="number">', locale_number_format($GroupTotal[$Level],$_SESSION['CompanyRecord']['decimalplaces']), '</td> + <td class="number">', locale_number_format($LYGroupTotal[$Level],$_SESSION['CompanyRecord']['decimalplaces']), '</td> + <td class="number">', locale_number_format($GroupTotal[$Level]-$LYGroupTotal[$Level],$_SESSION['CompanyRecord']['decimalplaces']), '</td> + <td class="number">', RelativeVariation($GroupTotal[$Level],$LYGroupTotal[$Level]), '</td> + </tr>'; + $GroupTotal[$Level] = 0; + $LYGroupTotal[$Level] = 0; + $ParentGroups[$Level] = ''; + $Level--; + $j++; + } + if($_POST['Detail']=='Detailed') { + echo '<tr> + <td colspan="2"> </td> + <td><hr /></td> + <td><hr /></td> + <td><hr /></td> + <td><hr /></td> + </tr>'; + } + echo '<tr> + <td colspan="2">', $ParentGroups[$Level], '</td> + <td class="number">', locale_number_format($GroupTotal[$Level],$_SESSION['CompanyRecord']['decimalplaces']), '</td> + <td class="number">', locale_number_format($LYGroupTotal[$Level],$_SESSION['CompanyRecord']['decimalplaces']), '</td> + <td class="number">', locale_number_format($GroupTotal[$Level]-$LYGroupTotal[$Level],$_SESSION['CompanyRecord']['decimalplaces']), '</td> + <td class="number">', RelativeVariation($GroupTotal[$Level],$LYGroupTotal[$Level]), '</td> + </tr>'; + $GroupTotal[$Level] = 0; + $LYGroupTotal[$Level] = 0; + $ParentGroups[$Level] = ''; + $j++; + } + } + if($myrow['sectioninaccounts'] != $Section ) { + + if($Section!='') { + if($_POST['Detail']=='Detailed') { + echo '<tr> + <td colspan="2"> </td> + <td><hr /></td> + <td><hr /></td> + <td><hr /></td> + <td><hr /></td> + </tr>'; + } else { + echo '<tr> + <td colspan="2"> </td> + <td><hr /></td> + <td><hr /></td> + <td><hr /></td> + <td><hr /></td> + </tr>'; + } + echo '<tr> + <td colspan="2"><h2>', $Sections[$Section], '</h2></td> + <td class="number"><h2>', locale_number_format($SectionBalance,$_SESSION['CompanyRecord']['decimalplaces']), '</h2></td> + <td class="number"><h2>', locale_number_format($SectionBalanceLY,$_SESSION['CompanyRecord']['decimalplaces']), '</h2></td> + <td class="number"><h2>', locale_number_format($SectionBalance-$SectionBalanceLY,$_SESSION['CompanyRecord']['decimalplaces']), '</h2></td> + <td class="number"><h2>', RelativeVariation($SectionBalance,$SectionBalanceLY), '</h2></td> + </tr>'; + $j++; + } + $SectionBalanceLY = 0; + $SectionBalance = 0; + $Section = $myrow['sectioninaccounts']; + if($_POST['Detail']=='Detailed') { + echo '<tr> + <td colspan="6"><h2>', $Sections[$myrow['sectioninaccounts']], '</h2></td> + </tr>'; + } + } + + if($myrow['groupname'] != $ActGrp) { + + if($ActGrp!='' AND $myrow['parentgroupname']==$ActGrp) { + $Level++; + } + + if($_POST['Detail']=='Detailed') { + $ActGrp = $myrow['groupname']; + echo '<tr> + <td colspan="6"><h3>', $myrow['groupname'], '</h3></td> + </tr>'; + } + $GroupTotal[$Level] = 0; + $LYGroupTotal[$Level] = 0; + $ActGrp = $myrow['groupname']; + $ParentGroups[$Level] = $myrow['groupname']; + $j++; + } + + $SectionBalanceLY += $LYAccountBalance; + $SectionBalance += $AccountBalance; + for ($i=0;$i<=$Level;$i++) { + $LYGroupTotal[$i] += $LYAccountBalance; + $GroupTotal[$i] += $AccountBalance; + } + $LYCheckTotal += $LYAccountBalance; + $CheckTotal += $AccountBalance; + + if($_POST['Detail']=='Detailed') { + if(isset($_POST['ShowZeroBalances']) OR (!isset($_POST['ShowZeroBalances']) AND (round($AccountBalance,$_SESSION['CompanyRecord']['decimalplaces']) <> 0 OR round($LYAccountBalance,$_SESSION['CompanyRecord']['decimalplaces']) <> 0))) { + if($k==1) { + echo '<tr class="OddTableRows">'; + $k=0; + } else { + echo '<tr class="EvenTableRows">'; + $k++; + } + echo '<td><a href="', $RootPath, '/GLAccountInquiry.php?Period=', $_POST['BalancePeriodEnd'], '&Account=', $myrow['accountcode'], '">', $myrow['accountcode'], '</a></td> + <td>', htmlspecialchars($myrow['accountname'],ENT_QUOTES,'UTF-8',false), '</td> + <td class="number">', locale_number_format($AccountBalance,$_SESSION['CompanyRecord']['decimalplaces']), '</td> + <td class="number">', locale_number_format($LYAccountBalance,$_SESSION['CompanyRecord']['decimalplaces']), '</td> + <td class="number">', locale_number_format($AccountBalance-$LYAccountBalance,$_SESSION['CompanyRecord']['decimalplaces']), '</td> + <td class="number">', RelativeVariation($AccountBalance,$LYAccountBalance), '</td> + </tr>'; + $j++; + } + } + } + //end of loop + + while($myrow['groupname']!=$ParentGroups[$Level] AND $Level>0) { + if($_POST['Detail']=='Detailed') { + echo '<tr> + <td colspan="2"> </td> + <td><hr /></td> + <td><hr /></td> + <td><hr /></td> + <td><hr /></td> + </tr>'; + } + echo '<tr> + <td colspan="2"><i>', $ParentGroups[$Level], '</i></td> + <td class="number">', locale_number_format($GroupTotal[$Level],$_SESSION['CompanyRecord']['decimalplaces']), '</td> + <td class="number">', locale_number_format($LYGroupTotal[$Level],$_SESSION['CompanyRecord']['decimalplaces']), '</td> + <td class="number">', locale_number_format($GroupTotal[$Level]-$LYGroupTotal[$Level],$_SESSION['CompanyRecord']['decimalplaces']), '</td> + <td class="number">', RelativeVariation($GroupTotal[$Level],$LYGroupTotal[$Level]), '</td> + </tr>'; + $Level--; + } + if($_POST['Detail']=='Detailed') { + echo '<tr> + <td colspan="2"> </td> + <td><hr /></td> + <td><hr /></td> + <td><hr /></td> + <td><hr /></td> + </tr>'; + } + echo '<tr> + <td colspan="2">', $ParentGroups[$Level], '</td> + <td class="number">', locale_number_format($GroupTotal[$Level],$_SESSION['CompanyRecord']['decimalplaces']), '</td> + <td class="number">', locale_number_format($LYGroupTotal[$Level],$_SESSION['CompanyRecord']['decimalplaces']), '</td> + <td class="number">', locale_number_format($GroupTotal[$Level]-$LYGroupTotal[$Level],$_SESSION['CompanyRecord']['decimalplaces']), '</td> + <td class="number">', RelativeVariation($GroupTotal[$Level],$LYGroupTotal[$Level]), '</td> + </tr>'; + + echo '<tr> + <td colspan="2"> </td> + <td><hr /></td> + <td><hr /></td> + <td><hr /></td> + <td><hr /></td> + </tr>'; + + echo '<tr> + <td colspan="2"><h2>', $Sections[$Section], '</h2></td> + <td class="number"><h2>', locale_number_format($SectionBalance,$_SESSION['CompanyRecord']['decimalplaces']), '</h2></td> + <td class="number"><h2>', locale_number_format($SectionBalanceLY,$_SESSION['CompanyRecord']['decimalplaces']), '</h2></td> + <td class="number"><h2>', locale_number_format($SectionBalance-$SectionBalanceLY,$_SESSION['CompanyRecord']['decimalplaces']), '</h2></td> + <td class="number"><h2>', RelativeVariation($SectionBalance,$SectionBalanceLY), '</h2></td> + </tr>'; + + $Section = $myrow['sectioninaccounts']; + + if(isset($myrow['sectioninaccounts']) and $_POST['Detail']=='Detailed') { + echo '<tr> + <td colspan="6"><h2>', $Sections[$myrow['sectioninaccounts']], '</h2></td> + </tr>'; + } + echo '<tr> + <td colspan="2"> </td> + <td><hr /></td> + <td><hr /></td> + <td><hr /></td> + <td><hr /></td> + </tr>'; + + echo'<tr> + <td colspan="2"><h2>', _('Check Total'), '</h2></td> + <td class="number"><h2>', locale_number_format($CheckTotal,$_SESSION['CompanyRecord']['decimalplaces']), '</h2></td> + <td class="number"><h2>', locale_number_format($LYCheckTotal,$_SESSION['CompanyRecord']['decimalplaces']), '</h2></td> + <td class="number"><h2>', locale_number_format($CheckTotal-$LYCheckTotal,$_SESSION['CompanyRecord']['decimalplaces']), '</h2></td> + <td class="number"><h2>', RelativeVariation($CheckTotal,$LYCheckTotal), '</h2></td> + </tr>'; + + echo '<tr> + <td colspan="2"> </td> + <td><hr /></td> + <td><hr /></td> + <td><hr /></td> + <td><hr /></td> + </tr>'; + + echo '</tbody>', // See comment at the begin of the table. + '</table> + </div>', // Close div id="Report". + '<br />'; + + echo '<form method="post" action="', htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8'), '">', + '<input type="hidden" name="FormID" value="', $_SESSION['FormID'], '" />', + '<input type="hidden" name="BalancePeriodEnd" value="', $_POST['BalancePeriodEnd'], '" />', // Form buttons: + '<div class="centre noprint">', + '<button onclick="javascript:window.print()" type="button"><img alt="" src="', $RootPath, '/css/', $Theme, + '/images/printer.png" /> ', _('Print This'), '</button> ', // "Print This" button. + '<button name="SelectADifferentPeriod" type="submit" value="', _('Select A Different Period'), '"><img alt="" src="', $RootPath, '/css/', $Theme, + '/images/gl.png" /> ', _('Select A Different Period'), '</button> ', // "Select A Different Period" button. + '<button formaction="index.php?Application=GL" type="submit"><img alt="" src="', $RootPath, '/css/', $Theme, + '/images/previous.png" /> ', _('Return'), '</button>', // "Return" button. + '</div>', + '</form>'; +} + +include('includes/footer.inc'); +?> \ No newline at end of file Modified: trunk/doc/Change.log =================================================================== --- trunk/doc/Change.log 2015-08-02 16:54:25 UTC (rev 7331) +++ trunk/doc/Change.log 2015-08-04 03:27:51 UTC (rev 7332) @@ -1,5 +1,6 @@ webERP Change Log +04/08/15 RChacon: Add new script AnalysisHorizontalPosition.php to generate an horizontal analysis of the statement of financial position. 02/08/15 RChacon: In CustomerReceipt.php, move currency tags near currency ratesand other minor changes. 27/07/15 RChacon: In Payments.php, move currency tags near currency rates. 20/06/15 RChacon: In header.inc, add meta tag to keep relationship between CSS pixels and device pixels. Modified: trunk/sql/mysql/upgrade4.12.3-4.13.sql =================================================================== --- trunk/sql/mysql/upgrade4.12.3-4.13.sql 2015-08-02 16:54:25 UTC (rev 7331) +++ trunk/sql/mysql/upgrade4.12.3-4.13.sql 2015-08-04 03:27:51 UTC (rev 7332) @@ -7,5 +7,10 @@ ALTER TABLE `loctransfercancellations` ADD INDEX `Index1` (`reference`, `stockid`) COMMENT ''; ALTER TABLE `loctransfercancellations` ADD INDEX `Index2` (`canceldate`, `reference`, `stockid`) COMMENT ''; +-- Add new script: +INSERT INTO `scripts` (`script`, `pagesecurity`, `description`) VALUES + ('AnalysisHorizontalPosition.php', '8', 'Horizontal analysis of statement of financial position'); + + -- Update version number: UPDATE config SET confvalue='4.13' WHERE confname='VersionNumber'; |
From: <rc...@us...> - 2015-08-02 16:54:28
|
Revision: 7331 http://sourceforge.net/p/web-erp/reponame/7331 Author: rchacon Date: 2015-08-02 16:54:25 +0000 (Sun, 02 Aug 2015) Log Message: ----------- In CustomerReceipt.php, move currency tags near currency ratesand other minor changes. Modified Paths: -------------- trunk/CustomerReceipt.php trunk/doc/Change.log trunk/locale/es_ES.utf8/LC_MESSAGES/messages.mo trunk/locale/es_ES.utf8/LC_MESSAGES/messages.po Modified: trunk/CustomerReceipt.php =================================================================== --- trunk/CustomerReceipt.php 2015-08-02 14:56:38 UTC (rev 7330) +++ trunk/CustomerReceipt.php 2015-08-02 16:54:25 UTC (rev 7331) @@ -1,6 +1,6 @@ <?php - /* $Id$ */ +/* Entry of both customer receipts against accounts receivable and also general ledger or nominal receipts */ include('includes/DefineReceiptClass.php'); include('includes/session.inc'); @@ -869,38 +869,36 @@ if (!isset($_SESSION['ReceiptBatch']->FunctionalExRate)){ $_SESSION['ReceiptBatch']->FunctionalExRate=1; } -if ($_SESSION['ReceiptBatch']->AccountCurrency!=$_SESSION['ReceiptBatch']->Currency AND isset($_SESSION['ReceiptBatch']->AccountCurrency)){ - if (isset($SuggestedExRate)){ - $SuggestedExRateText = '<b>' . _('Suggested rate:') . ' ' . locale_number_format($SuggestedExRate,8) . '</b>'; - } else { - $SuggestedExRateText =''; - } - if ($_SESSION['ReceiptBatch']->ExRate==1 AND isset($SuggestedExRate)){ +if($_SESSION['ReceiptBatch']->AccountCurrency != $_SESSION['ReceiptBatch']->Currency AND isset($_SESSION['ReceiptBatch']->AccountCurrency)) { + if($_SESSION['ReceiptBatch']->ExRate==1 AND isset($SuggestedExRate)) { $_SESSION['ReceiptBatch']->ExRate = $SuggestedExRate; - }elseif($_POST['Currency'] != $_POST['PreviousCurrency'] AND isset($SuggestedExRate)){//the user has changed the currency, then we should revise suggested rate + } elseif($_POST['Currency'] != $_POST['PreviousCurrency'] AND isset($SuggestedExRate)) {//the user has changed the currency, then we should revise suggested rate $_SESSION['ReceiptBatch']->ExRate = $SuggestedExRate; } + + if(isset($SuggestedExRate)) { + $SuggestedExRateText = '<b>' . _('Suggested rate:') . ' 1 ' . $_SESSION['ReceiptBatch']->AccountCurrency . ' = ' . locale_number_format($SuggestedExRate,8) . ' ' . $_SESSION['ReceiptBatch']->Currency . '</b>'; + } else { + $SuggestedExRateText = '<b>1 ' . $_SESSION['ReceiptBatch']->AccountCurrency . ' = ? ' . $_SESSION['ReceiptBatch']->Currency . '</b>'; + } echo '<tr> - <td>' . _('Receipt Exchange Rate') . ':</td> - <td><input class="number" maxlength="12" name="ExRate" required="required" size="14" tabindex="4" type="text" value="' . locale_number_format($_SESSION['ReceiptBatch']->ExRate,8) . '" /></td> - <td>' . $SuggestedExRateText . ' <i>' . _('The exchange rate between the currency of the bank account currency and the currency of the receipt') . '. 1 ' . $_SESSION['ReceiptBatch']->AccountCurrency . ' = ? ' . $_SESSION['ReceiptBatch']->Currency . '</i></td> + <td>', _('Receipt Exchange Rate'), ':</td> + <td><input class="number" maxlength="12" name="ExRate" required="required" size="14" tabindex="4" type="text" value="', locale_number_format($_SESSION['ReceiptBatch']->ExRate,8), '" /> ', $SuggestedExRateText, ' <i>', _('The exchange rate between the currency of the bank account currency and the currency of the receipt'), '.</i></td> </tr>'; } -if ($_SESSION['ReceiptBatch']->AccountCurrency!=$_SESSION['CompanyRecord']['currencydefault'] - AND isset($_SESSION['ReceiptBatch']->AccountCurrency)){ - if (isset($SuggestedFunctionalExRate)){ - $SuggestedFunctionalExRateText = '<b>' . _('Suggested rate:') . ' ' . locale_number_format($SuggestedFunctionalExRate,8) . '</b>'; +if($_SESSION['ReceiptBatch']->AccountCurrency != $_SESSION['CompanyRecord']['currencydefault'] AND isset($_SESSION['ReceiptBatch']->AccountCurrency)) { + if($_SESSION['ReceiptBatch']->FunctionalExRate==1 AND isset($SuggestedFunctionalExRate)) { + $_SESSION['ReceiptBatch']->FunctionalExRate = $SuggestedFunctionalExRate; + } + if(isset($SuggestedFunctionalExRate)) { + $SuggestedFunctionalExRateText = '<b>' . _('Suggested rate:') . ' 1 ' . $_SESSION['CompanyRecord']['currencydefault'] . ' = ' . locale_number_format($SuggestedFunctionalExRate,8) . ' ' . $_SESSION['ReceiptBatch']->AccountCurrency . '</b>'; } else { - $SuggestedFunctionalExRateText =''; + $SuggestedFunctionalExRateText = '<b>1 ' . $_SESSION['CompanyRecord']['currencydefault'] . ' = ? ' . $_SESSION['ReceiptBatch']->AccountCurrency . '</b>'; } - if ($_SESSION['ReceiptBatch']->FunctionalExRate==1 AND isset($SuggestedFunctionalExRate)){ - $_SESSION['ReceiptBatch']->FunctionalExRate = $SuggestedFunctionalExRate; - } 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="' . locale_number_format($_SESSION['ReceiptBatch']->FunctionalExRate,8) . '" /></td> - <td>' . ' ' . $SuggestedFunctionalExRateText . ' <i>' . _('The exchange rate between the currency of the business (the functional currency) and the currency of the bank account') . '. 1 ' . $_SESSION['CompanyRecord']['currencydefault'] . ' = ? ' . $_SESSION['ReceiptBatch']->AccountCurrency . '</i></td> + <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="', locale_number_format($_SESSION['ReceiptBatch']->FunctionalExRate,8), '" /> ', $SuggestedFunctionalExRateText, ' <i>', _('The exchange rate between the currency of the business (the functional currency) and the currency of the bank account'), '.</i></td> </tr>'; } @@ -927,8 +925,8 @@ $_SESSION['ReceiptBatch']->BankTransRef=''; } echo '<tr> - <td>' . _('Reference') . ':</td> - <td><input tabindex="7" type="text" name="BankTransRef" maxlength="50" size="52" value="' . $_SESSION['ReceiptBatch']->BankTransRef . '" /> ' . _('Reference on Bank Transactions Inquiry') . '</td> + <td>', _('Reference'), ':</td> + <td><input maxlength="50" name="BankTransRef" size="52" tabindex="7" type="text" value="', $_SESSION['ReceiptBatch']->BankTransRef,'" /> <i>', _('Reference on Bank Transactions Inquiry'), '.</i></td> </tr>'; /* Receipt (Bank Account) info to be inserted on gltrans.narrative, varchar(200). */ @@ -939,14 +937,14 @@ $_POST['Currency'] = $_SESSION['CompanyRecord']['currencydefault']; } echo '<tr> - <td>' . _('Narrative') . ':</td> - <td><input tabindex="8" type="text" name="BatchNarrative" maxlength="200" size="52" value="' . $_SESSION['ReceiptBatch']->Narrative . '" /> ' . _('Narrative on General Ledger Account Inquiry') . '</td> + <td>', _('Narrative'), ':</td> + <td><input maxlength="200" name="BatchNarrative" size="52" tabindex="8" type="text" value="', $_SESSION['ReceiptBatch']->Narrative, '" /> <i>', _('Narrative on General Ledger Account Inquiry'), '.</i></td> </tr> - <input type="hidden" name="PreviousCurrency" value="' . $_POST['Currency'] . '" /> + <input name="PreviousCurrency" type="hidden" value="', $_POST['Currency'], '" /> <tr> <td colspan="3"> <div class="centre"> - <input tabindex="9" type="submit" name="BatchInput" value="' . _('Accept') . '" /> + <input name="BatchInput" tabindex="9" type="submit" value="', _('Accept'), '" /> </div> </td> </tr> Modified: trunk/doc/Change.log =================================================================== --- trunk/doc/Change.log 2015-08-02 14:56:38 UTC (rev 7330) +++ trunk/doc/Change.log 2015-08-02 16:54:25 UTC (rev 7331) @@ -1,5 +1,6 @@ webERP Change Log +02/08/15 RChacon: In CustomerReceipt.php, move currency tags near currency ratesand other minor changes. 27/07/15 RChacon: In Payments.php, move currency tags near currency rates. 20/06/15 RChacon: In header.inc, add meta tag to keep relationship between CSS pixels and device pixels. 19/06/15 : Kif (from webERP Chinese Community QQ group) fixed the menu cannot show completely on mobile phone in xenos/default.css. Modified: trunk/locale/es_ES.utf8/LC_MESSAGES/messages.mo =================================================================== (Binary files differ) Modified: trunk/locale/es_ES.utf8/LC_MESSAGES/messages.po =================================================================== --- trunk/locale/es_ES.utf8/LC_MESSAGES/messages.po 2015-08-02 14:56:38 UTC (rev 7330) +++ trunk/locale/es_ES.utf8/LC_MESSAGES/messages.po 2015-08-02 16:54:25 UTC (rev 7331) @@ -8,7 +8,7 @@ "Project-Id-Version: webERP 4.12.2\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2015-05-17 13:40+1200\n" -"PO-Revision-Date: 2015-08-02 08:50-0600\n" +"PO-Revision-Date: 2015-08-02 10:39-0600\n" "Last-Translator: Rafael Chacon <raf...@gm...>\n" "Language-Team: TecnoSoluciones.com <web...@te...>\n" "Language: es_ES\n" @@ -9750,7 +9750,7 @@ #: CustomerReceipt.php:931 Payments.php:930 msgid "Reference on Bank Transactions Inquiry" -msgstr "Referencia en la consulta de transacciones bancarias " +msgstr "Referencia en la consulta de transacciones bancarias" #: CustomerReceipt.php:943 Payments.php:938 msgid "Narrative on General Ledger Account Inquiry" @@ -19911,7 +19911,7 @@ #: PcTabs.php:118 msgid " already exists" -msgstr " already exists" +msgstr " ya existe" #: PcTabs.php:166 msgid "The Tab record could not be deleted because" |