mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-22 15:50:32 +00:00
feat: add sample import sheet to invoices
This commit is contained in:
@@ -3,6 +3,7 @@ import { Knex } from 'knex';
|
||||
import { ISaleInvoiceCreateDTO } from '@/interfaces';
|
||||
import { CreateSaleInvoice } from './CreateSaleInvoice';
|
||||
import { Importable } from '@/services/Import/Importable';
|
||||
import { SaleInvoicesSampleData } from './constants';
|
||||
|
||||
@Service()
|
||||
export class SaleInvoicesImportable extends Importable {
|
||||
@@ -40,6 +41,6 @@ export class SaleInvoicesImportable extends Importable {
|
||||
* Retrieves the sample data that used to download accounts sample sheet.
|
||||
*/
|
||||
public sampleData(): any[] {
|
||||
return [];
|
||||
return SaleInvoicesSampleData;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user