@extends('admin.layout.master') @section('content')

{{trans('admin.time_date')}}

{{trans('admin.log_detail')}}

@foreach ($record as $row) @php $html = ""; if(count($row->properties) > 0): // echo count($row->properties); if (isset($row->properties['old']) and $row->properties['old']) : $html .= "Labels : Old Data
"; foreach ($row->properties['old'] as $key => $value) { if(!is_array($value)): $html .= $key . ' : ' . $value . '
'; endif; } endif; if (isset($row->properties['modified']) and $row->properties['modified']) : $html .= "Labels : Modified Data
"; foreach ($row->properties['modified'] as $key => $value) { $html .= $key . ' : ' . $value . '
'; } endif; endif; @endphp

{{date('H:i A',strtotime($row->created_at))}} - {{date('d-M-Y',strtotime($row->created_at))}}

{{$row->log_name}}

{{$row->description}}
Details:
{!!$html!!}

@endforeach
@endsection @section('custom-js') @endsection