Bahi Khata Logo
Bahi Khata
Chapter 135 min read🇮🇳 English

Offline Mode & Auto-Sync (ऑफ़लाइन मोड व स्वतः सिंक)

Mandi yards often have heavy tin-shed roofs, weak mobile tower signals, and early morning network congestion when thousands of farmers and traders gather at the same time....

Chapter 13: Offline Mode & Auto-Sync (ऑफ़लाइन मोड व स्वतः सिंक)

Mandi yards often have heavy tin-shed roofs, weak mobile tower signals, and early morning network congestion when thousands of farmers and traders gather at the same time.

BahiKhata Green is built with True Offline-First Technology. That means you never have to wait for an internet connection to bill your customers or record truck arrivals.


🟢 vs 🔴 1. How to Check Your Connection Status#

Look at the top header of the app:

Side-by-side comparison of Top App Bar in (1) Online Mode with glowing green logo and 'Online' indicator vs (2) Offline Mode with warning red header and 'Offline / ऑफ़लाइन' pill.
📸Side-by-side comparison of Top App Bar in (1) Online Mode with glowing green logo and 'Online' indicator vs (2) Offline Mode with warning red header and 'Offline / ऑफ़लाइन' pill.
  • 🟢 Green Status (Online / ऑनलाइन):
    Your phone or computer has an active internet connection. All sales, payments, and stock changes are instantly saved to the secure cloud.
  • 🔴 Red Status (Offline / ऑफ़लाइन):
    Your mobile internet or Wi-Fi is disconnected or weak. The app is running smoothly in Local Memory Mode on your device.

⚡ 2. What Can You Do While Offline?#

Almost Everything! You do not need to stop your morning trade:

Action Works Offline? What Happens
Create Quick Sales & Bills YES Bill is created instantly, saved in local phone storage, and stock is deducted immediately.
Print Thermal Receipts YES Bluetooth and USB thermal printers connect directly to your phone/PC without needing internet!
Record Farmer Purchases YES Lot arrivals and farmer credit are saved safely in local memory.
Record Customer Payments YES Customer balance decreases immediately on your screen.
Log Vegetable Wastage YES Discarded weights and spoilage logs are recorded locally.
Log Daily Expenses YES Tea, fuel, and labor expenses are recorded locally.
Check Current Stock YES Available stock is loaded from your local device database.

🔄 3. How Auto-Sync Works When Internet Returns#

You don't need to press complicated sync buttons. The app handles everything automatically in the background:

graph TD
    A[Offline: You create 10 Sales & 3 Payments in Mandi] --> B[All saved safely in phone's local memory]
    B --> C[You step out of mandi or turn on Wi-Fi / Mobile Data]
    C --> D[App automatically detects internet connection]
    D --> E[Sync Status Bar appears: 'Syncing 13 transactions...']
    E --> F[Green checkmark: 'All data synchronized with cloud! ✅']
📸

📸 Screenshot Placeholder:
Bottom floating Sync Status Bar showing the syncing spinner with 'Uploading 4 offline bills...' transitioning into a green checkmark 'Sync Complete!'.

  1. As soon as your phone catches mobile network or connects to shop Wi-Fi, the app automatically wakes up.
  2. A small status bar at the bottom will show: "Syncing 8 offline transactions...".
  3. Within 2 to 3 seconds, all your offline bills, payments, and purchases are uploaded to the cloud server.
  4. The top header turns 🟢 Green, and your data is permanently backed up!

🛡️ 4. Golden Rules for Mandi Staff During Offline Mode#

To keep your offline data 100% safe:

⚠️

⚠️ IMPORTANT RULES:

  1. Do NOT Clear Browser History / Cache: While in offline mode with unsaved transactions, do not clear your browser data or uninstall the app.
  2. Do NOT Log Out While Offline: Stay logged in until your pending transactions have synced to the green status.
  3. End-of-Day Sync Check: Before going home in the evening, make sure your phone is connected to internet for at least 1 minute so the top banner shows 🟢 Online (Synced).

❓ Frequently Asked Questions (FAQ)#

Q1: If my cashier makes 20 bills offline on his phone, will I see them on my phone?

You will see them as soon as your cashier's phone connects to the internet and syncs. Once synced, his bills immediately appear on your owner dashboard!

Q2: Can I send WhatsApp bills while offline?

WhatsApp requires internet to deliver messages to other people. However, you can still print physical thermal paper receipts on your Bluetooth printer offline. When internet returns, you can also re-send the WhatsApp bills from your Sales History tab with 1 tap.

Q3: What if my phone battery dies while offline?

Don't worry! All completed bills were already saved into your phone's permanent local storage. When you charge and turn on your phone, everything will still be there and will sync as soon as you have internet.


➡️ Next Step:#

Have a question or stuck somewhere? Check out Chapter 14: Master FAQ & Troubleshooting for answers to all common questions!

Was this chapter helpful?

Help us improve our Smart Indian Ledger training manuals.

Ready to start using BahiKhata Green?

Smart Indian Ledger for Mandi Traders & Wholesalers

Start 7-Day Free Trial