diff --git a/Site/Pages/v5/Ledgers/EndOfMonth.aspx.cs b/Site/Pages/v5/Ledgers/EndOfMonth.aspx.cs
index 47329504..65b42960 100644
--- a/Site/Pages/v5/Ledgers/EndOfMonth.aspx.cs
+++ b/Site/Pages/v5/Ledgers/EndOfMonth.aspx.cs
@@ -81,13 +81,22 @@ namespace Swarmops.Frontend.Pages.Ledgers
previousGroupIdData = " data-previous-group='" + previousGroupId + "'";
}
+ bool groupReady = true;
+ foreach (EomItem item in group.Items)
+ {
+ if (!item.Completed)
+ {
+ groupReady = false;
+ }
+ }
+
// Group header
builder.Append(@"
$('#TableEomItems').datagrid('appendRow', {
itemGroupName: '" + group.Header.Replace(" ", " ").Replace("'", "''") + @"',
- action: ""
"",
+ action: ""
"",
itemId: '" + group.Id + @"'
});