diff --git a/Site/Pages/v5/Ledgers/EndOfMonth.aspx.cs b/Site/Pages/v5/Ledgers/EndOfMonth.aspx.cs index dac7ea35..47329504 100644 --- a/Site/Pages/v5/Ledgers/EndOfMonth.aspx.cs +++ b/Site/Pages/v5/Ledgers/EndOfMonth.aspx.cs @@ -104,12 +104,24 @@ namespace Swarmops.Frontend.Pages.Ledgers foreach (EomItem item in group.Items) { - builder.Append(@" - $('#TableEomItems').datagrid('appendRow', " + '{' + @" + if (!item.Completed) + { + builder.Append(@" + $('#TableEomItems').datagrid('appendRow', { itemName: """ + item.Name + @""", action: """" - }); - "); + }); + "); + } + else + { + builder.Append(@" + $('#TableEomItems').datagrid('appendRow', { + itemName: """ + item.Name + @""", + action: """" + }); + "); + } } previousGroupId = group.Id; // only set if group has items