fix: Quote wizard - correct total calculation and email sender

- Fix calculateQuote() to respect serviceInterests flags
- Only include GPS/Support costs when user has enabled them
- Update Step6Summary to conditionally render service sections
- Add sender display name (Arizona Computer Guru) to emails
- Add reply-to address (admin@azcomputerguru.com)
- Fixes phantom $380 support charge appearing in totals

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-03-10 20:42:40 -07:00
parent fa15b03180
commit c629890e32
4 changed files with 104 additions and 71 deletions

View File

@@ -124,9 +124,23 @@ function send_email(string $to_email, string $subject, string $body_html, ?strin
'contentType' => 'HTML',
'content' => $body_html,
],
'from' => [
'emailAddress' => [
'name' => defined('GRAPH_SENDER_NAME') ? GRAPH_SENDER_NAME : 'Arizona Computer Guru',
'address' => GRAPH_SENDER_EMAIL,
],
],
'toRecipients' => [
['emailAddress' => ['address' => $to_email]],
],
'replyTo' => [
[
'emailAddress' => [
'name' => defined('GRAPH_REPLY_TO_NAME') ? GRAPH_REPLY_TO_NAME : 'Arizona Computer Guru',
'address' => defined('GRAPH_REPLY_TO_EMAIL') ? GRAPH_REPLY_TO_EMAIL : GRAPH_SENDER_EMAIL,
],
],
],
],
'saveToSentItems' => 'true',
];