Offline bills are no longer lost on logout
Logging out, or a session expiring, could clear bills made offline that had not been sent yet. Now only bills already synced are cleared.
What was wrong
Every logout, including a session expiring, cleared the device's offline data. Bills made offline and not yet sent to the server could be lost.
What changed
Logout now removes only rows that were already synced. Unsent bills stay on the device and sync for the business that made them, even if another business signs in on the same computer.