@tasenor/common-plugins 1.17.14 → 1.17.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,8 +1,8 @@
1
1
 
2
2
 
3
- > @tasenor/common-plugins@1.17.13 release /home/wigy/project/tasenor-qa/tasenor-bookkeeper/packages/tasenor-common-plugins
3
+ > @tasenor/common-plugins@1.17.14 release /home/wigy/project/tasenor-qa/tasenor-bookkeeper/packages/tasenor-common-plugins
4
4
  > pnpm version patch && pnpm publish --force --access public --no-git-checks
5
5
 
6
6
  npm warn Unknown env config "auto-install-peers". This will stop working in the next major version of npm.
7
- v1.17.14
7
+ v1.17.15
8
8
   WARN  using --force I sure hope you know what you are doing
@@ -4,6 +4,10 @@ const { readFile, saveText, trimCRLF } = commonNode.dataUtils
4
4
 
5
5
  let tsv = trimCRLF(readFile('EstonianBalanceSheetReport - balance-sheet-fi.tsv'))
6
6
  saveText('EstonianBalanceSheetReport', 'balance-sheet-fi.tsv', tsv)
7
+ tsv = trimCRLF(readFile('EstonianBalanceSheetReport - balance-sheet-en.tsv'))
8
+ saveText('EstonianBalanceSheetReport', 'balance-sheet-en.tsv', tsv)
7
9
 
8
10
  tsv = trimCRLF(readFile('EstonianBalanceSheetReport - balance-sheet-detailed-fi.tsv'))
9
11
  saveText('EstonianBalanceSheetReport', 'balance-sheet-detailed-fi.tsv', tsv)
12
+ tsv = trimCRLF(readFile('EstonianBalanceSheetReport - balance-sheet-detailed-en.tsv'))
13
+ saveText('EstonianBalanceSheetReport', 'balance-sheet-detailed-en.tsv', tsv)
@@ -5,6 +5,10 @@ const { readFile, saveText, trimCRLF } = commonNode.dataUtils
5
5
  let tsv
6
6
  tsv = trimCRLF(readFile('EstonianIncomeStatementReport - income-statement-fi.tsv'))
7
7
  saveText('EstonianIncomeStatementReport', 'income-statement-fi.tsv', tsv)
8
+ tsv = trimCRLF(readFile('EstonianIncomeStatementReport - income-statement-en.tsv'))
9
+ saveText('EstonianIncomeStatementReport', 'income-statement-en.tsv', tsv)
8
10
 
9
11
  tsv = trimCRLF(readFile('EstonianIncomeStatementReport - income-statement-detailed-fi.tsv'))
10
12
  saveText('EstonianIncomeStatementReport', 'income-statement-detailed-fi.tsv', tsv)
