mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-19 06:10:31 +00:00
feat: add sample sheet to accounts and bank transactions
This commit is contained in:
@@ -3,6 +3,7 @@ import { Knex } from 'knex';
|
||||
import { IAccountCreateDTO } from '@/interfaces';
|
||||
import { CreateAccount } from './CreateAccount';
|
||||
import { Importable } from '../Import/Importable';
|
||||
import { AccountsSampleData } from './AccountsImportable.SampleData';
|
||||
|
||||
@Service()
|
||||
export class AccountsImportable extends Importable {
|
||||
@@ -35,11 +36,10 @@ export class AccountsImportable extends Importable {
|
||||
return 1;
|
||||
}
|
||||
|
||||
public public sampleData(): any[] {
|
||||
return [
|
||||
{
|
||||
|
||||
}
|
||||
]
|
||||
/**
|
||||
* Retrieves the sample data that used to download accounts sample sheet.
|
||||
*/
|
||||
public sampleData(): any[] {
|
||||
return AccountsSampleData;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user