diff --git a/app/Filament/Imports/Helper/ImportDetails.php b/app/Filament/Imports/Helper/ImportDetails.php index 09646923..bf75ecd2 100644 --- a/app/Filament/Imports/Helper/ImportDetails.php +++ b/app/Filament/Imports/Helper/ImportDetails.php @@ -42,15 +42,14 @@ class ImportDetails ], [ 'ss_team_id' => (int) $row[1], - 'tx_team_id' => (int) $row[2], - 'player_name' => $row[3], - 'ss_national_team_id' => (int) $row[4], - 'birthdate' => Carbon::parse($row[5])->format('Y-m-d'), - 'height' => (int) $row[6], - 'nationality' => $row[7], - 'position' => $row[8], - 'preferred_foot' => $row[9], - 'last_update' => Carbon::parse($row[10])->format('Y-m-d H:i:s'), + 'player_name' => $row[2], + 'ss_national_team_id' => (int) $row[3], + 'birthdate' => Carbon::parse($row[4])->format('Y-m-d'), + 'height' => (int) $row[5], + 'nationality' => $row[6], + 'position' => $row[7], + 'preferred_foot' => $row[8], + 'last_update' => Carbon::parse($row[9])->format('Y-m-d H:i:s'), 'created_at' => $now, 'updated_at' => $now, ] diff --git a/app/Models/StatistikoDetail.php b/app/Models/StatistikoDetail.php index 98e59f3c..0de07c5f 100644 --- a/app/Models/StatistikoDetail.php +++ b/app/Models/StatistikoDetail.php @@ -16,7 +16,6 @@ class StatistikoDetail extends Model protected $fillable = [ 'ss_player_id', 'ss_team_id', - 'tx_team_id', 'player_name', 'ss_national_team_id', 'birthdate',