@extends('layouts.app') @section('content') @include('includes.bread_crumb_with_header', [ 'header' => 'Product import log', 'bread_crumbs' => ['Home' => ""], ])
{{-- {{ dd($import_error_log)}}--}} @foreach($import_error_log as $index => $log) @php $messageObj = json_decode($log['error_message']); $type = gettype($messageObj); @endphp @if($log->error_type == "Failure") @else @endif @endforeach
# Product name Seller Date & Time
{{ $log->error_type }}
Warning Imported {{ $log->products->title }} {{ $log->users->name }} ( {{ $log->users->email }} ) {{ $log['created_at'] }}
@if(is_array($messageObj)) @foreach($messageObj as $messages) @endforeach @else @endif
@isset($messages->LongMessage) {{$messages->LongMessage}} @endisset
@isset($messageObj->LongMessage) {{$messageObj->LongMessage}} @endisset
{{ $import_error_log->links() }}
@endsection @push('script') @endpush