@extends('layouts.admin') @section('content')

{{ __('Connectivity Status') }}

{{ __('Real-time status monitoring') }}

{{ __('LIVE') }}
{{ __('Online Machines') }}
{{ $activeMachines }}
{{ __('Offline Machines') }}
{{ $alertsPending }}
{{ __('Alerts Pending') }}
0

{{ $activeMachines }}

{{ __('Total Connected') }}

{{ __('Monthly Transactions') }}

{{ __('Monthly cumulative revenue overview') }}

{{ __("Today's Transactions") }}

${{ number_format($totalRevenue / 30, 0) }}

+12.5%

{{ __('vs Yesterday') }}

{{ __("Yesterday") }}

${{ number_format($totalRevenue / 25, 0) }}

{{ __("Day Before") }}

${{ number_format($totalRevenue / 40, 0) }}

{{ __('Machine Status List') }}

{{ __('Total items', ['count' => count($latestActivities)]) }}

{{ __('Real-time monitoring across all machines') }}

@forelse($latestActivities as $activity) @empty @endforelse
{{ __('Machine Info') }} {{ __('Running Status') }} {{ __('Today Cumulative Sales') }} {{ __('Current Stock') }} {{ __('Last Communication') }} {{ __('Alert Summary') }}
{{ $activity->machine->name ?? __('Machine Info') }} (SN: {{ $activity->machine->serial_no ?? 'N/A' }})
{{ $activity->machine->status === 'online' ? __('Online') : __('Offline') }} $ 0
15.5% {{ __('Low Stock') }}
{{ $activity->created_at->format('Y/m/d H:i') }} {{ __('No alert summary') }}
{{ __('No data available') }}

{{ __('Showing :from to :to of :total items', ['from' => 1, 'to' => count($latestActivities), 'total' => count($latestActivities)]) }}

@endsection