From bf24d0c7d16f674bc9f30d5876009ff2f23248eb Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Mon, 13 Aug 2018 22:31:52 -0700 Subject: [PATCH] Email templates --- lib/redux/app/app_state.dart | 3 --- lib/utils/templates.dart | 3 +++ 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/redux/app/app_state.dart b/lib/redux/app/app_state.dart index 7b84a6dab..fb762a292 100644 --- a/lib/redux/app/app_state.dart +++ b/lib/redux/app/app_state.dart @@ -105,9 +105,6 @@ abstract class AppState implements Built { 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}'; } } \ No newline at end of file diff --git a/lib/utils/templates.dart b/lib/utils/templates.dart index fbfe05fcd..d9d116eda 100644 --- a/lib/utils/templates.dart +++ b/lib/utils/templates.dart @@ -74,5 +74,8 @@ String processTemplate( .replaceAll('\$${gatewayType}Button', sampleButton); }); + print('TEMPLATE: $template'); + print('FOOTER: ${company.emailFooter}'); + return template; }