Real-time SMS consent status update on customer record

When kiosk consent is completed, the staff-facing customer Details page
now updates the SMS badge instantly via SignalR — no page refresh needed.
Added customerId to the NewInAppNotification SignalR payload so the
KioskConsent handler can match the current URL and swap the badge in place.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-13 23:40:47 -04:00
parent 0af31c39b3
commit a73f14fa7f
4 changed files with 21 additions and 1 deletions
@@ -173,6 +173,7 @@
<i class="bi bi-envelope-slash me-1"></i>Email off
</span>
}
<span id="sms-status-section">
@if (Model.NotifyBySms)
{
<span class="badge bg-success bg-opacity-10 text-success border border-success border-opacity-25"
@@ -200,6 +201,7 @@
<i class="bi bi-x-circle me-1"></i>Cancel Consent
</button>
}
</span>
</div>
</div>
</div>