Refresh data after expensing a PO
This commit is contained in:
parent
2e3eb34d10
commit
7a1e5be1a9
|
|
@ -297,6 +297,7 @@ Middleware<AppState> _convertPurchaseOrdersToExpense(
|
||||||
EntityAction.convertToExpense)
|
EntityAction.convertToExpense)
|
||||||
.then((purchaseOrders) {
|
.then((purchaseOrders) {
|
||||||
store.dispatch(ConvertPurchaseOrdersToExpensesSuccess(purchaseOrders));
|
store.dispatch(ConvertPurchaseOrdersToExpensesSuccess(purchaseOrders));
|
||||||
|
store.dispatch(RefreshData());
|
||||||
if (action.completer != null) {
|
if (action.completer != null) {
|
||||||
action.completer.complete(null);
|
action.completer.complete(null);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue