Email templates

This commit is contained in:
Hillel Coren 2018-08-13 22:31:52 -07:00
parent a085f6f368
commit bf24d0c7d1
2 changed files with 3 additions and 3 deletions

View File

@ -105,9 +105,6 @@ abstract class AppState implements Built<AppState, AppStateBuilder> {
String toString() {
//return 'Is Loading: ${this.isLoading}, Invoice: ${this.invoiceUIState.selected}';
//return 'Date Formats: ${staticState.dateFormatMap}';
if (selectedCompany != null) {
//return 'Template: ${selectedCompany.emailBodyInvoice}';
}
return 'Route: ${uiState.currentRoute}, Invoice Update: ${invoiceState.lastUpdated}';
}
}

View File

@ -74,5 +74,8 @@ String processTemplate(
.replaceAll('\$${gatewayType}Button', sampleButton);
});
print('TEMPLATE: $template');
print('FOOTER: ${company.emailFooter}');
return template;
}