Don't filter recurring invoices
This commit is contained in:
parent
e6a4399eab
commit
7ff4eebef1
|
|
@ -28,9 +28,9 @@ class RecurringInvoiceRepository {
|
||||||
}
|
}
|
||||||
|
|
||||||
Future<BuiltList<InvoiceEntity>> loadList(
|
Future<BuiltList<InvoiceEntity>> loadList(
|
||||||
Credentials credentials, int createdAt, bool filterDeleted) async {
|
Credentials credentials, bool filterDeleted) async {
|
||||||
String url = credentials.url +
|
String url = credentials.url +
|
||||||
'/recurring_invoices?include=invitations,documents,client.gateway_tokens,client.group_settings&created_at=$createdAt';
|
'/recurring_invoices?include=invitations,documents,client.gateway_tokens,client.group_settings';
|
||||||
|
|
||||||
if (filterDeleted) {
|
if (filterDeleted) {
|
||||||
url += '&filter_deleted_clients=true';
|
url += '&filter_deleted_clients=true';
|
||||||
|
|
|
||||||
|
|
@ -310,7 +310,6 @@ Middleware<AppState> _loadRecurringInvoices(
|
||||||
repository
|
repository
|
||||||
.loadList(
|
.loadList(
|
||||||
state.credentials,
|
state.credentials,
|
||||||
state.createdAtLimit,
|
|
||||||
state.filterDeletedClients,
|
state.filterDeletedClients,
|
||||||
)
|
)
|
||||||
.then((data) {
|
.then((data) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue