@extends('layouts.appReportes') @section('htmlheader_title','audits') {{-- @endsection --}} @section('contentheader_title', 'audits') {{-- @endsection --}} @section('main-content')
| ID | TIPO | Tabla | Registro | Usuario | LOG | tipo de log | Creado |
|---|---|---|---|---|---|---|---|
| {{$auditoria->id}} | {{$auditoria->AuditType}} | {{$auditoria->AuditTabla}} | {{$auditoria->AuditRegistro}} | {{$auditoria->AuditUser}} | {{-- {{gettype ( $auditoria->Auditlog )}} --}} @switch(gettype($auditoria->Auditlog)) @case('boolean') {{$auditoria->Auditlog}} @break @case('integer') {{$auditoria->Auditlog}} @break @case('double') {{$auditoria->Auditlog}} @break @case('string') {{$auditoria->Auditlog}} @break @case('array') @foreach ($auditoria->Auditlog as $key => $value) {{$key}}: @if(is_array($value)) @foreach ($value as $key2 => $value2) {{$key2}}: @if(is_array($value2)) @foreach ($value2 as $key3 => $value3) {{$key3}}: @if(is_array($value3)) {{'array de 3er nivel'}} @else {{$value3}} @endif @endforeach @else {{$value2}} @endif @endforeach @else {{$value}} @endif @endforeach {{-- @foreach ($auditoria->Auditlog as $key => $value) clave:{{$key}} valor:{{$value}} @endforeach @break--}} @case('object') {{-- {{$auditoria->Auditlog}} --}} {{-- @foreach ($auditoria->Auditlog as $key => $value) clave:{{$key}} valor:{{$value}} @endforeach --}} @break @case('resource') {{$auditoria->Auditlog}} @break @case('NULL') {{$auditoria->Auditlog}} @break @case('unknown type') {{$auditoria->Auditlog}} @break @default @endswitch | {{$auditoria->tipo}} | {{$auditoria->created_at}} |
| ID | TIPO | Tabla | Registro | Usuario | LOG | tipo de log | Creado |