mirror of
https://github.com/frappe/books.git
synced 2024-09-20 11:29:00 +00:00
9877bf4fd3
- allow nulls in converter else not not null'll fail
18 lines
536 B
TypeScript
18 lines
536 B
TypeScript
import { SetupWizardOptions } from 'src/setup/types';
|
|
import { getFiscalYear } from 'utils/misc';
|
|
|
|
export function getTestSetupWizardOptions(): SetupWizardOptions {
|
|
return {
|
|
companyLogo: '',
|
|
companyName: 'Test Company',
|
|
country: 'India',
|
|
fullname: 'Test Person',
|
|
email: 'test@testmyfantasy.com',
|
|
bankName: 'Test Bank of Scriptia',
|
|
currency: 'INR',
|
|
fiscalYearStart: getFiscalYear('04-01', true),
|
|
fiscalYearEnd: getFiscalYear('04-01', false),
|
|
chartOfAccounts: 'India - Chart of Accounts',
|
|
};
|
|
}
|