mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-01-19 05:33:31 +01:00
Filter 'complete' = 'confirmed or settled'
This commit is contained in:
parent
4ca152da7c
commit
143211f276
@ -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));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user