Add missing export types

This commit is contained in:
Hillel Coren 2024-01-25 17:54:17 +02:00
parent e963ee2bd1
commit 2521b982cc
3 changed files with 19 additions and 3 deletions

View File

@ -704,9 +704,9 @@ final kReportMap = {
kReportQuoteItem: ExportType.quote_items,
kReportRecurringExpense: null,
kReportRecurringInvoice: ExportType.recurring_invoices,
kReportPurchaseOrder: null,
kReportPurchaseOrderItem: null,
kReportVendor: null,
kReportPurchaseOrder: ExportType.purchase_order,
kReportPurchaseOrderItem: ExportType.purchase_order_item,
kReportVendor: ExportType.vendor,
kReportTransaction: null,
};

View File

@ -202,6 +202,9 @@ class ExportType extends EnumClass {
static const ExportType products = _$products;
static const ExportType tasks = _$tasks;
static const ExportType profitloss = _$profitloss;
static const ExportType vendor = _$vendor;
static const ExportType purchase_order = _$purchase_order;
static const ExportType purchase_order_item = _$purchase_order_item;
static const ExportType ar_detailed = _$ar_detailed;
static const ExportType ar_summary = _$ar_summary;
static const ExportType client_balance = _$client_balance;

View File

@ -62,6 +62,10 @@ const ExportType _$payments = const ExportType._('payments');
const ExportType _$products = const ExportType._('products');
const ExportType _$tasks = const ExportType._('tasks');
const ExportType _$profitloss = const ExportType._('profitloss');
const ExportType _$vendor = const ExportType._('vendor');
const ExportType _$purchase_order = const ExportType._('purchase_order');
const ExportType _$purchase_order_item =
const ExportType._('purchase_order_item');
const ExportType _$ar_detailed = const ExportType._('ar_detailed');
const ExportType _$ar_summary = const ExportType._('ar_summary');
const ExportType _$client_balance = const ExportType._('client_balance');
@ -101,6 +105,12 @@ ExportType _$exportValueOf(String name) {
return _$tasks;
case 'profitloss':
return _$profitloss;
case 'vendor':
return _$vendor;
case 'purchase_order':
return _$purchase_order;
case 'purchase_order_item':
return _$purchase_order_item;
case 'ar_detailed':
return _$ar_detailed;
case 'ar_summary':
@ -135,6 +145,9 @@ final BuiltSet<ExportType> _$exportValues =
_$products,
_$tasks,
_$profitloss,
_$vendor,
_$purchase_order,
_$purchase_order_item,
_$ar_detailed,
_$ar_summary,
_$client_balance,