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,