From 40bddfdfeb33c10224886cfce8979730f7b63940 Mon Sep 17 00:00:00 2001 From: "a.bouhuolia" Date: Thu, 11 May 2023 21:07:49 +0200 Subject: [PATCH] fix(webapp): accrual typo --- .../src/containers/FinancialStatements/GeneralLedger/common.tsx | 2 +- .../webapp/src/containers/FinancialStatements/Journal/utils.tsx | 2 +- .../containers/FinancialStatements/RadiosAccountingBasis.tsx | 2 +- .../containers/FinancialStatements/TrialBalanceSheet/utils.tsx | 2 +- .../containers/Preferences/Accountant/AccountantFormPage.tsx | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/webapp/src/containers/FinancialStatements/GeneralLedger/common.tsx b/packages/webapp/src/containers/FinancialStatements/GeneralLedger/common.tsx index fa45caa9a..491e7bffd 100644 --- a/packages/webapp/src/containers/FinancialStatements/GeneralLedger/common.tsx +++ b/packages/webapp/src/containers/FinancialStatements/GeneralLedger/common.tsx @@ -30,7 +30,7 @@ export const getDefaultGeneralLedgerQuery = () => { return { fromDate: moment().startOf('year').format('YYYY-MM-DD'), toDate: moment().endOf('year').format('YYYY-MM-DD'), - basis: 'accural', + basis: 'accrual', filterByOption: 'with-transactions', branchesIds: [], accountsIds: [], diff --git a/packages/webapp/src/containers/FinancialStatements/Journal/utils.tsx b/packages/webapp/src/containers/FinancialStatements/Journal/utils.tsx index bcc9c432c..bafa46384 100644 --- a/packages/webapp/src/containers/FinancialStatements/Journal/utils.tsx +++ b/packages/webapp/src/containers/FinancialStatements/Journal/utils.tsx @@ -13,7 +13,7 @@ export const getDefaultJournalQuery = () => { return { fromDate: moment().startOf('year').format('YYYY-MM-DD'), toDate: moment().endOf('year').format('YYYY-MM-DD'), - basis: 'accural', + basis: 'accrual', }; }; diff --git a/packages/webapp/src/containers/FinancialStatements/RadiosAccountingBasis.tsx b/packages/webapp/src/containers/FinancialStatements/RadiosAccountingBasis.tsx index 41ba632a3..8d221c43f 100644 --- a/packages/webapp/src/containers/FinancialStatements/RadiosAccountingBasis.tsx +++ b/packages/webapp/src/containers/FinancialStatements/RadiosAccountingBasis.tsx @@ -27,7 +27,7 @@ export default function RadiosAccountingBasis(props) { {...rest} > - + )} diff --git a/packages/webapp/src/containers/FinancialStatements/TrialBalanceSheet/utils.tsx b/packages/webapp/src/containers/FinancialStatements/TrialBalanceSheet/utils.tsx index e31deb3f4..6bbec6db7 100644 --- a/packages/webapp/src/containers/FinancialStatements/TrialBalanceSheet/utils.tsx +++ b/packages/webapp/src/containers/FinancialStatements/TrialBalanceSheet/utils.tsx @@ -13,7 +13,7 @@ export function getDefaultTrialBalanceQuery() { return { fromDate: moment().startOf('year').format('YYYY-MM-DD'), toDate: moment().endOf('year').format('YYYY-MM-DD'), - basis: 'accural', + basis: 'accrual', filterByOption: 'with-transactions', branchesIds: [], }; diff --git a/packages/webapp/src/containers/Preferences/Accountant/AccountantFormPage.tsx b/packages/webapp/src/containers/Preferences/Accountant/AccountantFormPage.tsx index b8b0dac48..7b83add3c 100644 --- a/packages/webapp/src/containers/Preferences/Accountant/AccountantFormPage.tsx +++ b/packages/webapp/src/containers/Preferences/Accountant/AccountantFormPage.tsx @@ -20,7 +20,7 @@ import '@/style/pages/Preferences/Accounting.scss'; const defaultFormValues = flatten({ organization: { - accountingBasis: '', + accountingBasis: 'accrual', }, accounts: { accountCodeRequired: false,