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

TESTE DE SECURITATE

Example Card
@if(Auth::user()->role_id==1) @endif @foreach($tests as $test) @if($test->response_time > 0) @else @endif @if($test->pv_doc) @else @endif @if(Auth::user()->role_id==1) @endif @endforeach
Agentie Data Testare Declansator Ora Declansare Ora sorire Durata(Minute) Rezultat Echipa a sosit Operator Proces VerbalEliminare
{{$test->myBranch->branch}} {{$test->myBranch->name}} {{Carbon\Carbon::parse($test->control_date)->format('d-m-Y')}} {{$test->myDevice->name}} {{$test->test_start}} {{$test->test_response}}{{round($test->response_time/60,2)}}{{$test->response_time}} @php $test->succeded ? $result = 'Cu succes ' : $result='Cu intarziere'; @endphp @php $test->appearance ? $appearance='DA' : $appearance = 'NU'; @endphp {{$test->myUser->username}}Fara proces Verbal
@endsection @push('js') @endpush