fixed stock out multiple save logic
moved redirect logic outside sync function
Merge pull request #295 from musamusa/bug/fix-stock-out-sync-offline

Bug/fix stock out sync offline
Merge branch 'upstream-develop' into refactor/reminder-factory
merged upstream and started drafting add, clear functions for reminder factory