@extends('layouts.app') @section('title') {{ __('Dashboard') }} @endsection @section('content') {{-- Operator section --}} @if (auth()->user()->isOperator())

{{ __('Operator') }}

{{ __('Actions') }}
@endif {{-- Administrator and Supervisor section --}} @if (!auth()->user()->isOperator())

{{ __('Dashboard') }}

{{ __('Recent Startup Checks') }}
@foreach ($startups as $item) @endforeach
{{ __('Date') }} {{ __('Tool') }} {{ __('Created By') }} {{ __('Actions') }}
{{ $item->datetime() }} {{ $item->tool->name }} ({{ $item->tool->prod_number }}) {{ $item->user->name }} {{ $item->created_at }}
{{ __('Recent Work Diary') }}
@if ($diaries === null)

{{ __('No records') }}

@endif
@foreach ($diaries as $item) @endforeach
{{ __('Date') }} {{ __('Demolition material') }} {{ __('Volume') }} [m3] {{ __('Duration') }} [h] {{ __('Consumption') }} [l/h] {{ __('Created by') }} {{ __('Note') }}
{{ $item->date() }} {{ $item->material }} {{ $item->volume }} {{ $item->duration }} {{ $item->consumption }} {{ $item->user->name }} {{ $item->note }}
@endif @endsection