13
+ tsv = trimCRLF(readFile('EstonianIncomeStatementReport - income-statement-detailed-en.tsv'))
14
+ saveText('EstonianIncomeStatementReport', 'income-statement-detailed-en.tsv', tsv)
@@ -0,0 +1,40 @@
1
+ # accounts title flags
2
+ 1000-2999 ASSETS HIDE_TOTAL REQUIRED BOLD
3
+ 1000-1299 _FIXED ASSETS
4
+ 1000-1099 __Intanglible Assets HIDE_TOTAL BOLD
5
+ 1000-1099 ___Intanglible Assets DETAILS
6
+ 1000-1099 __Total Intanglible Assets BOLD
7
+ 1100-1199 __Tanglible Assets HIDE_TOTAL BOLD
8
+ 1100-1199 ___Tanglible Assets DETAILS
9
+ 1100-1199 __Total Tanglible Assets BOLD
10
+ 1200-1299 __Accumulated Depreciation HIDE_TOTAL BOLD
11
+ 1200-1299 ___Accumulated Depreciation DETAILS
12
+ 1200-1299 __Total Accumulated Depreciation BOLD
13
+ 2000-2999 _CURRENT ASSETS HIDE_TOTAL REQUIRED BOLD
14
+ 2000-2099 __Receivables HIDE_TOTAL
15
+ 2010-2019 ___Trade Receivables HIDE_TOTAL BOLD
16
+ 2010-2019 ____Trade Receivables DETAILS
17
+ 2010-2019 ___Total Trade Receivables BOLD
18
+ 2020-2029 ___Accrued Income HIDE_TOTAL BOLD
19
+ 2020-2029 ____Accrued Income DETAILS
20
+ 2020-2029 ___Total Accrued Income BOLD
21
+ 2000-2099 __Total Receivables BOLD
22
+ 2100-2199 __Disposable Assets HIDE_TOTAL BOLD
23
+ 2100-2199 ___Disposable Assets DETAILS
24
+ 2100-2199 __Total Disposable Assets BOLD
25
+ 2000-2999 _Total Variable Assets BOLD
26
+ 1000-2999 Total Assets REQUIRED BOLD
27
+ NEW_PAGE
28
+ CAPITAL, RESERVES & LIABILITIES HIDE_TOTAL REQUIRED BOLD
29
+ 3000-3199 5000-9999 _CAPITAL & RESERVES HIDE_TOTAL REQUIRED BOLD
30
+ 3000-3099 __Capital HIDE_TOTAL BOLD
31
+ 3000-3099 __Capital DETAILS
32
+ 3100-3199 __Retained Profits (Loss)
33
+ 5000-9999 __Profit (Loss) for the financial year
34
+ 3000-3199 5000-9999 _Total Equity BOLD
35
+ 4000-4999 _CREDITORS HIDE_TOTAL REQUIRED BOLD
36
+ 4000-4999 __Trade Creditors HIDE_TOTAL BOLD
37
+ 4000-4999 ___Trade Creditors DETAILS
38
+ 4000-4999 __Total Trade Creditors BOLD
39
+ 4000-4999 _Total Creditors BOLD
40
+ 3000-3199 4000-9999 Total Liabilities REQUIRED BOLD
@@ -22,4 +22,4 @@
22
22
  4000-4999 _CREDITORS HIDE_TOTAL REQUIRED BOLD
23
23
  4000-4999 __Trade Creditors
24
24
  4000-4999 _Total Liabilities BOLD
25
- 3000-3199 4000-4999 5000-9999 Total Liabilities REQUIRED BOLD
25
+ 3000-3199 4000-9999 Total Liabilities REQUIRED BOLD
@@ -0,0 +1,42 @@
1
+ # accounts title flags
2
+ 5000-5999 NET REVENUE DETAILS
3
+ BREAK
4
+ 5000-5999 NET REVENUE REQUIRED BOLD
5
+ 6000-6999 Other Operating Income HIDE_TOTAL BOLD
6
+ 6000-6999 _Other Operating Income DETAILS
7
+ 6000-6999 Total Other Operating Income BOLD
8
+ BREAK
9
+ 7000-7099 Purchases and Subcontracting HIDE_TOTAL BOLD
10
+ 7000-7099 _Purchases and Subcontracting DETAILS
11
+ 7000-7099 Total Purchases and Subcontracting BOLD
12
+ BREAK
13
+ 7100-7199 Personnel Expenses HIDE_TOTAL BOLD
14
+ 7100-7199 _Personnel Expenses DETAILS
15
+ 7100-7199 Total Personnel Expenses BOLD
16
+ BREAK
17
+ 7200-7299 Administrative Expenses HIDE_TOTAL BOLD
18
+ 7200-7299 _Administrative Expenses DETAILS
19
+ 7200-7299 Total Administrative Expenses BOLD
20
+ BREAK
21
+ 7300-7399 Marketing and Sales Expenses HIDE_TOTAL BOLD
22
+ 7300-7399 _Marketing and Sales Expenses DETAILS
23
+ 7300-7399 Total Marketing and Sales Expenses BOLD
24
+ BREAK
25
+ 7400-7499 Travel Expenses HIDE_TOTAL BOLD
26
+ 7400-7499 _Travel Expenses DETAILS
27
+ 7400-7499 Total Travel Expenses BOLD
28
+ BREAK
29
+ 7500-7599 Depreciation and Impairment Losses HIDE_TOTAL BOLD
30
+ 7500-7599 _Depreciation and Impairment Losses DETAILS
31
+ 7500-7599 Total Depreciation and Impairment Losses BOLD
32
+ BREAK
33
+ 7600-7699 Other Operating Expenses HIDE_TOTAL BOLD
34
+ 7600-7699 _Other Operating Expenses DETAILS
35
+ 7600-7699 Total Other Operating Expenses BOLD
36
+ BREAK
37
+ 5000-7999 PROFIT (LOSS) BEFORE TAXES REQUIRED BOLD
38
+ 8000-8999 Taxes HIDE_TOTAL BOLD
39
+ 8000-8999 _Taxes DETAILS
40
+ 8000-8999 Total Taxes BOLD
41
+ BREAK
42
+ 5000-8999 PROFIT (LOSS) FOR THE FINANCIAL YEAR REQUIRED BOLD
@@ -0,0 +1,13 @@
1
+ # accounts title flags
2
+ 5000-5999 NET REVENUE REQUIRED BOLD
3
+ 6000-6999 Other Operating Income
4
+ 7000-7099 Purchases and Subcontracting
5
+ 7100-7199 Personnel Expenses
6
+ 7200-7299 Administrative Expenses
7
+ 7300-7399 Marketing and Sales Expenses
8
+ 7400-7499 Travel Expenses
9
+ 7500-7599 Depreciation and Impairment Losses
10
+ 7600-7699 Other Operating Expenses
11
+ 5000-7999 PROFIT (LOSS) BEFORE TAXES REQUIRED BOLD
12
+ 8000-8999 Income Taxes
13
+ 5000-8999 PROFIT (LOSS) FOR THE FINANCIAL YEAR REQUIRED BOLD
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tasenor/common-plugins",
3
- "version": "1.17.14",
3
+ "version": "1.17.15",
4
4
  "description": "Shared common plugins of Tasenor project",
5
5
  "repository": "git@github.com:dataplugoy/tasenor-bookkeeper.git",
6
6
  "author": "Tommi Ronkainen <tommi.ronkainen@gmail.com>",
@@ -13,9 +13,9 @@
13
13
  "dayjs": "1.10.8",
14
14
  "sprintf-js": "^1.1.2",
15
15
  "tsx": "^4.7.0",
16
- "@tasenor/common-node": "1.17.14",
17
- "@tasenor/common-ui": "1.17.14",
18
- "@tasenor/common": "1.17.14"
16
+ "@tasenor/common": "1.17.15",
17
+ "@tasenor/common-node": "1.17.15",
18
+ "@tasenor/common-ui": "1.17.15"
19
19
  },
20
20
  "devDependencies": {
21
21
  "@mui/icons-material": "^5.14.1",
@@ -31,7 +31,7 @@
31
31
  "react-i18next": "^14.0.5",
32
32
  "react-router-dom": "^6.14.1",
33
33
  "typescript": "^5.1.6",
34
- "@tasenor/config": "1.17.14",
34
+ "@tasenor/config": "1.17.15",
35
35
  "eslint-config-tasenor": "0.0.0"
36
36
  },
