Skip to content

Commit

Permalink
fix: close order goes back to the listing
Browse files Browse the repository at this point in the history
  • Loading branch information
iRaySpace committed May 7, 2019
1 parent 7b714df commit 8384670
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,5 @@

# v1.2.6 [6 мая 2019]
- Modified TailOrder Line model for take away
- Prompt on viewing order
- Prompt on viewing order
- Close order goes back to the listing
2 changes: 2 additions & 0 deletions src/container/SalesContainer/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -697,6 +697,7 @@ export default class SalesContainer extends React.Component {
currentTable,
queueOrigin,
setCurrentTable,
setViewingOrder,
} = this.props.stateStore;
const { defaultReceipt } = this.props.receiptStore;

Expand All @@ -707,6 +708,7 @@ export default class SalesContainer extends React.Component {
});
setCurrentTable(-1);
defaultReceipt.clear();
setViewingOrder(false);
});
};

Expand Down

0 comments on commit 8384670

Please sign in to comment.