@extends('admin.layouts.app') @section('title', 'Oyuncu CSV Yükle') @section('content')

Oyuncu CSV Yükle

@csrf

Uyarı: TC ile upsert yapılır. Mevcut oyuncular güncellenir.

@if (session('errors_list'))
Hata Ayrıntıları
    @foreach(session('errors_list') as $e)
  • {{ $e }}
  • @endforeach
@endif @if (session('preview'))
Önizleme (ilk {{ count(session('preview')) }} satır)
@foreach(session('preview') as $r) @endforeach
TC Ad Soyad No Takım Starter
{{ $r['tckimlik'] ?? '' }} {{ $r['isim'] ?? '' }} {{ $r['oyuncuNo'] ?? '' }} {{ $r['takimID'] ?? '' }} {{ $r['ilk5'] ?? 0 }}
@endif
Son 50 Oyuncu
@foreach($recent as $it) @endforeach
ID TC Ad Soyad Takım No
{{ $it->oyuncuID }} {{ $it->tckimlik }} {{ $it->isim }} {{ $it->takimID }} {{ $it->oyuncuNo }}
@endsection