@extends('layouts.admin') @section('content')
{{ __('Real-time status monitoring') }}
{{ $activeMachines }}
{{ __('Total Connected') }}
{{ __('Monthly cumulative revenue overview') }}
{{ __("Today's Transactions") }}
${{ number_format($totalRevenue / 30, 0) }}
{{ __('vs Yesterday') }}
{{ __("Yesterday") }}
${{ number_format($totalRevenue / 25, 0) }}
{{ __("Day Before") }}
${{ number_format($totalRevenue / 40, 0) }}
{{ __('Real-time monitoring across all machines') }}
| {{ __('Machine Info') }} | {{ __('Running Status') }} | {{ __('Today Cumulative Sales') }} | {{ __('Current Stock') }} | {{ __('Last Signal') }} | {{ __('Alert Summary') }} |
|---|---|---|---|---|---|
|
{{
$machine->name }}
(SN:
{{ $machine->serial_no }})
|
@php
$cStatus = $machine->calculated_status;
@endphp
@if($cStatus === 'online')
{{
__('Error') }}
@else
{{
__('Offline') }}
@endif
|
$ 0 |
|
{{ $machine->last_heartbeat_at ? $machine->last_heartbeat_at->format('Y/m/d H:i') :
'---' }}
|
{{ __('No alert summary') }} |
| {{ __('No data available') }} | |||||