@extends('layouts.app') @section('content') @php $kindLabels = ['seat' => 'Seat', 'license' => 'Lisensi']; $seatStatusLabels = \App\Models\LicenseSeat::SEAT_STATUSES; $typeLabels = \App\Models\License::TYPES; @endphp

Pratinjau impor

{{ $filename }} · belum ada data yang disimpan.

Unduh laporan
@csrf
@csrf
Baris terbaca
{{ $summary['total'] }}
Grup langganan
{{ $summary['groups'] }}
Baris error
{{ $summary['error_rows'] }}
Baris dengan peringatan
{{ $summary['warning_rows'] }}
@forelse ($rows as $row) @empty @endforelse
Baris Jenis Produk / edisi SBU Akun Qty Status seat Berakhir Rahasia Validasi
{{ $row['row'] }} {{ $kindLabels[$row['kind']] ?? $row['kind'] }}
{{ $row['product'] ?: '—' }}
{{ $row['vendor'] ?: '—' }} @if ($row['edition']) · {{ $row['edition'] }} @endif @if ($row['license_type']) · {{ $typeLabels[$row['license_type']] ?? $row['license_type'] }} @endif
{{ $row['sbu'] ?? '—' }} {{ $row['account'] ?: '—' }} {{ $row['qty'] }} {{ $row['seat_status'] ? ($seatStatusLabels[$row['seat_status']] ?? $row['seat_status']) : '—' }} {{ $row['expired_at']?->format('d-m-Y') ?? '—' }} {{ $row['has_secret'] ? '🔒 ada' : '—' }} @foreach ($row['errors'] as $error)
✕ {{ $error }}
@endforeach @foreach ($row['warnings'] as $warning)
⚠ {{ $warning }}
@endforeach @if ($row['errors'] === [] && $row['warnings'] === []) ✓ siap @endif
Tidak ada baris yang dapat dibaca.

Nilai rahasia tidak ditampilkan di pratinjau. Baris error dilewati saat konfirmasi; perbaiki file dan impor ulang.

@endsection