Correct invoicing tasks
This commit is contained in:
parent
ab22dfbd31
commit
1c68fd6fbf
|
|
@ -19,7 +19,7 @@ InvoiceItemEntity convertTaskToInvoiceItem({
|
||||||
bool includeProjectHeader = false,
|
bool includeProjectHeader = false,
|
||||||
}) {
|
}) {
|
||||||
final state = StoreProvider.of<AppState>(context).state;
|
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 client = state.clientState.get(task.clientId);
|
||||||
final group = state.groupState.get(client.groupId);
|
final group = state.groupState.get(client.groupId);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue