diff --git a/src/PowderCoating.Web/Views/Accounts/YearEndClose.cshtml b/src/PowderCoating.Web/Views/Accounts/YearEndClose.cshtml
index 9bbf967..3cc38c5 100644
--- a/src/PowderCoating.Web/Views/Accounts/YearEndClose.cshtml
+++ b/src/PowderCoating.Web/Views/Accounts/YearEndClose.cshtml
@@ -99,7 +99,7 @@
diff --git a/src/PowderCoating.Web/Views/Inventory/Ledger.cshtml b/src/PowderCoating.Web/Views/Inventory/Ledger.cshtml
index 4987e31..d8c6919 100644
--- a/src/PowderCoating.Web/Views/Inventory/Ledger.cshtml
+++ b/src/PowderCoating.Web/Views/Inventory/Ledger.cshtml
@@ -291,7 +291,7 @@
}
}
-
@(u.CoatColor ?? "—") |
+
@Html.Raw(u.CoatColor ?? "—") |
@u.EstimatedLbs.ToString("N3") |
@u.ActualLbsUsed.ToString("N3") |
diff --git a/src/PowderCoating.Web/Views/Inventory/PrintBin.cshtml b/src/PowderCoating.Web/Views/Inventory/PrintBin.cshtml
index 335ded0..be46b48 100644
--- a/src/PowderCoating.Web/Views/Inventory/PrintBin.cshtml
+++ b/src/PowderCoating.Web/Views/Inventory/PrintBin.cshtml
@@ -81,7 +81,7 @@ else
|
| @row |
@item.Name |
- @(item.ColorName ?? "—") |
+ @Html.Raw(item.ColorName ?? "—") |
@item.SKU |
}
diff --git a/src/PowderCoating.Web/Views/Inventory/SamplePanels.cshtml b/src/PowderCoating.Web/Views/Inventory/SamplePanels.cshtml
index 3ecd0f8..117000d 100644
--- a/src/PowderCoating.Web/Views/Inventory/SamplePanels.cshtml
+++ b/src/PowderCoating.Web/Views/Inventory/SamplePanels.cshtml
@@ -244,9 +244,9 @@
@item.Name
}
-
@(item.Manufacturer ?? "—") |
-
@(item.ManufacturerPartNumber ?? "—") |
-
@(item.Finish ?? "—") |
+
@Html.Raw(item.Manufacturer ?? "—") |
+
@Html.Raw(item.ManufacturerPartNumber ?? "—") |
+
@Html.Raw(item.Finish ?? "—") |
@if (item.QuantityOnHand > 0)
{
@@ -399,9 +399,9 @@
@item.Name
}
|
-
@(item.Manufacturer ?? "—") |
-
@(item.ManufacturerPartNumber ?? "—") |
-
@(item.Finish ?? "—") |
+
@Html.Raw(item.Manufacturer ?? "—") |
+
@Html.Raw(item.ManufacturerPartNumber ?? "—") |
+
@Html.Raw(item.Finish ?? "—") |
|
@(item.ManufacturerPartNumber ?? "") |
@(item.Finish ?? "") |
-
@(item.QuantityOnHand > 0 ? item.QuantityOnHand.ToString("N2") + " " + item.UnitOfMeasure : "—") |
+
@Html.Raw(item.QuantityOnHand > 0 ? item.QuantityOnHand.ToString("N2") + " " + item.UnitOfMeasure : "—") |
|
}
diff --git a/src/PowderCoating.Web/Views/Invoices/Details.cshtml b/src/PowderCoating.Web/Views/Invoices/Details.cshtml
index 6a513f0..a679cfe 100644
--- a/src/PowderCoating.Web/Views/Invoices/Details.cshtml
+++ b/src/PowderCoating.Web/Views/Invoices/Details.cshtml
@@ -179,12 +179,12 @@
- @(Model.DueDate.HasValue ? Model.DueDate.Value.ToString("MMMM d, yyyy") : "—")
+ @Html.Raw(Model.DueDate.HasValue ? Model.DueDate.Value.ToString("MMMM d, yyyy") : "—")
-
@(Model.SentDate.HasValue ? Model.SentDate.Value.ToString("MMMM d, yyyy") : "—")
+
@Html.Raw(Model.SentDate.HasValue ? Model.SentDate.Value.ToString("MMMM d, yyyy") : "—")
@if (!string.IsNullOrWhiteSpace(Model.CustomerPO))
{
@@ -350,7 +350,7 @@
- @(gcItem.Description.Contains("for ") ? gcItem.Description.Substring(gcItem.Description.IndexOf("for ") + 4).TrimEnd(')') : "—")
+ @Html.Raw(gcItem.Description.Contains("for ") ? gcItem.Description.Substring(gcItem.Description.IndexOf("for ") + 4).TrimEnd(')') : "—")
|
@gcItem.TotalPrice.ToString("C") |
@@ -396,7 +396,7 @@
|
| @p.PaymentDate.ToString("MM/dd/yyyy") |
@p.PaymentMethodDisplay |
- @(p.Reference ?? "—") |
+ @Html.Raw(p.Reference ?? "—") |
@if (!string.IsNullOrEmpty(p.DepositAccountName))
{
@@ -407,7 +407,7 @@
—
}
|
- @(p.RecordedByName ?? "—") |
+ @Html.Raw(p.RecordedByName ?? "—") |
@p.Amount.ToString("C") |
@if (!isVoided)
@@ -463,7 +463,7 @@
| @r.RefundDate.ToString("MM/dd/yyyy") |
@r.RefundMethodDisplay |
@r.Reason |
- @(r.Reference ?? "—") |
+ @Html.Raw(r.Reference ?? "—") |
@r.Status |
(@r.Amount.ToString("C")) |
diff --git a/src/PowderCoating.Web/Views/Invoices/Index.cshtml b/src/PowderCoating.Web/Views/Invoices/Index.cshtml
index 99d0c72..dcdb897 100644
--- a/src/PowderCoating.Web/Views/Invoices/Index.cshtml
+++ b/src/PowderCoating.Web/Views/Invoices/Index.cshtml
@@ -144,7 +144,7 @@
|
@inv.InvoiceDate.ToString("MM/dd/yyyy") |
- @(inv.DueDate.HasValue ? inv.DueDate.Value.ToString("MM/dd/yyyy") : "—")
+ @Html.Raw(inv.DueDate.HasValue ? inv.DueDate.Value.ToString("MM/dd/yyyy") : "—")
|
@inv.Total.ToString("C") |
diff --git a/src/PowderCoating.Web/Views/Invoices/OnlinePayments.cshtml b/src/PowderCoating.Web/Views/Invoices/OnlinePayments.cshtml
index 79882df..6cb543c 100644
--- a/src/PowderCoating.Web/Views/Invoices/OnlinePayments.cshtml
+++ b/src/PowderCoating.Web/Views/Invoices/OnlinePayments.cshtml
@@ -128,7 +128,7 @@
| @gross.ToString("C") |
@inv.OnlineSurchargeCollected.ToString("C") |
@net.ToString("C") |
- @dateDisplay |
+ @Html.Raw(dateDisplay) |
@inv.OnlinePaymentStatus |
@if (!string.IsNullOrEmpty(inv.StripePaymentIntentId))
@@ -206,7 +206,7 @@
}
else
{
- @invNum
+ @Html.Raw(invNum)
}
|
@custName |
diff --git a/src/PowderCoating.Web/Views/Jobs/WorkOrder.cshtml b/src/PowderCoating.Web/Views/Jobs/WorkOrder.cshtml
index 4042f30..dc76f20 100644
--- a/src/PowderCoating.Web/Views/Jobs/WorkOrder.cshtml
+++ b/src/PowderCoating.Web/Views/Jobs/WorkOrder.cshtml
@@ -483,10 +483,10 @@
| @coat.Sequence |
@coat.CoatName |
- @(coat.ColorName ?? "—") |
- @(coat.ColorCode ?? "—") |
- @(coat.Finish ?? "—") |
- @(coat.VendorName ?? "—") |
+ @Html.Raw(coat.ColorName ?? "—") |
+ @Html.Raw(coat.ColorCode ?? "—") |
+ @Html.Raw(coat.Finish ?? "—") |
+ @Html.Raw(coat.VendorName ?? "—") |
@if (coat.PowderToOrder.HasValue && coat.PowderToOrder.Value > 0)
{
diff --git a/src/PowderCoating.Web/Views/JobsPriority/Index.cshtml b/src/PowderCoating.Web/Views/JobsPriority/Index.cshtml
index 853c112..02fa9b0 100644
--- a/src/PowderCoating.Web/Views/JobsPriority/Index.cshtml
+++ b/src/PowderCoating.Web/Views/JobsPriority/Index.cshtml
@@ -561,7 +561,7 @@
|
- @(item.Equipment?.EquipmentName ?? "—")
+ @Html.Raw(item.Equipment?.EquipmentName ?? "—")
@if (!string.IsNullOrEmpty(item.Equipment?.Location))
{
@item.Equipment.Location
diff --git a/src/PowderCoating.Web/Views/JournalEntries/Details.cshtml b/src/PowderCoating.Web/Views/JournalEntries/Details.cshtml
index aac1559..ecd6f3f 100644
--- a/src/PowderCoating.Web/Views/JournalEntries/Details.cshtml
+++ b/src/PowderCoating.Web/Views/JournalEntries/Details.cshtml
@@ -119,7 +119,7 @@
Posted
@Model.PostedAt.Value.ToLocalTime().ToString("MMM d, yyyy h:mm tt")
- by @(Model.PostedBy ?? "—")
+ by @Html.Raw(Model.PostedBy ?? "—")
}
Created
diff --git a/src/PowderCoating.Web/Views/OnboardingProgress/Index.cshtml b/src/PowderCoating.Web/Views/OnboardingProgress/Index.cshtml
index e0fafa2..0fe2f9f 100644
--- a/src/PowderCoating.Web/Views/OnboardingProgress/Index.cshtml
+++ b/src/PowderCoating.Web/Views/OnboardingProgress/Index.cshtml
@@ -188,16 +188,16 @@
@{
var firstActivity = row.FirstJobCreatedAt ?? row.FirstQuoteCreatedAt;
}
- @(firstActivity.HasValue ? firstActivity.Value.ToString("MMM d, yyyy") : "—")
+ @Html.Raw(firstActivity.HasValue ? firstActivity.Value.ToString("MMM d, yyyy") : "—")
|
- @(row.FirstInvoiceCreatedAt.HasValue ? row.FirstInvoiceCreatedAt.Value.ToString("MMM d, yyyy") : "—")
+ @Html.Raw(row.FirstInvoiceCreatedAt.HasValue ? row.FirstInvoiceCreatedAt.Value.ToString("MMM d, yyyy") : "—")
|
- @(row.FirstWorkflowCompletedAt.HasValue ? row.FirstWorkflowCompletedAt.Value.ToString("MMM d, yyyy") : "—")
+ @Html.Raw(row.FirstWorkflowCompletedAt.HasValue ? row.FirstWorkflowCompletedAt.Value.ToString("MMM d, yyyy") : "—")
|
- @(row.GuidedActivationDismissedAt.HasValue ? row.GuidedActivationDismissedAt.Value.ToString("MMM d, yyyy") : "—")
+ @Html.Raw(row.GuidedActivationDismissedAt.HasValue ? row.GuidedActivationDismissedAt.Value.ToString("MMM d, yyyy") : "—")
|
@switch (row.Status)
diff --git a/src/PowderCoating.Web/Views/PlatformNotifications/Details.cshtml b/src/PowderCoating.Web/Views/PlatformNotifications/Details.cshtml
index 856987a..64c0862 100644
--- a/src/PowderCoating.Web/Views/PlatformNotifications/Details.cshtml
+++ b/src/PowderCoating.Web/Views/PlatformNotifications/Details.cshtml
@@ -23,7 +23,7 @@
- Company
- - @(ViewBag.CompanyName ?? (Model.CompanyId > 0 ? $"#{Model.CompanyId}" : "—"))
+ - @Html.Raw(ViewBag.CompanyName ?? (Model.CompanyId > 0 ? $"#{Model.CompanyId}" : "—"))
- Type
- @Model.NotificationType
- Channel
diff --git a/src/PowderCoating.Web/Views/PlatformSubscription/Index.cshtml b/src/PowderCoating.Web/Views/PlatformSubscription/Index.cshtml
index 1d33a9e..dd4d99c 100644
--- a/src/PowderCoating.Web/Views/PlatformSubscription/Index.cshtml
+++ b/src/PowderCoating.Web/Views/PlatformSubscription/Index.cshtml
@@ -188,13 +188,13 @@
| Monthly ID |
- @(string.IsNullOrEmpty(plan.StripePriceIdMonthly) ? "—" : plan.StripePriceIdMonthly)
+ @Html.Raw(string.IsNullOrEmpty(plan.StripePriceIdMonthly) ? "—" : plan.StripePriceIdMonthly)
|
| Annual ID |
- @(string.IsNullOrEmpty(plan.StripePriceIdAnnual) ? "—" : plan.StripePriceIdAnnual)
+ @Html.Raw(string.IsNullOrEmpty(plan.StripePriceIdAnnual) ? "—" : plan.StripePriceIdAnnual)
|
diff --git a/src/PowderCoating.Web/Views/PowderInsights/Index.cshtml b/src/PowderCoating.Web/Views/PowderInsights/Index.cshtml
index ecc8894..e885b43 100644
--- a/src/PowderCoating.Web/Views/PowderInsights/Index.cshtml
+++ b/src/PowderCoating.Web/Views/PowderInsights/Index.cshtml
@@ -115,7 +115,7 @@
@item.CurrentStockLbs.ToString("0.##") lbs |
@item.ScheduledDemandLbs.ToString("0.##") lbs |
- @(item.ShortfallLbs > 0 ? $"{item.ShortfallLbs:0.##} lbs" : "—")
+ @Html.Raw(item.ShortfallLbs > 0 ? $"{item.ShortfallLbs:0.##} lbs" : "—")
|
@item.ActiveJobCount |
@@ -344,7 +344,7 @@
@w.CoatName
|
@(w.InventoryItemName ?? "Custom") |
- @(w.Complexity ?? "—") |
+ @Html.Raw(w.Complexity ?? "—") |
@w.EstimatedLbs.ToString("0.##") lbs |
@w.ActualLbs.ToString("0.##") lbs |
+@w.OveragePct.ToString("0.#")% |
diff --git a/src/PowderCoating.Web/Views/PowderInsights/_JobPowderSummary.cshtml b/src/PowderCoating.Web/Views/PowderInsights/_JobPowderSummary.cshtml
index 971869d..7dd56bc 100644
--- a/src/PowderCoating.Web/Views/PowderInsights/_JobPowderSummary.cshtml
+++ b/src/PowderCoating.Web/Views/PowderInsights/_JobPowderSummary.cshtml
@@ -28,7 +28,7 @@ else
· @coat.ColorName
}
|
- @(coat.EstimatedLbs.HasValue ? $"{coat.EstimatedLbs:0.##}" : "—") |
+ @Html.Raw(coat.EstimatedLbs.HasValue ? $"{coat.EstimatedLbs:0.##}" : "—") |
@if (coat.IsRecorded)
{
@@ -61,10 +61,10 @@ else
| Total |
@Model.TotalEstimatedLbs.ToString("0.##") lbs |
- @(Model.TotalActualLbs > 0 ? $"{Model.TotalActualLbs:0.##} lbs" : "—")
+ @Html.Raw(Model.TotalActualLbs > 0 ? $"{Model.TotalActualLbs:0.##} lbs" : "—")
|
- @(Model.TotalActualLbs > 0 ? $"{(Model.TotalVarianceLbs > 0 ? "+" : "")}{Model.TotalVarianceLbs:0.##} lbs" : "—")
+ @Html.Raw(Model.TotalActualLbs > 0 ? $"{(Model.TotalVarianceLbs > 0 ? "+" : "")}{Model.TotalVarianceLbs:0.##} lbs" : "—")
|
diff --git a/src/PowderCoating.Web/Views/PricingTiers/Index.cshtml b/src/PowderCoating.Web/Views/PricingTiers/Index.cshtml
index 6f926ef..5afee82 100644
--- a/src/PowderCoating.Web/Views/PricingTiers/Index.cshtml
+++ b/src/PowderCoating.Web/Views/PricingTiers/Index.cshtml
@@ -93,7 +93,7 @@
@tier.TierName
- @(tier.Description ?? "—")
+ @Html.Raw(tier.Description ?? "—")
|
@if (tier.DiscountPercent == 0)
diff --git a/src/PowderCoating.Web/Views/PurchaseOrders/Details.cshtml b/src/PowderCoating.Web/Views/PurchaseOrders/Details.cshtml
index bcc38da..cd7acaa 100644
--- a/src/PowderCoating.Web/Views/PurchaseOrders/Details.cshtml
+++ b/src/PowderCoating.Web/Views/PurchaseOrders/Details.cshtml
@@ -256,7 +256,7 @@
Expected Delivery
- @(Model.ExpectedDeliveryDate?.ToString("MM/dd/yyyy") ?? "—")
+ @Html.Raw(Model.ExpectedDeliveryDate?.ToString("MM/dd/yyyy") ?? "—")
@if (Model.ReceivedDate.HasValue)
diff --git a/src/PowderCoating.Web/Views/PurchaseOrders/Index.cshtml b/src/PowderCoating.Web/Views/PurchaseOrders/Index.cshtml
index 398c4e3..4d169f3 100644
--- a/src/PowderCoating.Web/Views/PurchaseOrders/Index.cshtml
+++ b/src/PowderCoating.Web/Views/PurchaseOrders/Index.cshtml
@@ -260,7 +260,7 @@
|
@po.OrderDate.ToString("MM/dd/yyyy") |
-
@(po.ExpectedDeliveryDate?.ToString("MM/dd/yyyy") ?? "—") |
+
@Html.Raw(po.ExpectedDeliveryDate?.ToString("MM/dd/yyyy") ?? "—") |
@po.ItemCount |
$@po.TotalAmount.ToString("N2") |
diff --git a/src/PowderCoating.Web/Views/Reports/ApAging.cshtml b/src/PowderCoating.Web/Views/Reports/ApAging.cshtml
index 41c3bb8..2575a6f 100644
--- a/src/PowderCoating.Web/Views/Reports/ApAging.cshtml
+++ b/src/PowderCoating.Web/Views/Reports/ApAging.cshtml
@@ -156,11 +156,11 @@ else
@vend.Bills.Count bill@(vend.Bills.Count == 1 ? "" : "s")
|
-
@(vend.TotalCurrent > 0 ? vend.TotalCurrent.ToString("C") : "—") |
-
@(vend.Total1to30 > 0 ? vend.Total1to30.ToString("C") : "—") |
-
@(vend.Total31to60 > 0 ? vend.Total31to60.ToString("C") : "—") |
-
@(vend.Total61to90 > 0 ? vend.Total61to90.ToString("C") : "—") |
-
@(vend.TotalOver90 > 0 ? vend.TotalOver90.ToString("C") : "—") |
+
@Html.Raw(vend.TotalCurrent > 0 ? vend.TotalCurrent.ToString("C") : "—") |
+
@Html.Raw(vend.Total1to30 > 0 ? vend.Total1to30.ToString("C") : "—") |
+
@Html.Raw(vend.Total31to60 > 0 ? vend.Total31to60.ToString("C") : "—") |
+
@Html.Raw(vend.Total61to90 > 0 ? vend.Total61to90.ToString("C") : "—") |
+
@Html.Raw(vend.TotalOver90 > 0 ? vend.TotalOver90.ToString("C") : "—") |
@vend.TotalBalance.ToString("C") |
}
@@ -218,7 +218,7 @@ else
@bill.BillDate.ToString("MM/dd/yyyy") |
-
@(bill.DueDate?.ToString("MM/dd/yyyy") ?? "—") |
+
@Html.Raw(bill.DueDate?.ToString("MM/dd/yyyy") ?? "—") |
@bill.BalanceDue.ToString("C") |
@ageLabel |
|
diff --git a/src/PowderCoating.Web/Views/Reports/ArAging.cshtml b/src/PowderCoating.Web/Views/Reports/ArAging.cshtml
index 7d7a4bb..154c06c 100644
--- a/src/PowderCoating.Web/Views/Reports/ArAging.cshtml
+++ b/src/PowderCoating.Web/Views/Reports/ArAging.cshtml
@@ -156,11 +156,11 @@ else
@cust.Invoices.Count inv.
-
@(cust.TotalCurrent > 0 ? cust.TotalCurrent.ToString("C") : "—") |
-
@(cust.Total1to30 > 0 ? cust.Total1to30.ToString("C") : "—") |
-
@(cust.Total31to60 > 0 ? cust.Total31to60.ToString("C") : "—") |
-
@(cust.Total61to90 > 0 ? cust.Total61to90.ToString("C") : "—") |
-
@(cust.TotalOver90 > 0 ? cust.TotalOver90.ToString("C") : "—") |
+
@Html.Raw(cust.TotalCurrent > 0 ? cust.TotalCurrent.ToString("C") : "—") |
+
@Html.Raw(cust.Total1to30 > 0 ? cust.Total1to30.ToString("C") : "—") |
+
@Html.Raw(cust.Total31to60 > 0 ? cust.Total31to60.ToString("C") : "—") |
+
@Html.Raw(cust.Total61to90 > 0 ? cust.Total61to90.ToString("C") : "—") |
+
@Html.Raw(cust.TotalOver90 > 0 ? cust.TotalOver90.ToString("C") : "—") |
@cust.TotalBalance.ToString("C") |
}
@@ -218,7 +218,7 @@ else
@inv.InvoiceDate.ToString("MM/dd/yyyy") |
-
@(inv.DueDate?.ToString("MM/dd/yyyy") ?? "—") |
+
@Html.Raw(inv.DueDate?.ToString("MM/dd/yyyy") ?? "—") |
@inv.BalanceDue.ToString("C") |
@ageLabel |
|
diff --git a/src/PowderCoating.Web/Views/Reports/CustomerRetention.cshtml b/src/PowderCoating.Web/Views/Reports/CustomerRetention.cshtml
index 1fb7ef8..67edc74 100644
--- a/src/PowderCoating.Web/Views/Reports/CustomerRetention.cshtml
+++ b/src/PowderCoating.Web/Views/Reports/CustomerRetention.cshtml
@@ -101,11 +101,11 @@
@item.CustomerName
-
@(item.Email ?? "—") |
-
@(item.Phone ?? "—") |
+
@Html.Raw(item.Email ?? "—") |
+
@Html.Raw(item.Phone ?? "—") |
@item.TotalJobs |
@item.LifetimeRevenue.ToString("C") |
-
@(item.LastJobDate?.ToString("MMM d, yyyy") ?? "—") |
+
@Html.Raw(item.LastJobDate?.ToString("MMM d, yyyy") ?? "—") |
@if (item.DaysSinceLastJob < 0)
{
diff --git a/src/PowderCoating.Web/Views/Reports/Index.cshtml b/src/PowderCoating.Web/Views/Reports/Index.cshtml
index a3e7f38..a9f8e3e 100644
--- a/src/PowderCoating.Web/Views/Reports/Index.cshtml
+++ b/src/PowderCoating.Web/Views/Reports/Index.cshtml
@@ -1604,7 +1604,7 @@
@color.DisplayLabel
@color.SKU
|
-
@(color.Manufacturer ?? "—") |
+
@Html.Raw(color.Manufacturer ?? "—") |
@color.TotalLbsUsed.ToString("N1") lbs
@@ -1749,7 +1749,7 @@
@c.BalanceDue.ToString("C")
|
@c.AvgInvoiceValue.ToString("C") |
-
@(c.LastInvoiceDate?.ToString("MMM d, yyyy") ?? "—") |
+
@Html.Raw(c.LastInvoiceDate?.ToString("MMM d, yyyy") ?? "—") |
@@ -1896,10 +1896,10 @@
@r.RetentionStatus
|
- @(r.LastJobDate.HasValue ? r.LastJobDate.Value.ToString("MMM d, yyyy") : "—")
+ @Html.Raw(r.LastJobDate.HasValue ? r.LastJobDate.Value.ToString("MMM d, yyyy") : "—")
|
- @(r.DaysSinceLastJob >= 0 ? r.DaysSinceLastJob + "d" : "—")
+ @Html.Raw(r.DaysSinceLastJob >= 0 ? r.DaysSinceLastJob + "d" : "—")
|
@r.TotalJobs |
@r.LifetimeRevenue.ToString("C0") |
@@ -2235,7 +2235,7 @@
}
@inv.InvoiceDate.ToString("MMM d, yyyy") |
-
@(inv.DueDate.HasValue ? inv.DueDate.Value.ToString("MMM d, yyyy") : "—") |
+
@Html.Raw(inv.DueDate.HasValue ? inv.DueDate.Value.ToString("MMM d, yyyy") : "—") |
@inv.Total.ToString("C") |
@inv.AmountPaid.ToString("C") |
@inv.BalanceDue.ToString("C") |
@@ -2349,7 +2349,7 @@
@p.ColorCode @(!string.IsNullOrEmpty(p.SKU) ? $"· {p.SKU}" : "")
}
-
@(p.Manufacturer ?? "—") |
+
@Html.Raw(p.Manufacturer ?? "—") |
@p.TotalPurchasedLbs.ToString("N1") |
@p.TotalConsumedLbs.ToString("N1") |
diff --git a/src/PowderCoating.Web/Views/Reports/InventoryTurnover.cshtml b/src/PowderCoating.Web/Views/Reports/InventoryTurnover.cshtml
index f044c61..1e2e610 100644
--- a/src/PowderCoating.Web/Views/Reports/InventoryTurnover.cshtml
+++ b/src/PowderCoating.Web/Views/Reports/InventoryTurnover.cshtml
@@ -52,7 +52,7 @@
@item.SKU
}
|
-
@(item.ColorName ?? "—") |
+
@Html.Raw(item.ColorName ?? "—") |
@item.CurrentStockLbs.ToString("N1") |
@item.TotalConsumedLbs.ToString("N1") |
@item.TotalPurchasedLbs.ToString("N1") |
diff --git a/src/PowderCoating.Web/Views/Reports/InvoiceAgingDetail.cshtml b/src/PowderCoating.Web/Views/Reports/InvoiceAgingDetail.cshtml
index 727706c..d1f2604 100644
--- a/src/PowderCoating.Web/Views/Reports/InvoiceAgingDetail.cshtml
+++ b/src/PowderCoating.Web/Views/Reports/InvoiceAgingDetail.cshtml
@@ -85,12 +85,12 @@
}
@item.InvoiceDate.ToString("MMM d, yyyy") |
-
@(item.DueDate?.ToString("MMM d, yyyy") ?? "—") |
+
@Html.Raw(item.DueDate?.ToString("MMM d, yyyy") ?? "—") |
@item.Total.ToString("C") |
@item.AmountPaid.ToString("C") |
@item.BalanceDue.ToString("C") |
- @(item.DaysOverdue > 0 ? item.DaysOverdue.ToString() : "—")
+ @Html.Raw(item.DaysOverdue > 0 ? item.DaysOverdue.ToString() : "—")
|
@item.AgingBucket |
@item.StatusDisplay |
diff --git a/src/PowderCoating.Web/Views/Reports/OperationsReport.cshtml b/src/PowderCoating.Web/Views/Reports/OperationsReport.cshtml
index db92dd4..eeefc14 100644
--- a/src/PowderCoating.Web/Views/Reports/OperationsReport.cshtml
+++ b/src/PowderCoating.Web/Views/Reports/OperationsReport.cshtml
@@ -116,7 +116,7 @@
{
| @i.Name |
- @(i.ColorName ?? "—") |
+ @Html.Raw(i.ColorName ?? "—") |
@i.QuantityOnHand.ToString("N1") |
@i.ReorderPoint.ToString("N1") |
@i.UnitOfMeasure |
diff --git a/src/PowderCoating.Web/Views/Reports/PowderConsumption.cshtml b/src/PowderCoating.Web/Views/Reports/PowderConsumption.cshtml
index ad56732..4b1afad 100644
--- a/src/PowderCoating.Web/Views/Reports/PowderConsumption.cshtml
+++ b/src/PowderCoating.Web/Views/Reports/PowderConsumption.cshtml
@@ -60,13 +60,13 @@
}
- @(item.ColorName ?? "—")
+ @Html.Raw(item.ColorName ?? "—")
@if (!string.IsNullOrEmpty(item.ColorCode))
{
@item.ColorCode
}
|
- @(item.Manufacturer ?? "—") |
+ @Html.Raw(item.Manufacturer ?? "—") |
@item.TotalPurchasedLbs.ToString("N1") |
@item.TotalConsumedLbs.ToString("N1") |
@item.VarianceLbs.ToString("N1") |
diff --git a/src/PowderCoating.Web/Views/Reports/PowderUsage.cshtml b/src/PowderCoating.Web/Views/Reports/PowderUsage.cshtml
index 90b1842..9645afd 100644
--- a/src/PowderCoating.Web/Views/Reports/PowderUsage.cshtml
+++ b/src/PowderCoating.Web/Views/Reports/PowderUsage.cshtml
@@ -79,8 +79,8 @@
@item.DisplayLabel
|
- @(item.SKU ?? "—") |
- @(item.Manufacturer ?? "—") |
+ @Html.Raw(item.SKU ?? "—") |
+ @Html.Raw(item.Manufacturer ?? "—") |
@item.TotalLbsUsed.ToString("N1") |
@item.TotalCost.ToString("C") |
@item.JobCount |
diff --git a/src/PowderCoating.Web/Views/Reports/ProfitAndLoss.cshtml b/src/PowderCoating.Web/Views/Reports/ProfitAndLoss.cshtml
index 251083e..68763ee 100644
--- a/src/PowderCoating.Web/Views/Reports/ProfitAndLoss.cshtml
+++ b/src/PowderCoating.Web/Views/Reports/ProfitAndLoss.cshtml
@@ -148,7 +148,7 @@
| @line.AccountNumber @line.AccountName |
@line.Amount.ToString("C") |
- @(Model.TotalRevenue == 0 ? "—" : (line.Amount / Model.TotalRevenue * 100).ToString("F1") + "%") |
+ @Html.Raw(Model.TotalRevenue == 0 ? "—" : (line.Amount / Model.TotalRevenue * 100).ToString("F1") + "%") |
}
@@ -169,18 +169,18 @@
| @line.AccountNumber @line.AccountName |
@line.Amount.ToString("C") |
- @(Model.TotalRevenue == 0 ? "—" : (line.Amount / Model.TotalRevenue * 100).ToString("F1") + "%") |
+ @Html.Raw(Model.TotalRevenue == 0 ? "—" : (line.Amount / Model.TotalRevenue * 100).ToString("F1") + "%") |
}
| Total COGS |
(@Model.TotalCogs.ToString("C")) |
- @(Model.TotalRevenue == 0 ? "—" : (Model.TotalCogs / Model.TotalRevenue * 100).ToString("F1") + "%") |
+ @Html.Raw(Model.TotalRevenue == 0 ? "—" : (Model.TotalCogs / Model.TotalRevenue * 100).ToString("F1") + "%") |
| Gross Profit |
@Model.GrossProfit.ToString("C") |
- @(Model.TotalRevenue == 0 ? "—" : Model.GrossMarginPercent.ToString("F1") + "%") |
+ @Html.Raw(Model.TotalRevenue == 0 ? "—" : Model.GrossMarginPercent.ToString("F1") + "%") |
}
@@ -198,20 +198,20 @@
| @line.AccountNumber @line.AccountName |
@line.Amount.ToString("C") |
- @(Model.TotalRevenue == 0 ? "—" : (line.Amount / Model.TotalRevenue * 100).ToString("F1") + "%") |
+ @Html.Raw(Model.TotalRevenue == 0 ? "—" : (line.Amount / Model.TotalRevenue * 100).ToString("F1") + "%") |
}
| Total Expenses |
(@Model.TotalExpenses.ToString("C")) |
- @(Model.TotalRevenue == 0 ? "—" : (Model.TotalExpenses / Model.TotalRevenue * 100).ToString("F1") + "%") |
+ @Html.Raw(Model.TotalRevenue == 0 ? "—" : (Model.TotalExpenses / Model.TotalRevenue * 100).ToString("F1") + "%") |
| Net Income |
@Model.NetIncome.ToString("C") |
- @(Model.TotalRevenue == 0 ? "—" : (Model.NetIncome / Model.TotalRevenue * 100).ToString("F1") + "%") |
+ @Html.Raw(Model.TotalRevenue == 0 ? "—" : (Model.NetIncome / Model.TotalRevenue * 100).ToString("F1") + "%") |
diff --git a/src/PowderCoating.Web/Views/Reports/SalesAndIncome.cshtml b/src/PowderCoating.Web/Views/Reports/SalesAndIncome.cshtml
index 49789c5..6c45202 100644
--- a/src/PowderCoating.Web/Views/Reports/SalesAndIncome.cshtml
+++ b/src/PowderCoating.Web/Views/Reports/SalesAndIncome.cshtml
@@ -205,7 +205,7 @@ else
@c.TotalInvoiced.ToString("C") |
@c.TotalPaid.ToString("C") |
@c.BalanceDue.ToString("C") |
-
@(Model.TotalInvoiced == 0 ? "—" : (c.TotalInvoiced / Model.TotalInvoiced * 100).ToString("F1") + "%") |
+
@Html.Raw(Model.TotalInvoiced == 0 ? "—" : (c.TotalInvoiced / Model.TotalInvoiced * 100).ToString("F1") + "%") |
}
@@ -263,9 +263,9 @@ else
@inv.CustomerName |
@inv.InvoiceDate.ToString("MM/dd/yyyy") |
-
@(inv.DueDate?.ToString("MM/dd/yyyy") ?? "—") |
+
@Html.Raw(inv.DueDate?.ToString("MM/dd/yyyy") ?? "—") |
@inv.SubTotal.ToString("C") |
-
@(inv.TaxAmount > 0 ? inv.TaxAmount.ToString("C") : "—") |
+
@Html.Raw(inv.TaxAmount > 0 ? inv.TaxAmount.ToString("C") : "—") |
@inv.Total.ToString("C") |
@inv.AmountPaid.ToString("C") |
@inv.Status |
diff --git a/src/PowderCoating.Web/Views/Reports/SalesByCustomer.cshtml b/src/PowderCoating.Web/Views/Reports/SalesByCustomer.cshtml
index 8b7a167..2363ef8 100644
--- a/src/PowderCoating.Web/Views/Reports/SalesByCustomer.cshtml
+++ b/src/PowderCoating.Web/Views/Reports/SalesByCustomer.cshtml
@@ -76,7 +76,7 @@
@item.BalanceDue.ToString("C")
@item.AvgInvoiceValue.ToString("C") |
-
@(item.LastInvoiceDate?.ToString("MMM d, yyyy") ?? "—") |
+
@Html.Raw(item.LastInvoiceDate?.ToString("MMM d, yyyy") ?? "—") |
}
diff --git a/src/PowderCoating.Web/Views/Reports/SalesTax.cshtml b/src/PowderCoating.Web/Views/Reports/SalesTax.cshtml
index cd85c7b..4d33622 100644
--- a/src/PowderCoating.Web/Views/Reports/SalesTax.cshtml
+++ b/src/PowderCoating.Web/Views/Reports/SalesTax.cshtml
@@ -284,11 +284,11 @@ else
@inv.InvoiceDate.ToString("MM/dd/yyyy") |
@inv.Status |
@inv.SubTotal.ToString("C") |
-
@(isTaxable ? inv.TaxPercent.ToString("F2") + "%" : "—") |
-
@(isTaxable ? inv.TaxAmount.ToString("C") : "—") |
+
@Html.Raw(isTaxable ? inv.TaxPercent.ToString("F2") + "%" : "—") |
+
@Html.Raw(isTaxable ? inv.TaxAmount.ToString("C") : "—") |
@inv.Total.ToString("C") |
@inv.AmountPaid.ToString("C") |
-
@(string.IsNullOrEmpty(inv.TaxAccountName) ? "—" : inv.TaxAccountName) |
+
@Html.Raw(string.IsNullOrEmpty(inv.TaxAccountName) ? "—" : inv.TaxAccountName) |
}
diff --git a/src/PowderCoating.Web/Views/Reports/TaxReporting1099.cshtml b/src/PowderCoating.Web/Views/Reports/TaxReporting1099.cshtml
index 29fa710..2b3cba0 100644
--- a/src/PowderCoating.Web/Views/Reports/TaxReporting1099.cshtml
+++ b/src/PowderCoating.Web/Views/Reports/TaxReporting1099.cshtml
@@ -117,7 +117,7 @@ else
Missing
}
-
@(row.Address ?? "—") |
+
@Html.Raw(row.Address ?? "—") |
@row.BillsPaid.ToString("C") |
@row.ExpensesPaid.ToString("C") |
@row.TotalPaid.ToString("C") |
diff --git a/src/PowderCoating.Web/Views/Revenue/Index.cshtml b/src/PowderCoating.Web/Views/Revenue/Index.cshtml
index 87a0d6b..abdaa47 100644
--- a/src/PowderCoating.Web/Views/Revenue/Index.cshtml
+++ b/src/PowderCoating.Web/Views/Revenue/Index.cshtml
@@ -210,7 +210,7 @@
@alert.CompanyName |
@alert.PlanName |
@alert.Status |
-
@(alert.EndDate?.ToString("MM/dd/yyyy") ?? "—") |
+
@Html.Raw(alert.EndDate?.ToString("MM/dd/yyyy") ?? "—") |
@daysText |
End Date
- @(alert.EndDate?.ToString("MM/dd/yyyy") ?? "—")
+ @Html.Raw(alert.EndDate?.ToString("MM/dd/yyyy") ?? "—")
Days
diff --git a/src/PowderCoating.Web/Views/StripeEvents/Details.cshtml b/src/PowderCoating.Web/Views/StripeEvents/Details.cshtml
index a7ae5b0..670ac31 100644
--- a/src/PowderCoating.Web/Views/StripeEvents/Details.cshtml
+++ b/src/PowderCoating.Web/Views/StripeEvents/Details.cshtml
@@ -35,7 +35,7 @@
@Model.EventType
Company ID
- @(Model.CompanyId.HasValue ? Model.CompanyId.ToString() : "—")
+ @Html.Raw(Model.CompanyId.HasValue ? Model.CompanyId.ToString() : "—")
Status
@Model.Status
@@ -44,7 +44,7 @@
@Model.ReceivedAt.ToString("MM/dd/yyyy HH:mm:ss") UTC
Processed At
- @(Model.ProcessedAt.HasValue ? Model.ProcessedAt.Value.ToString("MM/dd/yyyy HH:mm:ss") + " UTC" : "—")
+ @Html.Raw(Model.ProcessedAt.HasValue ? Model.ProcessedAt.Value.ToString("MM/dd/yyyy HH:mm:ss") + " UTC" : "—")
diff --git a/src/PowderCoating.Web/Views/StripeEvents/Index.cshtml b/src/PowderCoating.Web/Views/StripeEvents/Index.cshtml
index db38e71..6c0f398 100644
--- a/src/PowderCoating.Web/Views/StripeEvents/Index.cshtml
+++ b/src/PowderCoating.Web/Views/StripeEvents/Index.cshtml
@@ -145,12 +145,12 @@
|
@evt.EventType
|
-
@(evt.CompanyId.HasValue ? $"#{evt.CompanyId}" : "—") |
+
@Html.Raw(evt.CompanyId.HasValue ? $"#{evt.CompanyId}" : "—") |
@evt.Status
|
- @(evt.ProcessedAt.HasValue ? evt.ProcessedAt.Value.ToString("HH:mm:ss") : "—")
+ @Html.Raw(evt.ProcessedAt.HasValue ? evt.ProcessedAt.Value.ToString("HH:mm:ss") : "—")
|
View
@@ -191,7 +191,7 @@
Company
- @(evt.CompanyId.HasValue ? $"#{evt.CompanyId}" : "—")
+ @Html.Raw(evt.CompanyId.HasValue ? $"#{evt.CompanyId}" : "—")
Event ID
diff --git a/src/PowderCoating.Web/Views/SubscriptionManagement/Manage.cshtml b/src/PowderCoating.Web/Views/SubscriptionManagement/Manage.cshtml
index 652fdb5..b885df8 100644
--- a/src/PowderCoating.Web/Views/SubscriptionManagement/Manage.cshtml
+++ b/src/PowderCoating.Web/Views/SubscriptionManagement/Manage.cshtml
@@ -66,9 +66,9 @@
Users
@ViewBag.UserCount
Stripe Customer
- @(Model.StripeCustomerId ?? "—")
+ @Html.Raw(Model.StripeCustomerId ?? "—")
Stripe Sub
- @(Model.StripeSubscriptionId ?? "—")
+ @Html.Raw(Model.StripeSubscriptionId ?? "—")
diff --git a/src/PowderCoating.Web/Views/SystemInfo/Index.cshtml b/src/PowderCoating.Web/Views/SystemInfo/Index.cshtml
index 0a60849..2255d2a 100644
--- a/src/PowderCoating.Web/Views/SystemInfo/Index.cshtml
+++ b/src/PowderCoating.Web/Views/SystemInfo/Index.cshtml
@@ -97,7 +97,7 @@
|
| Last Migration |
- @(Model.LastAppliedMigration ?? "—") |
+ @Html.Raw(Model.LastAppliedMigration ?? "—") |
| Last Seed Run |
diff --git a/src/PowderCoating.Web/Views/SystemLogs/Index.cshtml b/src/PowderCoating.Web/Views/SystemLogs/Index.cshtml
index 66b4c9c..a27fbf2 100644
--- a/src/PowderCoating.Web/Views/SystemLogs/Index.cshtml
+++ b/src/PowderCoating.Web/Views/SystemLogs/Index.cshtml
@@ -153,7 +153,7 @@
@row.Timestamp.Tz(ViewBag.CompanyTimeZone as string).ToString("MM/dd HH:mm:ss") |
@row.Level |
- @(row.SourceContext?.Split('.').LastOrDefault() ?? "—")
+ @Html.Raw(row.SourceContext?.Split('.').LastOrDefault() ?? "—")
|
@row.Message
@@ -162,8 +162,8 @@
}
|
- @(row.UserName ?? "—") |
- @(row.CompanyId?.ToString() ?? "—") |
+ @Html.Raw(row.UserName ?? "—") |
+ @Html.Raw(row.CompanyId?.ToString() ?? "—") |
|
}
@@ -195,7 +195,7 @@
@@ -208,7 +208,7 @@