Correct invoicing tasks

This commit is contained in:
Hillel Coren 2022-01-24 08:08:21 +02:00
parent ab22dfbd31
commit 1c68fd6fbf
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ InvoiceItemEntity convertTaskToInvoiceItem({
bool includeProjectHeader = false,
}) {
final state = StoreProvider.of<AppState>(context).state;
final project = state.projectState.map[task.projectId];
final project = state.projectState.get(task.projectId);
final client = state.clientState.get(task.clientId);
final group = state.groupState.get(client.groupId);