Partial payment email

This commit is contained in:
Hillel Coren 2020-03-05 09:33:42 +02:00
parent 1874eafde2
commit ddd06331c7
7 changed files with 86 additions and 4 deletions

View File

@ -904,6 +904,9 @@ abstract class SettingsEntity
emailSubjectPayment: clientSettings?.emailSubjectPayment ??
groupSettings?.emailSubjectPayment ??
companySettings?.emailSubjectPayment,
emailSubjectPaymentPartial: clientSettings?.emailSubjectPaymentPartial ??
groupSettings?.emailSubjectPaymentPartial ??
companySettings?.emailSubjectPaymentPartial,
emailBodyInvoice: clientSettings?.emailBodyInvoice ??
groupSettings?.emailBodyInvoice ??
companySettings?.emailBodyInvoice,
@ -913,6 +916,9 @@ abstract class SettingsEntity
emailBodyPayment: clientSettings?.emailBodyPayment ??
groupSettings?.emailBodyPayment ??
companySettings?.emailBodyPayment,
emailBodyPaymentPartial: clientSettings?.emailBodyPaymentPartial ??
groupSettings?.emailBodyPaymentPartial ??
companySettings?.emailBodyPaymentPartial,
emailSubjectReminder1: clientSettings?.emailSubjectReminder1 ??
groupSettings?.emailSubjectReminder1 ??
companySettings?.emailSubjectReminder1,
@ -1427,6 +1433,10 @@ abstract class SettingsEntity
@BuiltValueField(wireName: 'email_subject_payment')
String get emailSubjectPayment;
@nullable
@BuiltValueField(wireName: 'email_subject_payment_partial')
String get emailSubjectPaymentPartial;
@nullable
@BuiltValueField(wireName: 'email_template_invoice')
String get emailBodyInvoice;
@ -1439,6 +1449,10 @@ abstract class SettingsEntity
@BuiltValueField(wireName: 'email_template_payment')
String get emailBodyPayment;
@nullable
@BuiltValueField(wireName: 'email_template_payment_partial')
String get emailBodyPaymentPartial;
@nullable
@BuiltValueField(wireName: 'email_subject_reminder1')
String get emailSubjectReminder1;
@ -1755,6 +1769,8 @@ abstract class SettingsEntity
return emailSubjectQuote;
case EmailTemplate.paymentEmail:
return emailSubjectPayment;
case EmailTemplate.partialPaymentEmail:
return emailSubjectPaymentPartial;
case EmailTemplate.firstReminder:
return emailSubjectReminder1;
case EmailTemplate.secondReminder:
@ -1780,6 +1796,8 @@ abstract class SettingsEntity
return emailBodyQuote;
case EmailTemplate.paymentEmail:
return emailBodyPayment;
case EmailTemplate.partialPaymentEmail:
return emailBodyPaymentPartial;
case EmailTemplate.firstReminder:
return emailBodyReminder1;
case EmailTemplate.secondReminder:

View File

@ -1504,6 +1504,12 @@ class _$SettingsEntitySerializer
..add(serializers.serialize(object.emailSubjectPayment,
specifiedType: const FullType(String)));
}
if (object.emailSubjectPaymentPartial != null) {
result
..add('email_subject_payment_partial')
..add(serializers.serialize(object.emailSubjectPaymentPartial,
specifiedType: const FullType(String)));
}
if (object.emailBodyInvoice != null) {
result
..add('email_template_invoice')
@ -1522,6 +1528,12 @@ class _$SettingsEntitySerializer
..add(serializers.serialize(object.emailBodyPayment,
specifiedType: const FullType(String)));
}
if (object.emailBodyPaymentPartial != null) {
result
..add('email_template_payment_partial')
..add(serializers.serialize(object.emailBodyPaymentPartial,
specifiedType: const FullType(String)));
}
if (object.emailSubjectReminder1 != null) {
result
..add('email_subject_reminder1')
@ -2300,6 +2312,10 @@ class _$SettingsEntitySerializer
result.emailSubjectPayment = serializers.deserialize(value,
specifiedType: const FullType(String)) as String;
break;
case 'email_subject_payment_partial':
result.emailSubjectPaymentPartial = serializers.deserialize(value,
specifiedType: const FullType(String)) as String;
break;
case 'email_template_invoice':
result.emailBodyInvoice = serializers.deserialize(value,
specifiedType: const FullType(String)) as String;
@ -2312,6 +2328,10 @@ class _$SettingsEntitySerializer
result.emailBodyPayment = serializers.deserialize(value,
specifiedType: const FullType(String)) as String;
break;
case 'email_template_payment_partial':
result.emailBodyPaymentPartial = serializers.deserialize(value,
specifiedType: const FullType(String)) as String;
break;
case 'email_subject_reminder1':
result.emailSubjectReminder1 = serializers.deserialize(value,
specifiedType: const FullType(String)) as String;
@ -4587,12 +4607,16 @@ class _$SettingsEntity extends SettingsEntity {
@override
final String emailSubjectPayment;
@override
final String emailSubjectPaymentPartial;
@override
final String emailBodyInvoice;
@override
final String emailBodyQuote;
@override
final String emailBodyPayment;
@override
final String emailBodyPaymentPartial;
@override
final String emailSubjectReminder1;
@override
final String emailSubjectReminder2;
@ -4822,9 +4846,11 @@ class _$SettingsEntity extends SettingsEntity {
this.emailSubjectInvoice,
this.emailSubjectQuote,
this.emailSubjectPayment,
this.emailSubjectPaymentPartial,
this.emailBodyInvoice,
this.emailBodyQuote,
this.emailBodyPayment,
this.emailBodyPaymentPartial,
this.emailSubjectReminder1,
this.emailSubjectReminder2,
this.emailSubjectReminder3,
@ -4993,9 +5019,11 @@ class _$SettingsEntity extends SettingsEntity {
emailSubjectInvoice == other.emailSubjectInvoice &&
emailSubjectQuote == other.emailSubjectQuote &&
emailSubjectPayment == other.emailSubjectPayment &&
emailSubjectPaymentPartial == other.emailSubjectPaymentPartial &&
emailBodyInvoice == other.emailBodyInvoice &&
emailBodyQuote == other.emailBodyQuote &&
emailBodyPayment == other.emailBodyPayment &&
emailBodyPaymentPartial == other.emailBodyPaymentPartial &&
emailSubjectReminder1 == other.emailSubjectReminder1 &&
emailSubjectReminder2 == other.emailSubjectReminder2 &&
emailSubjectReminder3 == other.emailSubjectReminder3 &&
@ -5091,7 +5119,7 @@ class _$SettingsEntity extends SettingsEntity {
$jc(
$jc(
$jc(
$jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc(0, timezoneId.hashCode), dateFormatId.hashCode), enableMilitaryTime.hashCode), languageId.hashCode), showCurrencyCode.hashCode), currencyId.hashCode), customValue1.hashCode), customValue2.hashCode), customValue3.hashCode), customValue4.hashCode), defaultPaymentTerms.hashCode), companyGatewayIds.hashCode), defaultTaskRate.hashCode), sendReminders.hashCode), enablePortal.hashCode), enablePortalDashboard.hashCode), enablePortalTasks.hashCode), emailStyle.hashCode), replyToEmail.hashCode), bccEmail.hashCode), pdfEmailAttachment.hashCode), ublEmailAttachment.hashCode), documentEmailAttachment.hashCode), emailStyleCustom.hashCode), customMessageDashboard.hashCode), customMessageUnpaidInvoice.hashCode), customMessagePaidInvoice.hashCode), customMessageUnapprovedQuote.hashCode), lockSentInvoices.hashCode), autoArchiveInvoice.hashCode), autoArchiveQuote.hashCode), autoEmailInvoice.hashCode), autoConvertQuote.hashCode), enableInclusiveTaxes.hashCode), translations.hashCode), taskNumberPattern.hashCode), taskNumberCounter.hashCode), expenseNumberPattern.hashCode), expenseNumberCounter.hashCode), vendorNumberPattern.hashCode), vendorNumberCounter.hashCode), ticketNumberPattern.hashCode), ticketNumberCounter.hashCode), paymentNumberPattern.hashCode), paymentNumberCounter.hashCode), invoiceNumberPattern.hashCode), invoiceNumberCounter.hashCode), quoteNumberPattern.hashCode), quoteNumberCounter.hashCode), clientNumberPattern.hashCode), clientNumberCounter.hashCode), creditNumberPattern.hashCode), creditNumberCounter.hashCode), recurringNumberPrefix.hashCode), resetCounterFrequencyId.hashCode), resetCounterDate.hashCode), counterPadding.hashCode), sharedInvoiceQuoteCounter.hashCode), defaultInvoiceTerms.hashCode), defaultQuoteTerms.hashCode), defaultQuoteFooter.hashCode), defaultCreditTerms.hashCode), defaultCreditFooter.hashCode), numberOfInvoiceTaxRates.hashCode), numberOfItemTaxRates.hashCode), defaultInvoiceDesignId.hashCode), defaultQuoteDesignId.hashCode), defaultCreditDesignId.hashCode), defaultInvoiceFooter.hashCode), invoiceLabels.hashCode), defaultTaxName1.hashCode), defaultTaxRate1.hashCode), defaultTaxName2.hashCode), defaultTaxRate2.hashCode), defaultTaxName3.hashCode), defaultTaxRate3.hashCode), defaultPaymentTypeId.hashCode), invoiceFields.hashCode), pdfVariables.hashCode), emailFooter.hashCode), emailSubjectInvoice.hashCode), emailSubjectQuote.hashCode), emailSubjectPayment.hashCode), emailBodyInvoice.hashCode), emailBodyQuote.hashCode), emailBodyPayment.hashCode), emailSubjectReminder1.hashCode), emailSubjectReminder2.hashCode), emailSubjectReminder3.hashCode), emailBodyReminder1.hashCode), emailBodyReminder2.hashCode), emailBodyReminder3.hashCode), emailSubjectCustom1.hashCode), emailBodyCustom1.hashCode), emailSubjectCustom2.hashCode), emailBodyCustom2.hashCode), emailSubjectCustom3.hashCode), emailBodyCustom3.hashCode), enablePortalPassword.hashCode), sendPortalPassword.hashCode), signatureOnPdf.hashCode), enableEmailMarkup.hashCode), showAcceptInvoiceTerms.hashCode), showAcceptQuoteTerms.hashCode), requireInvoiceSignature.hashCode), requireQuoteSignature.hashCode), name.hashCode), companyLogo.hashCode), website.hashCode), address1.hashCode), address2.hashCode), city.hashCode), state.hashCode), postalCode.hashCode), phone.hashCode), email.hashCode), countryId.hashCode), vatNumber.hashCode), idNumber.hashCode), pageSize.hashCode), fontSize.hashCode), primaryColor.hashCode), secondaryColor.hashCode), primaryFont.hashCode), secondaryFont.hashCode), hidePaidToDate.hashCode), embedDocuments.hashCode), allPagesHeader.hashCode), allPagesFooter.hashCode), enableReminder1.hashCode), enableReminder2.hashCode), enableReminder3.hashCode), enableReminder4.hashCode), numDaysReminder1.hashCode), numDaysReminder2.hashCode), numDaysReminder3.hashCode), scheduleReminder1.hashCode), scheduleReminder2.hashCode),
$jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc(0, timezoneId.hashCode), dateFormatId.hashCode), enableMilitaryTime.hashCode), languageId.hashCode), showCurrencyCode.hashCode), currencyId.hashCode), customValue1.hashCode), customValue2.hashCode), customValue3.hashCode), customValue4.hashCode), defaultPaymentTerms.hashCode), companyGatewayIds.hashCode), defaultTaskRate.hashCode), sendReminders.hashCode), enablePortal.hashCode), enablePortalDashboard.hashCode), enablePortalTasks.hashCode), emailStyle.hashCode), replyToEmail.hashCode), bccEmail.hashCode), pdfEmailAttachment.hashCode), ublEmailAttachment.hashCode), documentEmailAttachment.hashCode), emailStyleCustom.hashCode), customMessageDashboard.hashCode), customMessageUnpaidInvoice.hashCode), customMessagePaidInvoice.hashCode), customMessageUnapprovedQuote.hashCode), lockSentInvoices.hashCode), autoArchiveInvoice.hashCode), autoArchiveQuote.hashCode), autoEmailInvoice.hashCode), autoConvertQuote.hashCode), enableInclusiveTaxes.hashCode), translations.hashCode), taskNumberPattern.hashCode), taskNumberCounter.hashCode), expenseNumberPattern.hashCode), expenseNumberCounter.hashCode), vendorNumberPattern.hashCode), vendorNumberCounter.hashCode), ticketNumberPattern.hashCode), ticketNumberCounter.hashCode), paymentNumberPattern.hashCode), paymentNumberCounter.hashCode), invoiceNumberPattern.hashCode), invoiceNumberCounter.hashCode), quoteNumberPattern.hashCode), quoteNumberCounter.hashCode), clientNumberPattern.hashCode), clientNumberCounter.hashCode), creditNumberPattern.hashCode), creditNumberCounter.hashCode), recurringNumberPrefix.hashCode), resetCounterFrequencyId.hashCode), resetCounterDate.hashCode), counterPadding.hashCode), sharedInvoiceQuoteCounter.hashCode), defaultInvoiceTerms.hashCode), defaultQuoteTerms.hashCode), defaultQuoteFooter.hashCode), defaultCreditTerms.hashCode), defaultCreditFooter.hashCode), numberOfInvoiceTaxRates.hashCode), numberOfItemTaxRates.hashCode), defaultInvoiceDesignId.hashCode), defaultQuoteDesignId.hashCode), defaultCreditDesignId.hashCode), defaultInvoiceFooter.hashCode), invoiceLabels.hashCode), defaultTaxName1.hashCode), defaultTaxRate1.hashCode), defaultTaxName2.hashCode), defaultTaxRate2.hashCode), defaultTaxName3.hashCode), defaultTaxRate3.hashCode), defaultPaymentTypeId.hashCode), invoiceFields.hashCode), pdfVariables.hashCode), emailFooter.hashCode), emailSubjectInvoice.hashCode), emailSubjectQuote.hashCode), emailSubjectPayment.hashCode), emailSubjectPaymentPartial.hashCode), emailBodyInvoice.hashCode), emailBodyQuote.hashCode), emailBodyPayment.hashCode), emailBodyPaymentPartial.hashCode), emailSubjectReminder1.hashCode), emailSubjectReminder2.hashCode), emailSubjectReminder3.hashCode), emailBodyReminder1.hashCode), emailBodyReminder2.hashCode), emailBodyReminder3.hashCode), emailSubjectCustom1.hashCode), emailBodyCustom1.hashCode), emailSubjectCustom2.hashCode), emailBodyCustom2.hashCode), emailSubjectCustom3.hashCode), emailBodyCustom3.hashCode), enablePortalPassword.hashCode), sendPortalPassword.hashCode), signatureOnPdf.hashCode), enableEmailMarkup.hashCode), showAcceptInvoiceTerms.hashCode), showAcceptQuoteTerms.hashCode), requireInvoiceSignature.hashCode), requireQuoteSignature.hashCode), name.hashCode), companyLogo.hashCode), website.hashCode), address1.hashCode), address2.hashCode), city.hashCode), state.hashCode), postalCode.hashCode), phone.hashCode), email.hashCode), countryId.hashCode), vatNumber.hashCode), idNumber.hashCode), pageSize.hashCode), fontSize.hashCode), primaryColor.hashCode), secondaryColor.hashCode), primaryFont.hashCode), secondaryFont.hashCode), hidePaidToDate.hashCode), embedDocuments.hashCode), allPagesHeader.hashCode), allPagesFooter.hashCode), enableReminder1.hashCode), enableReminder2.hashCode), enableReminder3.hashCode), enableReminder4.hashCode), numDaysReminder1.hashCode), numDaysReminder2.hashCode), numDaysReminder3.hashCode), scheduleReminder1.hashCode), scheduleReminder2.hashCode),
scheduleReminder3.hashCode),
endlessReminderFrequencyId.hashCode),
lateFeeAmount1.hashCode),
@ -5199,9 +5227,11 @@ class _$SettingsEntity extends SettingsEntity {
..add('emailSubjectInvoice', emailSubjectInvoice)
..add('emailSubjectQuote', emailSubjectQuote)
..add('emailSubjectPayment', emailSubjectPayment)
..add('emailSubjectPaymentPartial', emailSubjectPaymentPartial)
..add('emailBodyInvoice', emailBodyInvoice)
..add('emailBodyQuote', emailBodyQuote)
..add('emailBodyPayment', emailBodyPayment)
..add('emailBodyPaymentPartial', emailBodyPaymentPartial)
..add('emailSubjectReminder1', emailSubjectReminder1)
..add('emailSubjectReminder2', emailSubjectReminder2)
..add('emailSubjectReminder3', emailSubjectReminder3)
@ -5688,6 +5718,11 @@ class SettingsEntityBuilder
set emailSubjectPayment(String emailSubjectPayment) =>
_$this._emailSubjectPayment = emailSubjectPayment;
String _emailSubjectPaymentPartial;
String get emailSubjectPaymentPartial => _$this._emailSubjectPaymentPartial;
set emailSubjectPaymentPartial(String emailSubjectPaymentPartial) =>
_$this._emailSubjectPaymentPartial = emailSubjectPaymentPartial;
String _emailBodyInvoice;
String get emailBodyInvoice => _$this._emailBodyInvoice;
set emailBodyInvoice(String emailBodyInvoice) =>
@ -5703,6 +5738,11 @@ class SettingsEntityBuilder
set emailBodyPayment(String emailBodyPayment) =>
_$this._emailBodyPayment = emailBodyPayment;
String _emailBodyPaymentPartial;
String get emailBodyPaymentPartial => _$this._emailBodyPaymentPartial;
set emailBodyPaymentPartial(String emailBodyPaymentPartial) =>
_$this._emailBodyPaymentPartial = emailBodyPaymentPartial;
String _emailSubjectReminder1;
String get emailSubjectReminder1 => _$this._emailSubjectReminder1;
set emailSubjectReminder1(String emailSubjectReminder1) =>
@ -6131,9 +6171,11 @@ class SettingsEntityBuilder
_emailSubjectInvoice = _$v.emailSubjectInvoice;
_emailSubjectQuote = _$v.emailSubjectQuote;
_emailSubjectPayment = _$v.emailSubjectPayment;
_emailSubjectPaymentPartial = _$v.emailSubjectPaymentPartial;
_emailBodyInvoice = _$v.emailBodyInvoice;
_emailBodyQuote = _$v.emailBodyQuote;
_emailBodyPayment = _$v.emailBodyPayment;
_emailBodyPaymentPartial = _$v.emailBodyPaymentPartial;
_emailSubjectReminder1 = _$v.emailSubjectReminder1;
_emailSubjectReminder2 = _$v.emailSubjectReminder2;
_emailSubjectReminder3 = _$v.emailSubjectReminder3;
@ -6312,9 +6354,11 @@ class SettingsEntityBuilder
emailSubjectInvoice: emailSubjectInvoice,
emailSubjectQuote: emailSubjectQuote,
emailSubjectPayment: emailSubjectPayment,
emailSubjectPaymentPartial: emailSubjectPaymentPartial,
emailBodyInvoice: emailBodyInvoice,
emailBodyQuote: emailBodyQuote,
emailBodyPayment: emailBodyPayment,
emailBodyPaymentPartial: emailBodyPaymentPartial,
emailSubjectReminder1: emailSubjectReminder1,
emailSubjectReminder2: emailSubjectReminder2,
emailSubjectReminder3: emailSubjectReminder3,

View File

@ -85,6 +85,7 @@ class EmailTemplate extends EnumClass {
static const EmailTemplate invoiceEmail = _$invoiceEmail;
static const EmailTemplate quoteEmail = _$quoteEmail;
static const EmailTemplate paymentEmail = _$paymentEmail;
static const EmailTemplate partialPaymentEmail = _$partialPaymentEmail;
static const EmailTemplate creditEmail = _$creditEmail;
static const EmailTemplate firstReminder = _$firstReminder;
static const EmailTemplate secondReminder = _$secondReminder;

View File

@ -197,6 +197,8 @@ final BuiltSet<EntityState> _$values =
const EmailTemplate _$invoiceEmail = const EmailTemplate._('invoiceEmail');
const EmailTemplate _$quoteEmail = const EmailTemplate._('quoteEmail');
const EmailTemplate _$paymentEmail = const EmailTemplate._('paymentEmail');
const EmailTemplate _$partialPaymentEmail =
const EmailTemplate._('partialPaymentEmail');
const EmailTemplate _$creditEmail = const EmailTemplate._('creditEmail');
const EmailTemplate _$firstReminder = const EmailTemplate._('firstReminder');
const EmailTemplate _$secondReminder = const EmailTemplate._('secondReminder');
@ -215,6 +217,8 @@ EmailTemplate _$templateValueOf(String name) {
return _$quoteEmail;
case 'paymentEmail':
return _$paymentEmail;
case 'partialPaymentEmail':
return _$partialPaymentEmail;
case 'creditEmail':
return _$creditEmail;
case 'firstReminder':
@ -241,6 +245,7 @@ final BuiltSet<EmailTemplate> _$templateValues =
_$invoiceEmail,
_$quoteEmail,
_$paymentEmail,
_$partialPaymentEmail,
_$creditEmail,
_$firstReminder,
_$secondReminder,

View File

@ -169,14 +169,17 @@ class SettingsViewer extends StatelessWidget {
localization.emailSubjectInvoice:
settings.emailSubjectInvoice?.toString(),
localization.emailSubjectQuote: settings.emailSubjectQuote?.toString(),
localization.emailSubjectPayment:
settings.emailSubjectPayment?.toString(),
localization.emailSubjectPayment: settings.emailSubjectPayment,
localization.emailSubjectPaymentPartial:
settings.emailSubjectPaymentPartial,
//localization.emailBodyInvoice:
// settings.emailBodyInvoice?.toString(),
//localization.emailBodyQuote:
// settings.emailBodyQuote?.toString(),
//localization.emailBodyPayment:
// settings.emailBodyPayment?.toString(),
//localization.emailBodyPaymentPartial:
// settings.emailBodyPaymentPartial?.toString(),
//localization.emailSubjectReminder1:
// settings.emailSubjectReminder1?.toString(),
//localization.emailSubjectReminder2:

View File

@ -116,6 +116,10 @@ class _TemplatesAndRemindersState extends State<TemplatesAndReminders>
settings = settings.rebuild((b) => b
..emailBodyPayment = body
..emailSubjectPayment = subject);
} else if (_template == EmailTemplate.partialPaymentEmail) {
settings = settings.rebuild((b) => b
..emailBodyPaymentPartial = body
..emailSubjectPaymentPartial = subject);
} else if (_template == EmailTemplate.firstReminder) {
settings = settings.rebuild((b) => b
..emailBodyReminder1 = body

View File

@ -260,6 +260,7 @@ mixin LocalizationsProvider on LocaleCodeAware {
'days': 'Days',
'invoice_email': 'Invoice Email',
'payment_email': 'Payment Email',
'partial_payment_email': 'Partial Payment Email',
'quote_email': 'Quote Email',
'endless_reminder': 'Endless Reminder',
'filtered_by_user': 'Filtered by User',
@ -1016,6 +1017,7 @@ mixin LocalizationsProvider on LocaleCodeAware {
'email_subject_invoice': 'Email Invoice Subject',
'email_subject_quote': 'Email Quote Subject',
'email_subject_payment': 'Email Payment Subject',
'email_subject_payment_partial': 'Email Partial Payment Subject',
'switch_list_table': 'Switch List Table',
'client_city': 'Client City',
'client_state': 'Client State',
@ -32423,6 +32425,9 @@ mixin LocalizationsProvider on LocaleCodeAware {
String get emailSubjectPayment =>
_localizedValues[localeCode]['email_subject_payment'];
String get emailSubjectPaymentPartial =>
_localizedValues[localeCode]['email_subject_payment_partial'];
String get showCost => _localizedValues[localeCode]['show_cost'];
String get showCostHelp => _localizedValues[localeCode]['show_cost_help'];
@ -32851,7 +32856,9 @@ mixin LocalizationsProvider on LocaleCodeAware {
String get creditDesign => _localizedValues[localeCode]['credit_design'];
String get partialPaymentEmail =>
_localizedValues[localeCode]['partial_payment_email'];
String lookup(String key) {
final lookupKey = toSnakeCase(key);
return _localizedValues[localeCode][lookupKey] ??