---
id: OV-C8-POS-006
title: "Offline submission counts immediately as achievement, reconciled on sync"
product: mobile
module: offline-visitation
type: functional
priority: P1
risk: high
status: draft
automationStatus: planned
sourceRefs:
  tsd: PK144
  tsdSection: C8
  tsdScenario: C8.6
  prd: PK144
  jira: null
automationRef: null
lifecycleStatus: active
lifecycleReason: "AI-generated draft from PK144 TSD C8.6; pending QA review."
lastReviewedAt: null
reviewedBy: null
supersededBy: null
duplicateOf: null
blockedBy: null
preconditionRefs:
  - PRE-OV-mode-luring-active
tags:
  - mobile
  - offline-visitation
  - mode-luring
  - pk144
  - staging
---
## Objective
Verify offline submissions count as achievements immediately and reconcile on sync.

## Preconditions
- See [[PRE-OV-mode-luring-active]]
- And the employee submits a visitation in Mode Luring (local save succeeds, queue item created)

## Steps
1. Observe the calendar achievement count offline
2. Sync and observe reconciliation

## Expected Result
- Then the visitation is IMMEDIATELY counted as an achievement on the calendar: Non-PJP single number (e.g., "1", "2", "3"); PJP fraction (e.g., "1/2", "2/2")
- And the count persists while offline and does NOT reset awaiting sync
- And on sync, consistent → display unchanged; discrepancy (multi-device conflict) → backend value takes precedence

## Source Traceability
- TSD: PK144
- Section: C8 - Mode Luring State Management
- Scenario: C8.6 - Offline submission counted as achievement
- Acceptance Criteria: E6.US-8

## Evidence Required
- Achievement count offline vs after sync.

## Notes / Gaps
- Testing Concern #33 (Medium): cross-PRD achievement count reconciliation owner.
