mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-21 15:20:34 +00:00
fix(webapp): accrual typo
This commit is contained in:
@@ -30,7 +30,7 @@ export const getDefaultGeneralLedgerQuery = () => {
|
|||||||
return {
|
return {
|
||||||
fromDate: moment().startOf('year').format('YYYY-MM-DD'),
|
fromDate: moment().startOf('year').format('YYYY-MM-DD'),
|
||||||
toDate: moment().endOf('year').format('YYYY-MM-DD'),
|
toDate: moment().endOf('year').format('YYYY-MM-DD'),
|
||||||
basis: 'accural',
|
basis: 'accrual',
|
||||||
filterByOption: 'with-transactions',
|
filterByOption: 'with-transactions',
|
||||||
branchesIds: [],
|
branchesIds: [],
|
||||||
accountsIds: [],
|
accountsIds: [],
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ export const getDefaultJournalQuery = () => {
|
|||||||
return {
|
return {
|
||||||
fromDate: moment().startOf('year').format('YYYY-MM-DD'),
|
fromDate: moment().startOf('year').format('YYYY-MM-DD'),
|
||||||
toDate: moment().endOf('year').format('YYYY-MM-DD'),
|
toDate: moment().endOf('year').format('YYYY-MM-DD'),
|
||||||
basis: 'accural',
|
basis: 'accrual',
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ export default function RadiosAccountingBasis(props) {
|
|||||||
{...rest}
|
{...rest}
|
||||||
>
|
>
|
||||||
<Radio label={intl.get('cash')} value="cash" />
|
<Radio label={intl.get('cash')} value="cash" />
|
||||||
<Radio label={intl.get('accrual')} value="accural" />
|
<Radio label={intl.get('accrual')} value="accrual" />
|
||||||
</RadioGroup>
|
</RadioGroup>
|
||||||
)}
|
)}
|
||||||
</FastField>
|
</FastField>
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ export function getDefaultTrialBalanceQuery() {
|
|||||||
return {
|
return {
|
||||||
fromDate: moment().startOf('year').format('YYYY-MM-DD'),
|
fromDate: moment().startOf('year').format('YYYY-MM-DD'),
|
||||||
toDate: moment().endOf('year').format('YYYY-MM-DD'),
|
toDate: moment().endOf('year').format('YYYY-MM-DD'),
|
||||||
basis: 'accural',
|
basis: 'accrual',
|
||||||
filterByOption: 'with-transactions',
|
filterByOption: 'with-transactions',
|
||||||
branchesIds: [],
|
branchesIds: [],
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ import '@/style/pages/Preferences/Accounting.scss';
|
|||||||
|
|
||||||
const defaultFormValues = flatten({
|
const defaultFormValues = flatten({
|
||||||
organization: {
|
organization: {
|
||||||
accountingBasis: '',
|
accountingBasis: 'accrual',
|
||||||
},
|
},
|
||||||
accounts: {
|
accounts: {
|
||||||
accountCodeRequired: false,
|
accountCodeRequired: false,
|
||||||
|
|||||||
Reference in New Issue
Block a user