diff --git a/.DS_Store b/.DS_Store index d6388e8..387f355 100644 Binary files a/.DS_Store and b/.DS_Store differ diff --git a/app/Imports/DatasetTable2Import.php b/app/Imports/DatasetTable2Import.php index d2fe47f..79e2566 100644 --- a/app/Imports/DatasetTable2Import.php +++ b/app/Imports/DatasetTable2Import.php @@ -31,7 +31,7 @@ public function model(array $row) { // cek kalau row kosong jangan insert - if ($row[0] === null && $row[1] === null && $row[2] === null && $row[3] === null && $row[4] === null && $row[5] === null && $row[6] === null && $row[7] === null && $row[8] === null) { + if ($row[0] === null && $row[1] === null && $row[2] === null && $row[3] === null && $row[4] === null && $row[5] === null && $row[6] === null && $row[7] === null) { return null; // baris kosong dilewati } return new DatasetTable2([ @@ -44,7 +44,6 @@ public function model(array $row) 'luas_lahan_perkebunan' => $row[5], 'luas_lahan_hutan' => $row[6], 'luas_lahan_badan_air' => $row[7], - 'created_by' => $row[8], ]); } } diff --git a/public/.DS_Store b/public/.DS_Store index 965c297..f342cb2 100644 Binary files a/public/.DS_Store and b/public/.DS_Store differ diff --git a/public/template/table56.xlsx b/public/template/table56.xlsx index fb561bb..6a47eb7 100644 Binary files a/public/template/table56.xlsx and b/public/template/table56.xlsx differ