@extends('layouts.demo10.base') @section('content') @can('view.import')
Project/{{ $currentProject->name ?? 'Projects' }}/Import
| {{ $isCsvImport ? 'Source' : 'Form ID' }} | Imported By | Total Imports | Schema File | SQL File | Imported At | Status |
|---|---|---|---|---|---|---|
| @php $historyConnection = $history->odkConnection; $historySource = ($historyConnection?->source_type ?? 'odk') === 'csv' ? ($historyConnection?->file_name ?? 'CSV') : ($historyConnection?->form_id ?? 'Unknown'); @endphp {{ $historySource }} | {{ $history->user?->name ?? 'N/A' }} | {{ $history->total_imported }} | {{ $history->schemaHistory ? basename($history->schemaHistory->schema_file) : 'N/A' }} | @if($history->sql_file) Download SQL @else N/A @endif | {{ $history->created_at->format('M d, Y') }} | {{ ucfirst($history->status) }} |
You do not have permission to view this page.