Dashboard: Do not display archived invoices in recent invoices

Fixes #3783.
This commit is contained in:
Dennis Reimann 2022-05-31 11:51:12 +02:00 committed by Andrew Camilleri
parent 46b9760179
commit 89c1b94a12

View file

@ -38,6 +38,7 @@ public class StoreRecentInvoices : ViewComponent
{
UserId = userId,
StoreId = new [] { store.Id },
IncludeArchived = false,
Take = 5
});
var invoices = new List<StoreRecentInvoiceViewModel>();