@extends('layouts.master') @section('title', 'Meta Flow List Detail') @section('content-header')
Name: {{ $metaFlow->user->name }}
Email: {{ $metaFlow->user->email }}
Flow ID: {{ $metaFlow->flow_id }}
Event Time: {{ $metaFlow->event_time ?? 'N/A' }}
Device Name:{{ $deviceInfoData['name'] }}
Device Version: {{ $deviceInfoData['version'] ?? 'N/A' }}
@elseN/A
@endif {{--IP Address: {{ $metaFlow->ip ?? 'N/A' }}
Identity Status: {{ ucfirst($metaFlow->identity_status) ?? 'N/A' }}
{{--Event Data: {{ $metaFlow->event_data ?? 'N/A' }}
--}}Created At: {{ $metaFlow->created_at->format('d-m-Y h:i A') }}
Zip Code: {{ $ipData['zip'] }}
City: {{ $ipData['city'] }}
Region: {{ $ipData['region'] }}
Country: {{ $ipData['country'] }}
Platform: {{ ucfirst(str_replace('_', ' ', $ipData['platform'])) }}
Email: {{ $emailData['emailAddress'] ?? 'N/A' }}
Status: @if ($metaFlow->identity_status == 'reviewNeeded') Review Needed @else {{ ucfirst(str_replace('_', ' ', $metaFlow->identity_status)) }} @endif
@break @case(config('constants.meta_flow_steps.document_check')) @php $documents = json_decode($step->data, true); @endphp {{--Full Name: {{ $document['fields']['fullName']['value'] }}
Date of Birth: {{ $document['fields']['dateOfBirth']['value'] }}
ID Number: {{ $document['fields']['documentNumber']['value'] }}
Expiration Date: {{ $document['fields']['expirationDate']['value'] }}
Address: {{ $document['fields']['address']['value'] }}
@endifEmission Date: {{ $document['fields']['emissionDate']['value'] }}
@endifRegion: {{ $document['region'] }}
@endifCountry: {{ $document['country'] }}
Status: @if ($step['status'] == 200) {{ $step['status'] }} OK @elseif($step['status'] == 404) {{ $step['status'] }} Not Found @endif
Cache Hit: {{ $step['cacheHit'] ? 'Yes' : 'No' }}
Reused: {{ $step['reused'] ? 'Yes' : 'No' }}
@if (isset($step['data']) && count($step['data']) > 0){{ $dataValue['label'] }}: {{ $dataValue['value'] }}
Age: {{ $step['data']['age'] }}
Error: {{ $step['error']['message'] }}
@endifNo Data Found
@endswitch| # | Event Name | Status | User | Webhook URL | Flow ID | Created At | Last Tried | Action |
|---|---|---|---|---|---|---|---|---|
| {{ $log->id }} | {{ $log->event_name ?? 'N/A' }} | @if ($log->status == 'success') Success @elseif($log->status == 'failure' || $log->status == 'failed' || $log->status == 'failed_permanently') Failure @endif | {{ $log->user->name ?? 'N/A' }} | {{ $log->webhook_url ?? 'N/A' }} | {{ $log->flow_id ?? 'N/A' }} | {{ $log->created_at->format('d-m-Y h:i A') }} | {{ $log->updated_at->format('d-m-Y h:i A') }} | {{-- create a modal trigger button called Show --}} |
| No Logs Found | ||||||||