@extends('layouts.app') @push('css') @endpush @section('content') @include('includes.bread_crumb_with_header', [ 'header' => 'Product import log', 'bread_crumbs' => ['Dashboard' => ""], ])
{{-- {{ 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 Date & Time
{{ $log->error_type }}
Warning Imported {{ $log->products->title }} {{ $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