mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-22 14:22:40 +01:00
Filter 'complete' = 'confirmed or settled'
This commit is contained in:
parent
4ca152da7c
commit
143211f276
1 changed files with 5 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue