@extends('layout.administrator.index') @section('title', 'Historial') @section('style') @endsection @section('content')
{{--

Historial

--}}
@if(session('success')) @endif @if(session('danger')) @endif @if($errors->any())
@foreach($errors->all() as $error) - {{$error}}
@endforeach
@endif

Busqueda de muestras


Sample: {{$sample->code}}

Lote: {{$sample->lot}}

Flota

{{$sample->getFleet->name}}

Equipo

{{$sample->getEquipment->unit_id}}

Componente

{{$sample->component}}

Lubricante

{{$sample->lubricant}}

Tipo de sistema

{{$sample->system_type}}

Marca del aceite

{{$sample->oil_brand}}

Peso del aceite

{{$sample->oil_weight}}

Marca

{{$sample->make}}

Modelo

{{$sample->model}}

Horometro del componente

{{$sample->horometer}}

Tiempo del aceite

{{$sample->oil_time}}

Tipo de aceite

{{$sample->oil_type}}

Cambio de aceite

@if ($sample->oil_change == 'true')
SI
@else
NO
@endif

Cambio de filtro

@if ($sample->filter_change)
SI
@else
NO
@endif
@if ($sample->sos=="true")

SOS

@endif

Fecha

Muestra

{{date("d/m/Y", strtotime($sample->sample_date_taken))}}

Recibido

{{date("d/m/Y", strtotime($sample->sample_date_received))}}
@if($history->date_of_analysis!=null)

AnĂ¡lisis

{{date("d/m/Y", strtotime($history->date_of_analysis))}}
@endif
{{$sampleLog->getTest->name}}
{{Config::get('constants.states_samples_test')[$sampleTest->state]['name']}}
@if (count($logs)>0) @foreach ($logs as $log) @endforeach @else @endif
Fecha Estado Archivo
{{date("d/m/Y", strtotime($log->created_at))}} {{Config::get('constants.states_samples_test')[$log->state]['name']}}
No tienes registros
@endsection @section('js') @endsection