@using PowderCoating.Core.Entities
@using PowderCoating.Core.Enums
@model NotificationLog
@{
ViewData["Title"] = "Notification Details";
var sc = Model.Status == NotificationStatus.Sent ? "success"
: Model.Status == NotificationStatus.Failed ? "danger" : "secondary";
}
Back
Notification Details
@Model.Status
- Company
- @Html.Raw(ViewBag.CompanyName ?? (Model.CompanyId > 0 ? $"#{Model.CompanyId}" : "—"))
- Type
- @Model.NotificationType
- Channel
- @Model.Channel
- Status
- @Model.Status
- Sent At
- @Model.SentAt.ToString("MM/dd/yyyy HH:mm:ss") UTC
- Recipient
- @Model.RecipientName
@Model.Recipient
@if (Model.CustomerId > 0)
{
- Customer ID
- #@Model.CustomerId
}
@if (Model.JobId > 0)
{
- Job ID
- #@Model.JobId
}
@if (Model.InvoiceId > 0)
{
- Invoice ID
- #@Model.InvoiceId
}
@if (!string.IsNullOrEmpty(Model.ErrorMessage))
{
}
@if (!string.IsNullOrEmpty(Model.Subject))
{
}