@extends ('layouts.in') @section ('body')
@if ($users_multiple)
@endif
@if ($user_empty) @endif @if ($vehicle_empty) @endif @foreach ($list_alarm as $row) @if ($user_empty) @endif @if ($vehicle_empty) @endif @endforeach @foreach ($list_cut as $row2) @if ($user_empty) @endif @if ($vehicle_empty) @endif @endforeach
{{ __('alarm-notification-index.user') }}{{ __('alarm-notification-index.vehicle') }}{{ __('alarm-notification-index.alarm') }} {{ __('alarm-notification-index.name') }} {{ __('alarm-notification-index.message') }} {{ __('alarm-notification-index.created_at') }} {{ __('alarm-notification-index.read_at') }} {{ __('alarm-notification-index.read_by') }}
{{ $row->user->name }}{{ $row->vehicle->name }} @if ($row->alarm) {{ $row->typeFormat()->title() }} @else {{ $row->typeFormat()->title() }} @endif {{ $row->name }} {{ $row->typeFormat()->message() }} @dateLocal($row->date_at) @dateLocal($row->read_at) @if ($row->readBy) {{ $row->readBy->email }}@endif
{{ $row2->user->name }}{{ $row2->vehicle->name }}{{ __('alarm-notification-index.cut_engine') }} {{ $row2->name }} {{ $row2->name == "apagado" ? __('alarm-type-cut-engine.message-off') : __('alarm-type-cut-engine.message-on') }} @dateLocal($row2->created_at) @dateLocal($row2->read_at) @if ($row2->readBy) {{ $row2->readBy->email }}@endif
@stop