-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
More class to struct conversion cleanup.
- Loading branch information
1 parent
0595508
commit c3bc1c7
Showing
15 changed files
with
117 additions
and
120 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -337,7 +337,7 @@ public static async Task<bool> DailyBriefingEmailAsync(Owned.SMSRouteChange[] sm | |
|
||
output.Append("<p>Have a great day, hombre! 🤠</p>"); | ||
|
||
var notificationEmail = new Email | ||
var notificationEmail = new DataAccess.Models.Email | ||
{ | ||
PrimaryEmailAddress = appConfig.EmailDan.ToString(), | ||
CarbonCopy = appConfig.EmailTom.ToString(), | ||
|
@@ -394,7 +394,7 @@ public async static Task CheckForQuoteConversionsAsync(ReadOnlyMemory<char> post | |
var invoiceStatus = convertedInvoice.status_id is "4" ? "paid" : "approved"; | ||
var checkUpdate = await order.PutAsync(postgresql.ToString()); | ||
string name = string.IsNullOrWhiteSpace(order.BusinessName) ? $"{order.FirstName} {order.LastName}" : order.BusinessName; | ||
var message = new Email | ||
var message = new DataAccess.Models.Email | ||
{ | ||
SalesEmailAddress = string.IsNullOrWhiteSpace(order.SalesEmail) ? string.Empty : order.SalesEmail, | ||
PrimaryEmailAddress = "[email protected]", | ||
|
@@ -461,7 +461,7 @@ public async static Task CheckForQuoteConversionsAsync(ReadOnlyMemory<char> post | |
var checkUpdate = await order.PutAsync(postgresql.ToString()); | ||
string name = string.IsNullOrWhiteSpace(order.BusinessName) ? $"{order.FirstName} {order.LastName}" : order.BusinessName; | ||
var invoiceStatus = convertedInvoice.status_id is "4" ? "paid" : "converted from a quote"; | ||
var message = new Email | ||
var message = new DataAccess.Models.Email | ||
{ | ||
SalesEmailAddress = string.IsNullOrWhiteSpace(order.SalesEmail) ? string.Empty : order.SalesEmail, | ||
PrimaryEmailAddress = "[email protected]", | ||
|
@@ -567,7 +567,7 @@ public async static Task CheckForInvoicePaymentAsync(ReadOnlyMemory<char> postgr | |
if (order.DateUpfrontInvoicePaid is not null && upfrontInvoice.status_id is "4") | ||
{ | ||
string name = string.IsNullOrWhiteSpace(order.BusinessName) ? $"{order.FirstName} {order.LastName}" : order.BusinessName; | ||
var message = new Email | ||
var message = new DataAccess.Models.Email | ||
{ | ||
SalesEmailAddress = string.IsNullOrWhiteSpace(order.SalesEmail) ? string.Empty : order.SalesEmail, | ||
PrimaryEmailAddress = "[email protected]", | ||
|
Oops, something went wrong.