Fixes:
- POS resets reason codes on logout and correctly displays the currently logged in user reason codes
- Fixed issue with matrix products not being added in offline mode
- Added logic to stop opening payments modal in case the user closes the G. modal for selecting invoice type.