37
37
  "peerDependencies": {
@@ -0,0 +1,40 @@
1
+ # accounts title flags
2
+ 1000-2999 ASSETS HIDE_TOTAL REQUIRED BOLD
3
+ 1000-1299 _FIXED ASSETS
4
+ 1000-1099 __Intanglible Assets HIDE_TOTAL BOLD
5
+ 1000-1099 ___Intanglible Assets DETAILS
6
+ 1000-1099 __Total Intanglible Assets BOLD
7
+ 1100-1199 __Tanglible Assets HIDE_TOTAL BOLD
8
+ 1100-1199 ___Tanglible Assets DETAILS
9
+ 1100-1199 __Total Tanglible Assets BOLD
10
+ 1200-1299 __Accumulated Depreciation HIDE_TOTAL BOLD
11
+ 1200-1299 ___Accumulated Depreciation DETAILS
12
+ 1200-1299 __Total Accumulated Depreciation BOLD
13
+ 2000-2999 _CURRENT ASSETS HIDE_TOTAL REQUIRED BOLD
14
+ 2000-2099 __Receivables HIDE_TOTAL
15
+ 2010-2019 ___Trade Receivables HIDE_TOTAL BOLD
16
+ 2010-2019 ____Trade Receivables DETAILS
17
+ 2010-2019 ___Total Trade Receivables BOLD
18
+ 2020-2029 ___Accrued Income HIDE_TOTAL BOLD
19
+ 2020-2029 ____Accrued Income DETAILS
20
+ 2020-2029 ___Total Accrued Income BOLD
21
+ 2000-2099 __Total Receivables BOLD
22
+ 2100-2199 __Disposable Assets HIDE_TOTAL BOLD
23
+ 2100-2199 ___Disposable Assets DETAILS
24
+ 2100-2199 __Total Disposable Assets BOLD
25
+ 2000-2999 _Total Variable Assets BOLD
26
+ 1000-2999 Total Assets REQUIRED BOLD
27
+ NEW_PAGE
28
+ CAPITAL, RESERVES & LIABILITIES HIDE_TOTAL REQUIRED BOLD
29
+ 3000-3199 5000-9999 _CAPITAL & RESERVES HIDE_TOTAL REQUIRED BOLD
30
+ 3000-3099 __Capital HIDE_TOTAL BOLD
31
+ 3000-3099 __Capital DETAILS
32
+ 3100-3199 __Retained Profits (Loss)
33
+ 5000-9999 __Profit (Loss) for the financial year
34
+ 3000-3199 5000-9999 _Total Equity BOLD
35
+ 4000-4999 _CREDITORS HIDE_TOTAL REQUIRED BOLD
36
+ 4000-4999 __Trade Creditors HIDE_TOTAL BOLD
37
+ 4000-4999 ___Trade Creditors DETAILS
38
+ 4000-4999 __Total Trade Creditors BOLD
39
+ 4000-4999 _Total Creditors BOLD
40
+ 3000-3199 4000-9999 Total Liabilities REQUIRED BOLD
@@ -0,0 +1,25 @@
1
+ # accounts title flags
2
+ 1000-2999 ASSETS HIDE_TOTAL REQUIRED BOLD
3
+ 1000-1299 _FIXED ASSETS
4
+ 1000-1099 __Intanglible Assets HIDE_TOTAL
5
+ 1100-1199 __Tanglible Assets HIDE_TOTAL
6
+ 1200-1299 __Accumulated Depreciation HIDE_TOTAL
7
+ 2000-2999 _CURRENT ASSETS HIDE_TOTAL REQUIRED BOLD
8
+ 2000-2099 __Receivables HIDE_TOTAL
9
+ 2010-2019 ___Trade Receivables
10
+ 2020-2029 ___Accrued Income
11
+ 2000-2099 __Total Receivables BOLD
12
+ 2100-2199 __Disposable Assets
13
+ 2000-2999 _Total Variable Assets BOLD
14
+ 1000-2999 Total Assets REQUIRED BOLD
15
+ NEW_PAGE
16
+ CAPITAL, RESERVES & LIABILITIES HIDE_TOTAL REQUIRED BOLD
17
+ 3000-3199 5000-9999 _CAPITAL & RESERVES HIDE_TOTAL REQUIRED BOLD
18
+ 3000-3099 __Capital
19
+ 3100-3199 __Retained Profits (Loss)
20
+ 5000-9999 __Profit (Loss) for the financial year
21
+ 3000-3199 5000-9999 _Total Equity BOLD
22
+ 4000-4999 _CREDITORS HIDE_TOTAL REQUIRED BOLD
23
+ 4000-4999 __Trade Creditors
24
+ 4000-4999 _Total Liabilities BOLD
25
+ 3000-3199 4000-9999 Total Liabilities REQUIRED BOLD
@@ -12,7 +12,7 @@ class EstonianBalanceSheetReport extends ReportPlugin {
12
12
 
13
13
  this.code = 'EstonianBalanceSheetReport' as PluginCode
14
14
  this.title = 'Balance Sheet Report (Estonian)'
15
- this.version = '1.0.14' as Version
15
+ this.version = '1.0.1' as Version
16
16
  this.icon = '<svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 24 24" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000"><g><path d="M0,0h24v24H0V0z" fill="none"/></g><g><g><path d="M14,5H5v14h14v-9h-5V5z M8,17c-0.55,0-1-0.45-1-1s0.45-1,1-1s1,0.45,1,1S8.55,17,8,17z M8,13 c-0.55,0-1-0.45-1-1s0.45-1,1-1s1,0.45,1,1S8.55,13,8,13z M8,9C7.45,9,7,8.55,7,8s0.45-1,1-1s1,0.45,1,1S8.55,9,8,9z" opacity=".3"/><circle cx="8" cy="8" r="1"/><path d="M15,3H5C3.9,3,3.01,3.9,3.01,5L3,19c0,1.1,0.89,2,1.99,2H19c1.1,0,2-0.9,2-2V9L15,3z M19,19H5V5h9v5h5V19z"/><circle cx="8" cy="12" r="1"/><circle cx="8" cy="16" r="1"/></g></g></svg>'
17
17
  this.releaseDate = '2026-02-05'
18
18
  this.use = 'backend'
@@ -39,8 +39,7 @@ class EstonianBalanceSheetReport extends ReportPlugin {
39
39
  }
40
40
 
41
41
  getLanguages(): Language[] {
42
- // return ['fi', 'en']
43
- return ['fi']
42
+ return ['fi', 'en']
44
43
  }
45
44
 
46
45
  getReportOptions(): ReportOptions {
@@ -0,0 +1,42 @@
1
+ # accounts title flags
2
+ 5000-5999 NET REVENUE DETAILS
3
+ BREAK
4
+ 5000-5999 NET REVENUE REQUIRED BOLD
5
+ 6000-6999 Other Operating Income HIDE_TOTAL BOLD
6
+ 6000-6999 _Other Operating Income DETAILS
7
+ 6000-6999 Total Other Operating Income BOLD
8
+ BREAK
9
+ 7000-7099 Purchases and Subcontracting HIDE_TOTAL BOLD
10
+ 7000-7099 _Purchases and Subcontracting DETAILS
11
+ 7000-7099 Total Purchases and Subcontracting BOLD
12
+ BREAK
13
+ 7100-7199 Personnel Expenses HIDE_TOTAL BOLD
14
+ 7100-7199 _Personnel Expenses DETAILS
15
+ 7100-7199 Total Personnel Expenses BOLD
16
+ BREAK
17
+ 7200-7299 Administrative Expenses HIDE_TOTAL BOLD
18
+ 7200-7299 _Administrative Expenses DETAILS
19
+ 7200-7299 Total Administrative Expenses BOLD
20
+ BREAK
21
+ 7300-7399 Marketing and Sales Expenses HIDE_TOTAL BOLD
22
+ 7300-7399 _Marketing and Sales Expenses DETAILS
23
+ 7300-7399 Total Marketing and Sales Expenses BOLD
24
+ BREAK
25
+ 7400-7499 Travel Expenses HIDE_TOTAL BOLD
26
+ 7400-7499 _Travel Expenses DETAILS
27
+ 7400-7499 Total Travel Expenses BOLD
28
+ BREAK
29
+ 7500-7599 Depreciation and Impairment Losses HIDE_TOTAL BOLD
30
+ 7500-7599 _Depreciation and Impairment Losses DETAILS
31
+ 7500-7599 Total Depreciation and Impairment Losses BOLD
32
+ BREAK
33
+ 7600-7699 Other Operating Expenses HIDE_TOTAL BOLD
34
+ 7600-7699 _Other Operating Expenses DETAILS
35
+ 7600-7699 Total Other Operating Expenses BOLD
36
+ BREAK
37
+ 5000-7999 PROFIT (LOSS) BEFORE TAXES REQUIRED BOLD
38
+ 8000-8999 Taxes HIDE_TOTAL BOLD
39
+ 8000-8999 _Taxes DETAILS
40
+ 8000-8999 Total Taxes BOLD
41
+ BREAK
42
+ 5000-8999 PROFIT (LOSS) FOR THE FINANCIAL YEAR REQUIRED BOLD
@@ -0,0 +1,13 @@
1
+ # accounts title flags
2
+ 5000-5999 NET REVENUE REQUIRED BOLD
3
+ 6000-6999 Other Operating Income
4
+ 7000-7099 Purchases and Subcontracting
5
+ 7100-7199 Personnel Expenses
6
+ 7200-7299 Administrative Expenses
7
+ 7300-7399 Marketing and Sales Expenses
8
+ 7400-7499 Travel Expenses
9
+ 7500-7599 Depreciation and Impairment Losses
10
+ 7600-7699 Other Operating Expenses
11
+ 5000-7999 PROFIT (LOSS) BEFORE TAXES REQUIRED BOLD
12
+ 8000-8999 Income Taxes
13
+ 5000-8999 PROFIT (LOSS) FOR THE FINANCIAL YEAR REQUIRED BOLD
@@ -13,9 +13,9 @@ class EstonianIncomeStatementReport extends ReportPlugin {
13
13
 
14
14
  this.code = 'EstonianIncomeStatementReport' as PluginCode
15
15
  this.title = 'Income Statement Report (Estonian)'
16
- this.version = '1.0.18' as Version
16
+ this.version = '1.0.1' as Version
17
17
  this.icon = '<svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 24 24" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000"><g><path d="M0,0h24v24H0V0z" fill="none"/></g><g><g><path d="M14,5H5v14h14v-9h-5V5z M8,17c-0.55,0-1-0.45-1-1s0.45-1,1-1s1,0.45,1,1S8.55,17,8,17z M8,13 c-0.55,0-1-0.45-1-1s0.45-1,1-1s1,0.45,1,1S8.55,13,8,13z M8,9C7.45,9,7,8.55,7,8s0.45-1,1-1s1,0.45,1,1S8.55,9,8,9z" opacity=".3"/><circle cx="8" cy="8" r="1"/><path d="M15,3H5C3.9,3,3.01,3.9,3.01,5L3,19c0,1.1,0.89,2,1.99,2H19c1.1,0,2-0.9,2-2V9L15,3z M19,19H5V5h9v5h5V19z"/><circle cx="8" cy="12" r="1"/><circle cx="8" cy="16" r="1"/></g></g></svg>'
18
- this.releaseDate = '2023-03-14'
18
+ this.releaseDate = '2026-02-06'
19
19
  this.use = 'backend'
20
20
  this.type = 'report'
21
21
  this.description = 'Income statement report translated in Finnish and English.'
@@ -40,7 +40,7 @@ class EstonianIncomeStatementReport extends ReportPlugin {
40
40
  }
41
41
 
42
42
  getLanguages(): Language[] {
43
- return ['fi']
43
+ return ['fi', 'en']
44
44
  }
45
45
 
46
46
  getReportOptions(): ReportOptions {