fix(server): correct "Liabilties" typo to "Liabilities" in balance sheet
The balance sheet rendered "Current Liabilties" in the Liabilities section because of a typo in the i18n key, the schema reference, the swagger example responses, and the generated SDK fixtures. Fixed all five locations so PDF/HTML/JSON renders all read "Current Liabilities". - packages/server/src/i18n/en/balance_sheet.json: rename key and value - packages/server/src/modules/FinancialStatements/modules/BalanceSheet/ BalanceSheetSchema.ts: update i18n key reference - packages/server/src/modules/FinancialStatements/modules/BalanceSheet/ BalanceSheet.swagger.ts: fix three example response strings - shared/sdk-ts/openapi.json + schema.ts: regenerate to match
This commit is contained in:
@@ -9,7 +9,7 @@
|
|||||||
"non_current_assets": "Non-Current Assets",
|
"non_current_assets": "Non-Current Assets",
|
||||||
"liabilities_and_equity": "Liabilities and Equity",
|
"liabilities_and_equity": "Liabilities and Equity",
|
||||||
"liabilities": "Liabilities",
|
"liabilities": "Liabilities",
|
||||||
"current_liabilties": "Current Liabilties",
|
"current_liabilities": "Current Liabilities",
|
||||||
"long_term_liabilities": "Long-Term Liabilities",
|
"long_term_liabilities": "Long-Term Liabilities",
|
||||||
"non_current_liabilities": "Non-Current Liabilities",
|
"non_current_liabilities": "Non-Current Liabilities",
|
||||||
"equity": "Equity",
|
"equity": "Equity",
|
||||||
|
|||||||
+3
-3
@@ -281,7 +281,7 @@ export const BalanceSheetResponseExample = {
|
|||||||
},
|
},
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
name: 'Current Liabilties',
|
name: 'Current Liabilities',
|
||||||
id: 'CURRENT_LIABILITY',
|
id: 'CURRENT_LIABILITY',
|
||||||
node_type: 'AGGREGATE',
|
node_type: 'AGGREGATE',
|
||||||
type: 'AGGREGATE',
|
type: 'AGGREGATE',
|
||||||
@@ -912,7 +912,7 @@ export const BalanceSheetTableResponseExample = {
|
|||||||
cells: [
|
cells: [
|
||||||
{
|
{
|
||||||
key: 'name',
|
key: 'name',
|
||||||
value: 'Current Liabilties',
|
value: 'Current Liabilities',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'total',
|
key: 'total',
|
||||||
@@ -1024,7 +1024,7 @@ export const BalanceSheetTableResponseExample = {
|
|||||||
cells: [
|
cells: [
|
||||||
{
|
{
|
||||||
key: 'name',
|
key: 'name',
|
||||||
value: 'Total Current Liabilties',
|
value: 'Total Current Liabilities',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'total',
|
key: 'total',
|
||||||
|
|||||||
+1
-1
@@ -88,7 +88,7 @@ export const getBalanceSheetSchema = () => [
|
|||||||
type: BALANCE_SHEET_SCHEMA_NODE_TYPE.AGGREGATE,
|
type: BALANCE_SHEET_SCHEMA_NODE_TYPE.AGGREGATE,
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
name: 'balance_sheet.current_liabilties',
|
name: 'balance_sheet.current_liabilities',
|
||||||
id: BALANCE_SHEET_SCHEMA_NODE_ID.CURRENT_LIABILITY,
|
id: BALANCE_SHEET_SCHEMA_NODE_ID.CURRENT_LIABILITY,
|
||||||
type: BALANCE_SHEET_SCHEMA_NODE_TYPE.ACCOUNTS,
|
type: BALANCE_SHEET_SCHEMA_NODE_TYPE.ACCOUNTS,
|
||||||
accountsTypes: [
|
accountsTypes: [
|
||||||
|
|||||||
@@ -15262,7 +15262,7 @@
|
|||||||
},
|
},
|
||||||
"children": [
|
"children": [
|
||||||
{
|
{
|
||||||
"name": "Current Liabilties",
|
"name": "Current Liabilities",
|
||||||
"id": "CURRENT_LIABILITY",
|
"id": "CURRENT_LIABILITY",
|
||||||
"node_type": "AGGREGATE",
|
"node_type": "AGGREGATE",
|
||||||
"type": "AGGREGATE",
|
"type": "AGGREGATE",
|
||||||
@@ -15951,7 +15951,7 @@
|
|||||||
"cells": [
|
"cells": [
|
||||||
{
|
{
|
||||||
"key": "name",
|
"key": "name",
|
||||||
"value": "Current Liabilties"
|
"value": "Current Liabilities"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "total",
|
"key": "total",
|
||||||
@@ -16079,7 +16079,7 @@
|
|||||||
"cells": [
|
"cells": [
|
||||||
{
|
{
|
||||||
"key": "name",
|
"key": "name",
|
||||||
"value": "Total Current Liabilties"
|
"value": "Total Current Liabilities"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "total",
|
"key": "total",
|
||||||
|
|||||||
@@ -22923,7 +22923,7 @@ export interface operations {
|
|||||||
* },
|
* },
|
||||||
* "children": [
|
* "children": [
|
||||||
* {
|
* {
|
||||||
* "name": "Current Liabilties",
|
* "name": "Current Liabilities",
|
||||||
* "id": "CURRENT_LIABILITY",
|
* "id": "CURRENT_LIABILITY",
|
||||||
* "node_type": "AGGREGATE",
|
* "node_type": "AGGREGATE",
|
||||||
* "type": "AGGREGATE",
|
* "type": "AGGREGATE",
|
||||||
@@ -23610,7 +23610,7 @@ export interface operations {
|
|||||||
* "cells": [
|
* "cells": [
|
||||||
* {
|
* {
|
||||||
* "key": "name",
|
* "key": "name",
|
||||||
* "value": "Current Liabilties"
|
* "value": "Current Liabilities"
|
||||||
* },
|
* },
|
||||||
* {
|
* {
|
||||||
* "key": "total",
|
* "key": "total",
|
||||||
@@ -23738,7 +23738,7 @@ export interface operations {
|
|||||||
* "cells": [
|
* "cells": [
|
||||||
* {
|
* {
|
||||||
* "key": "name",
|
* "key": "name",
|
||||||
* "value": "Total Current Liabilties"
|
* "value": "Total Current Liabilities"
|
||||||
* },
|
* },
|
||||||
* {
|
* {
|
||||||
* "key": "total",
|
* "key": "total",
|
||||||
|
|||||||
Reference in New Issue
Block a user