Support scheduling reports
This commit is contained in:
parent
74aada7484
commit
fe54fc132f
|
|
@ -80,10 +80,12 @@ abstract class ScheduleEntity extends Object
|
||||||
|
|
||||||
static const TEMPLATE_EMAIL_STATEMENT = 'email_statement';
|
static const TEMPLATE_EMAIL_STATEMENT = 'email_statement';
|
||||||
static const TEMPLATE_EMAIL_RECORD = 'email_record';
|
static const TEMPLATE_EMAIL_RECORD = 'email_record';
|
||||||
|
static const TEMPLATE_EMAIL_REPORT = 'email_report';
|
||||||
|
|
||||||
static const TEMPLATES = [
|
static const TEMPLATES = [
|
||||||
TEMPLATE_EMAIL_STATEMENT,
|
TEMPLATE_EMAIL_STATEMENT,
|
||||||
TEMPLATE_EMAIL_RECORD,
|
TEMPLATE_EMAIL_RECORD,
|
||||||
|
TEMPLATE_EMAIL_REPORT,
|
||||||
];
|
];
|
||||||
|
|
||||||
@override
|
@override
|
||||||
|
|
|
||||||
|
|
@ -18,6 +18,7 @@ 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
|
||||||
|
'email_report': 'Email Report',
|
||||||
'host': 'Host',
|
'host': 'Host',
|
||||||
'port': 'Port',
|
'port': 'Port',
|
||||||
'encryption': 'Encryption',
|
'encryption': 'Encryption',
|
||||||
|
|
@ -114262,6 +114263,10 @@ mixin LocalizationsProvider on LocaleCodeAware {
|
||||||
_localizedValues[localeCode]!['username'] ??
|
_localizedValues[localeCode]!['username'] ??
|
||||||
_localizedValues['en']!['username']!;
|
_localizedValues['en']!['username']!;
|
||||||
|
|
||||||
|
String get emailReport =>
|
||||||
|
_localizedValues[localeCode]!['email_report'] ??
|
||||||
|
_localizedValues['en']!['email_report']!;
|
||||||
|
|
||||||
// STARTER: lang field - do not remove comment
|
// STARTER: lang field - do not remove comment
|
||||||
|
|
||||||
String lookup(String? key) {
|
String lookup(String? key) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue