Filter 'complete' = 'confirmed or settled'

This commit is contained in:
nicolas.dorier 2022-02-09 12:17:21 +09:00
parent 4ca152da7c
commit 143211f276
No known key found for this signature in database
GPG Key ID: 6618763EF09186FE

View File

@ -669,6 +669,11 @@ namespace BTCPayServer.Services.Invoices
statusSet.Add("complete");
statusSet.Add("confirmed");
}
if (status == "complete")
{
statusSet.Add("settled");
statusSet.Add("confirmed");
}
}
query = query.Where(i => statusSet.Contains(i.Status));
}