Skip to the content
Dawak

Working offline

Keep selling even when the internet drops, how the sales are sent later without duplicates, and which differences are reviewed.

On this page

A pharmacy does not stop when the internet drops, which is why the point of sale works offline (on the plans that include it).

How it works

  1. Open the point of sale once while online: Dawak saves a catalog of your products and prices on your device.
  2. If the internet drops you keep selling, scanning and searching. Every invoice is kept on the device.
  3. When the internet returns, the invoices are sent to the server automatically.

The connected / offline indicator at the top of the screen tells you the status.

Can an invoice be sold twice?

No. Each invoice has a unique identifier the device gives it, so if it is sent again (a drop or a double tap) it is recorded only once, even if two tabs or two devices send it at the same moment.

Good to know about sending:

  • Waiting sales are kept on the device itself (in its own database, not the small browser storage), so many sales fit and they survive closing the app. If the device cannot keep them (its storage is full or blocked), the status badge turns red and tells you.
  • Two tabs of the app on one device share the same waiting list: a sale made in one is never lost by the other, and only one of them sends at a time.
  • A request that gets no answer in 30 seconds is given up and tried again after a pause, so a bad connection never blocks the others.
  • The time of a sale is the real moment it was made, even if it reaches the server hours later. If the device's clock is wrong (ahead or behind), Dawak compares it with the server's clock when it sends and corrects the time, so you can find the sale on a camera recording. A sale is never refused because of the device's clock.

What happens to the stock?

Sales are taken off the stock once they arrive, and kept as they happened (at the device's prices). Dawak never replaces the stock quantity with another quantity: it adds the movements, so another device's sales are not lost.

Differences to review

If something differs on arrival (for example selling more than was available because another device sold the stock, or selling at a price that has changed), a difference to review is recorded and the invoice is not refused. You see it on the Sync page and get notices, and you decide what to do.

What needs internet?

Works offline Needs internet
Selling by barcode and search Reading with AI
Keeping invoices on the device Opening and closing the drawer and its movements (for now)
Pressing Receive into stock on a delivery that is open when the connection drops: it waits on the device and goes into stock when sent Starting a receiving and adding its lines (the page needs the server)
Reports and accounts

Make sure: open the point of sale once while online every morning, so the catalog on your device is fresh.

Last updated: