@extends('hotel_workspace.layout') @section('hotel-content')

Offline / Online Sync — Pilot

Back to Settings
@if(!$state)
This installation has not been configured for synchronisation.
@else
{{ ucfirst($state->mode) }} — Device {{ $state->number }}
{{ $pending }}
{{ $state->last_sync_at ?: 'Not yet synchronised' }}
{{ $state->last_error ?: 'Ready' }}

Disconnected installations show their last known availability and stock. Changes appear elsewhere after synchronisation.

Conflicts and Archived Work

Download Review Records@forelse($conflicts as $c)@empty@endforelse
DateOperationDirectionIssueStatus
{{ $c->created_at }}{{ $c->event_uuid }}{{ $c->direction }}{{ $c->reason }}{{ $c->resolved_at?'Archived / reviewed':'Needs review' }}
No conflicts.
{{ $conflicts->links() }}
@if($state->mode==='local'&&$conflicts->whereNull('resolved_at')->isNotEmpty())

Use the Online Version

This archives all unsent local operations and restores their previous values so online changes can be downloaded. Archived transactions will no longer count in local totals. Review the downloaded records and reconcile any money received before re-entering valid work. Take a database backup first.

@csrf
@endif @endif @endsection