Add more exports/reports

This commit is contained in:
Hillel Coren 2023-11-29 15:08:29 +02:00
parent 8b2ce466e4
commit c98d08f3f7
3 changed files with 43 additions and 0 deletions

View File

@ -201,6 +201,14 @@ class ExportType extends EnumClass {
static const ExportType products = _$products; static const ExportType products = _$products;
static const ExportType tasks = _$tasks; static const ExportType tasks = _$tasks;
static const ExportType profitloss = _$profitloss; static const ExportType profitloss = _$profitloss;
static const ExportType aged_receivable_detailed_report =
_$aged_receivable_detailed_report;
static const ExportType aged_receivable_summary_report =
_$aged_receivable_summary_report;
static const ExportType client_balance_report = _$client_balance_report;
static const ExportType client_sales_report = _$client_sales_report;
static const ExportType tax_summary_report = _$tax_summary_report;
static const ExportType user_sales_report = _$user_sales_report;
static BuiltSet<ExportType> get values => _$exportValues; static BuiltSet<ExportType> get values => _$exportValues;

View File

@ -62,6 +62,17 @@ const ExportType _$payments = const ExportType._('payments');
const ExportType _$products = const ExportType._('products'); const ExportType _$products = const ExportType._('products');
const ExportType _$tasks = const ExportType._('tasks'); const ExportType _$tasks = const ExportType._('tasks');
const ExportType _$profitloss = const ExportType._('profitloss'); const ExportType _$profitloss = const ExportType._('profitloss');
const ExportType _$aged_receivable_detailed_report =
const ExportType._('aged_receivable_detailed_report');
const ExportType _$aged_receivable_summary_report =
const ExportType._('aged_receivable_summary_report');
const ExportType _$client_balance_report =
const ExportType._('client_balance_report');
const ExportType _$client_sales_report =
const ExportType._('client_sales_report');
const ExportType _$tax_summary_report =
const ExportType._('tax_summary_report');
const ExportType _$user_sales_report = const ExportType._('user_sales_report');
ExportType _$exportValueOf(String name) { ExportType _$exportValueOf(String name) {
switch (name) { switch (name) {
@ -95,6 +106,18 @@ ExportType _$exportValueOf(String name) {
return _$tasks; return _$tasks;
case 'profitloss': case 'profitloss':
return _$profitloss; return _$profitloss;
case 'aged_receivable_detailed_report':
return _$aged_receivable_detailed_report;
case 'aged_receivable_summary_report':
return _$aged_receivable_summary_report;
case 'client_balance_report':
return _$client_balance_report;
case 'client_sales_report':
return _$client_sales_report;
case 'tax_summary_report':
return _$tax_summary_report;
case 'user_sales_report':
return _$user_sales_report;
default: default:
throw new ArgumentError(name); throw new ArgumentError(name);
} }
@ -117,6 +140,12 @@ final BuiltSet<ExportType> _$exportValues =
_$products, _$products,
_$tasks, _$tasks,
_$profitloss, _$profitloss,
_$aged_receivable_detailed_report,
_$aged_receivable_summary_report,
_$client_balance_report,
_$client_sales_report,
_$tax_summary_report,
_$user_sales_report,
]); ]);
Serializer<PreImportResponse> _$preImportResponseSerializer = Serializer<PreImportResponse> _$preImportResponseSerializer =

View File

@ -18,6 +18,12 @@ mixin LocalizationsProvider on LocaleCodeAware {
static final Map<String, Map<String, String>> _localizedValues = { static final Map<String, Map<String, String>> _localizedValues = {
'en': { 'en': {
// STARTER: lang key - do not remove comment // STARTER: lang key - do not remove comment
'aged_receivable_detailed_report': 'Aged Receivable Detailed Report',
'aged_receivable_summary_report': 'Aged Receivable Summary Report',
'client_balance_report': 'Client Balance Report',
'client_sales_report': 'Client Sales Report',
'tax_summary_report': 'Tax Summary Report',
'user_sales_report': 'User Sales Report',
'run_template': 'Run Template', 'run_template': 'Run Template',
'task_extension_banner': 'Add the Chrome extension to manage your tasks', 'task_extension_banner': 'Add the Chrome extension to manage your tasks',
'watch_video': 'Watch Video', 'watch_video': 'Watch Video',