@extends('layouts.help') @section('title', 'Workflows') @section('heading', 'Workflows by role & feature') @section('subheading', 'Who does what — cashiers, managers, admins — and which features need the network.') @section('content')

By role

Cashier

  1. Open desktop app → login → select Checkout counter.
  2. Scan → take payment → Complete sale → receipt prints silently.
  3. Press F2 / New sale for the next customer.
  4. If Offline: keep selling; watch pending count until back to 0.
  5. Optional: attach customer, apply discount within limit, process simple refunds.
  6. End of day: Online + 0 pending before leaving.

Manager

  1. Approve over-limit discounts / returns when the system asks for PIN.
  2. Resolve Sync needs review (fix stock → Retry, or Void local).
  3. Handle lay-bys, exchanges, and stock questions while Online.
  4. Morning: confirm tills Online and printers tested.
  5. Use Daily summary / Reports for the day.

Admin / IT

  1. Deploy server, set APP_URL, run migrations, build assets.
  2. Settings: Offline mode, cashier discount limit, refunds allowed.
  3. Create stores, POS terminals (counters), staff users.
  4. Publish Windows installer to login download (or hand out Setup EXE).
  5. On each till: install app, POS URL, printers, test prints.
  6. Server backups (Settings → Backup) — tills are not the backup.

By feature (scenarios)

1. Online sale + silent receipt

Cashier completes sale → saved on server → desktop prints receipt with no Chrome dialog.

2. Label print

Quick Add or Labels while Online → desktop sends to XP-420B only. Receipt printer must stay separate.

3. Internet drops mid-day

Badge Offline → sell from cache → “Saved offline” → auto sync when Online. If stuck: Till → Open log folder; Review panel Retry/Void.

4. Last unit sold on two offline tills

First sync accepted; second rejected → Sync needs review. Server stock wins.

5. Offline customer + discount

Offline extras → find/new customer → discount ≤ limit → syncs later. Over-limit blocked offline.

6. Offline refund

Only against recent sales cached on this till. Exchange = online only.

7. Lay-by / stock receive while Offline

Not available. Tell the customer or supplier to wait until Online.

8. Printer wrong / no print

Till settings → correct printers → Test receipt / Test label. Check USB, power, 40×30 labels.

9. New till / reinstall

Install Setup EXE → URL + printers → login → counter → Online cache. Do not wipe app data mid-day.

10. End of day / morning open

Cashier: Online + 0 pending. Manager: server backup. Tills are not the backup source.

Feature matrix

FeatureOnlineOffline
Sell / payYesYes (cached catalog)
Silent receiptYes (Electron)Yes (local slip)
Silent labelsYes (Electron)No
Customer attachYesYes (cached + new phone)
Discount ≤ limitYesYes
Discount > limitManager PINBlocked
Refund (cached sale)YesYes (sync later)
ExchangeYesNo
Lay-byYesNo
Stock receiveYesNo
ReportsYesNo

Need setup steps? See Installation. Need offline detail? See Offline workflow.

@endsection