Add recurring invoices to import

This commit is contained in:
Hillel Coren 2023-04-25 13:15:39 +03:00
parent 77d856fd04
commit b8e3b7c40a
1 changed files with 8 additions and 7 deletions

View File

@ -141,13 +141,14 @@ class ImportType extends EnumClass {
};
case ImportType.csv:
return {
EntityType.client.toString(): 'clients',
EntityType.invoice.toString(): 'invoices',
EntityType.payment.toString(): 'payments',
EntityType.product.toString(): 'products',
EntityType.vendor.toString(): 'vendors',
EntityType.expense.toString(): 'expenses',
'bank_transaction': 'transactions',
EntityType.client.apiValue: 'clients',
EntityType.invoice.apiValue: 'invoices',
EntityType.recurringInvoice.apiValue: 'recurring_invoices',
EntityType.payment.apiValue: 'payments',
EntityType.product.apiValue: 'products',
EntityType.vendor.apiValue: 'vendors',
EntityType.expense.apiValue: 'expenses',
EntityType.transaction.apiValue: 'transactions',
};
case ImportType.freshbooks:
case ImportType.invoicely: