Improve document type cleanup and student import reliability
This commit is contained in:
@@ -85,14 +85,22 @@
|
||||
<div class="text-xs text-slate-400">{{ $row['data']['gender'] ?: '-' }} · {{ $row['data']['phone_number'] ?: '-' }}</div>
|
||||
</td>
|
||||
<td class="px-4 py-4 text-slate-600">
|
||||
<div>Tahun: {{ $row['data']['academic_year_id'] ?: '-' }}</div>
|
||||
<div>Jurusan: {{ $row['data']['department_id'] ?: '-' }}</div>
|
||||
<div>Kelas: {{ $row['data']['class_id'] ?: '-' }}</div>
|
||||
<div>Tahun: {{ $row['display']['academic_year'] ?? ($row['data']['academic_year_id'] ?: '-') }}</div>
|
||||
<div>Jurusan: {{ $row['display']['department'] ?? ($row['data']['department_id'] ?: '-') }}</div>
|
||||
<div>Kelas: {{ $row['display']['class'] ?? ($row['data']['class_id'] ?: '-') }}</div>
|
||||
@if (!empty($row['display']['class_context']))
|
||||
<div class="text-xs text-slate-400">{{ $row['display']['class_context'] }}</div>
|
||||
@endif
|
||||
</td>
|
||||
<td class="px-4 py-4">
|
||||
<span class="rounded-full px-3 py-1 text-xs font-semibold {{ $row['action'] === 'update' ? 'bg-amber-100 text-amber-700' : 'bg-sky-100 text-sky-700' }}">
|
||||
{{ $row['action'] === 'update' ? 'Update' : 'Insert' }}
|
||||
</span>
|
||||
<div class="flex flex-col gap-2">
|
||||
<span class="rounded-full px-3 py-1 text-xs font-semibold {{ $row['action'] === 'update' ? 'bg-amber-100 text-amber-700' : 'bg-sky-100 text-sky-700' }}">
|
||||
{{ $row['action'] === 'update' ? 'Update' : 'Insert' }}
|
||||
</span>
|
||||
<span class="rounded-full bg-slate-100 px-3 py-1 text-xs font-semibold text-slate-600">
|
||||
Status: {{ $row['display']['status'] ?? ($row['data']['status'] ?: '-') }}
|
||||
</span>
|
||||
</div>
|
||||
</td>
|
||||
<td class="px-4 py-4 text-sm">
|
||||
@if ($row['is_valid'])
|
||||
|
||||
Reference in New Issue
Block a user