diff --git a/src/PowderCoating.Web/Views/Inventory/Label.cshtml b/src/PowderCoating.Web/Views/Inventory/Label.cshtml index ea8b020..2e8d580 100644 --- a/src/PowderCoating.Web/Views/Inventory/Label.cshtml +++ b/src/PowderCoating.Web/Views/Inventory/Label.cshtml @@ -148,21 +148,18 @@
SKU: @Model.SKU
- @if (!string.IsNullOrEmpty(Model.ColorName)) + @if (!string.IsNullOrEmpty(Model.ColorName) && !string.Equals(Model.ColorName, Model.Name, StringComparison.OrdinalIgnoreCase)) {
@Model.ColorName - @if (!string.IsNullOrEmpty(Model.Finish)) + @if (!string.IsNullOrEmpty(Model.Finish) && Model.Name.IndexOf(Model.Finish, StringComparison.OrdinalIgnoreCase) < 0) { — @Model.Finish }
} - @if (!string.IsNullOrEmpty(Model.Manufacturer)) - { -
@Model.Manufacturer
- } +
@Model.Manufacturer
@if (!string.IsNullOrEmpty(Model.Location)) {