update
							parent
							
								
									a835941849
								
							
						
					
					
						commit
						685c792ae5
					
				| 
						 | 
					@ -37,12 +37,11 @@ public function model(array $row)
 | 
				
			||||||
        return new DatasetTable41A([
 | 
					        return new DatasetTable41A([
 | 
				
			||||||
            'dataset_id'                => $this->datasetId,
 | 
					            'dataset_id'                => $this->datasetId,
 | 
				
			||||||
            'created_by'                => $this->userId,
 | 
					            'created_by'                => $this->userId,
 | 
				
			||||||
            'jenis_dokumen'             => $row[0],
 | 
					            'jenis_dokumen'             => $row[2],
 | 
				
			||||||
            'kegiatan'                  => $row[1],
 | 
					            'kegiatan'                  => $row[3],
 | 
				
			||||||
            'komisi_penilai'            => $row[2],
 | 
					            'komisi_penilai'            => $row[4],
 | 
				
			||||||
            'pemrakarsa'                => $row[3],
 | 
					            'pemrakarsa'                => $row[5],
 | 
				
			||||||
            'dokumen'                   => $row[4],
 | 
					            'nomor_rekomendasi'         => $row[6],
 | 
				
			||||||
            'nomor_rekomendasi'         => $row[5],
 | 
					 | 
				
			||||||
        ]);
 | 
					        ]);
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -37,11 +37,11 @@ public function model(array $row)
 | 
				
			||||||
        return new DatasetTable41([
 | 
					        return new DatasetTable41([
 | 
				
			||||||
            'dataset_id'                => $this->datasetId,
 | 
					            'dataset_id'                => $this->datasetId,
 | 
				
			||||||
            'created_by'                => $this->userId,
 | 
					            'created_by'                => $this->userId,
 | 
				
			||||||
            'jenis_dokumen'             => $row[0],
 | 
					            'jenis_dokumen'             => $row[2],
 | 
				
			||||||
            'kegiatan'                  => $row[1],
 | 
					            'kegiatan'                  => $row[3],
 | 
				
			||||||
            'komisi_penilai'            => $row[2],
 | 
					            'komisi_penilai'            => $row[4],
 | 
				
			||||||
            'pemrakarsa'                => $row[3],
 | 
					            'pemrakarsa'                => $row[5],
 | 
				
			||||||
            'dokumen'                   => $row[4],
 | 
					            'dokumen'                   => $row[6],
 | 
				
			||||||
        ]);
 | 
					        ]);
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -31,18 +31,18 @@ public function model(array $row)
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// cek kalau row kosong jangan insert
 | 
					// 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) {
 | 
					        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 null; // baris kosong dilewati
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
        return new DatasetTable42([
 | 
					        return new DatasetTable42([
 | 
				
			||||||
            'dataset_id'        => $this->datasetId,
 | 
					            'dataset_id'        => $this->datasetId,
 | 
				
			||||||
            'created_by'        => $this->userId,
 | 
					            'created_by'        => $this->userId,
 | 
				
			||||||
            'nama_perusahaan'   => $row[0],
 | 
					            'nama_perusahaan'   => $row[2],
 | 
				
			||||||
            'lokasi'            => $row[1],
 | 
					            'lokasi'            => $row[3],
 | 
				
			||||||
            'jenis_kegiatan'    => $row[2],
 | 
					            'jenis_kegiatan'    => $row[4],
 | 
				
			||||||
            'jenis_izin'        => $row[3],
 | 
					            'jenis_izin'        => $row[5],
 | 
				
			||||||
            'nomor_sk'          => $row[4],
 | 
					            'nomor_sk'          => $row[6],
 | 
				
			||||||
            'dokumen'           => $row[5],
 | 
					            'dokumen'           => $row[7],
 | 
				
			||||||
        ]);
 | 
					        ]);
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -31,16 +31,16 @@ public function model(array $row)
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// cek kalau row kosong jangan insert
 | 
					// 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) {
 | 
					        if ($row[0] === null && $row[1] === null && $row[2] === null && $row[3] === null && $row[4] === null && $row[5] === null) {
 | 
				
			||||||
            return null; // baris kosong dilewati
 | 
					            return null; // baris kosong dilewati
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
        return new DatasetTable43A([
 | 
					        return new DatasetTable43A([
 | 
				
			||||||
            'dataset_id'                => $this->datasetId,
 | 
					            'dataset_id'                => $this->datasetId,
 | 
				
			||||||
            'created_by'                => $this->userId,
 | 
					            'created_by'                => $this->userId,
 | 
				
			||||||
            'lokasi'                    => $row[0],
 | 
					            'lokasi'                    => $row[1],
 | 
				
			||||||
            'nama_perusahaan'           => $row[1],
 | 
					            'nama_perusahaan'           => $row[3],
 | 
				
			||||||
            'waktu'                     => $row[2],
 | 
					            'waktu'                     => $row[4],
 | 
				
			||||||
            'hasil_pengawasan'          => $row[3],
 | 
					            'hasil_pengawasan'          => $row[5],
 | 
				
			||||||
        ]);
 | 
					        ]);
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -31,16 +31,16 @@ public function model(array $row)
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// cek kalau row kosong jangan insert
 | 
					// 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) {
 | 
					        if ($row[0] === null && $row[1] === null && $row[2] === null && $row[3] === null && $row[4] === null && $row[5] === null) {
 | 
				
			||||||
            return null; // baris kosong dilewati
 | 
					            return null; // baris kosong dilewati
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
        return new DatasetTable43B([
 | 
					        return new DatasetTable43B([
 | 
				
			||||||
            'dataset_id'         => $this->datasetId,
 | 
					            'dataset_id'         => $this->datasetId,
 | 
				
			||||||
            'created_by'         => $this->userId,
 | 
					            'created_by'         => $this->userId,
 | 
				
			||||||
            'lokasi'             => $row[0],
 | 
					            'lokasi'             => $row[1],
 | 
				
			||||||
            'nama_perusahaan'    => $row[1],
 | 
					            'nama_perusahaan'    => $row[3],
 | 
				
			||||||
            'waktu'              => $row[2],
 | 
					            'waktu'              => $row[4],
 | 
				
			||||||
            'hasil_pengawasan'   => $row[3],
 | 
					            'hasil_pengawasan'   => $row[5],
 | 
				
			||||||
        ]);
 | 
					        ]);
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -31,16 +31,16 @@ public function model(array $row)
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// cek kalau row kosong jangan insert
 | 
					// 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) {
 | 
					        if ($row[0] === null && $row[1] === null && $row[2] === null && $row[3] === null && $row[4] === null && $row[5] === null) {
 | 
				
			||||||
            return null; // baris kosong dilewati
 | 
					            return null; // baris kosong dilewati
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
        return new DatasetTable43([
 | 
					        return new DatasetTable43([
 | 
				
			||||||
            'dataset_id'                => $this->datasetId,
 | 
					            'dataset_id'                => $this->datasetId,
 | 
				
			||||||
            'created_by'                => $this->userId,
 | 
					            'created_by'                => $this->userId,
 | 
				
			||||||
            'lokasi'                    => $row[0],
 | 
					            'lokasi'                    => $row[1],
 | 
				
			||||||
            'nama_perusahaan'           => $row[1],
 | 
					            'nama_perusahaan'           => $row[3],
 | 
				
			||||||
            'waktu'                     => $row[2],
 | 
					            'waktu'                     => $row[4],
 | 
				
			||||||
            'hasil_pengawasan'          => $row[3],
 | 
					            'hasil_pengawasan'          => $row[5],
 | 
				
			||||||
        ]);
 | 
					        ]);
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -37,13 +37,13 @@ public function model(array $row)
 | 
				
			||||||
        return new DatasetTable44A([
 | 
					        return new DatasetTable44A([
 | 
				
			||||||
            'dataset_id'                => $this->datasetId,
 | 
					            'dataset_id'                => $this->datasetId,
 | 
				
			||||||
            'created_by'                => $this->userId,
 | 
					            'created_by'                => $this->userId,
 | 
				
			||||||
            'kecamatan'                 => $row[0],
 | 
					            'kecamatan'                 => $row[1],
 | 
				
			||||||
            'lokasi'                    => $row[1],
 | 
					            'lokasi'                    => $row[2],
 | 
				
			||||||
            'jenis_bencana'             => $row[2],
 | 
					            'jenis_bencana'             => $row[3],
 | 
				
			||||||
            'jumlah_area_terdampak'     => $row[3],
 | 
					            'jumlah_area_terdampak'     => $row[4],
 | 
				
			||||||
            'jumlah_korban_mengungsi'   => $row[4],
 | 
					            'jumlah_korban_mengungsi'   => $row[5],
 | 
				
			||||||
            'jumlah_korban_meninggal'   => $row[5],
 | 
					            'jumlah_korban_meninggal'   => $row[6],
 | 
				
			||||||
            'perkiraan_kerugian'        => $row[6],
 | 
					            'perkiraan_kerugian'        => $row[7],
 | 
				
			||||||
        ]);
 | 
					        ]);
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -31,7 +31,22 @@ public function model(array $row)
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// cek kalau row kosong jangan insert
 | 
					// 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) {
 | 
					        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 &&
 | 
				
			||||||
 | 
					            $row[9] === null &&
 | 
				
			||||||
 | 
					            $row[10] === null &&
 | 
				
			||||||
 | 
					            $row[11] === null &&
 | 
				
			||||||
 | 
					            $row[12] === null &&
 | 
				
			||||||
 | 
					            $row[13] === null
 | 
				
			||||||
 | 
					        ) {
 | 
				
			||||||
            return null; // baris kosong dilewati
 | 
					            return null; // baris kosong dilewati
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
        return new DatasetTable44B([
 | 
					        return new DatasetTable44B([
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -37,12 +37,12 @@ public function model(array $row)
 | 
				
			||||||
        return new DatasetTable44([
 | 
					        return new DatasetTable44([
 | 
				
			||||||
            'dataset_id'                => $this->datasetId,
 | 
					            'dataset_id'                => $this->datasetId,
 | 
				
			||||||
            'created_by'                => $this->userId,
 | 
					            'created_by'                => $this->userId,
 | 
				
			||||||
            'kecamatan'                 => $row[0],
 | 
					            'kecamatan'                 => $row[1],
 | 
				
			||||||
            'lokasi'                    => $row[1],
 | 
					            'lokasi'                    => $row[2],
 | 
				
			||||||
            'jenis_bencana'             => $row[2],
 | 
					            'jenis_bencana'             => $row[3],
 | 
				
			||||||
            'jumlah_area_terdampak'     => $row[3],
 | 
					            'jumlah_area_terdampak'     => $row[4],
 | 
				
			||||||
            'jumlah_korban_mengungsi'   => $row[4],
 | 
					            'jumlah_korban_mengungsi'   => $row[5],
 | 
				
			||||||
            'jumlah_korban_meninggal'   => $row[5],
 | 
					            'jumlah_korban_meninggal'   => $row[6],
 | 
				
			||||||
        ]);
 | 
					        ]);
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -31,17 +31,17 @@ public function model(array $row)
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// cek kalau row kosong jangan insert
 | 
					// 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) {
 | 
					        if ($row[0] === null && $row[1] === null && $row[2] === null && $row[3] === null && $row[4] === null && $row[5] === null) {
 | 
				
			||||||
            return null; // baris kosong dilewati
 | 
					            return null; // baris kosong dilewati
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
        return new DatasetTable45([
 | 
					        return new DatasetTable45([
 | 
				
			||||||
            'dataset_id'                => $this->datasetId,
 | 
					            'dataset_id'                => $this->datasetId,
 | 
				
			||||||
            'created_by'                => $this->userId,
 | 
					            'created_by'                => $this->userId,
 | 
				
			||||||
            'kabupaten_kota'            => $row[0],
 | 
					            'kabupaten_kota'            => $row[1],
 | 
				
			||||||
            'luas'                      => $row[1],
 | 
					            'luas'                      => $row[2],
 | 
				
			||||||
            'jumlah_penduduk'           => $row[2],
 | 
					            'jumlah_penduduk'           => $row[3],
 | 
				
			||||||
            'pertumbuhan_penduduk'      => $row[3],
 | 
					            'pertumbuhan_penduduk'      => $row[4],
 | 
				
			||||||
            'kepadatan_penduduk'        => $row[4],
 | 
					            'kepadatan_penduduk'        => $row[5],
 | 
				
			||||||
        ]);
 | 
					        ]);
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -31,19 +31,19 @@ public function model(array $row)
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// cek kalau row kosong jangan insert
 | 
					// 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) {
 | 
					        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 null; // baris kosong dilewati
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
        return new DatasetTable46([
 | 
					        return new DatasetTable46([
 | 
				
			||||||
            'dataset_id'        => $this->datasetId,
 | 
					            'dataset_id'        => $this->datasetId,
 | 
				
			||||||
            'created_by'        => $this->userId,
 | 
					            'created_by'        => $this->userId,
 | 
				
			||||||
            'kabupaten_kota'    => $row[0],
 | 
					            'kabupaten_kota'    => $row[1],
 | 
				
			||||||
            'lokasi'            => $row[1],
 | 
					            'lokasi'            => $row[2],
 | 
				
			||||||
            'nama_tpa'          => $row[2],
 | 
					            'nama_tpa'          => $row[3],
 | 
				
			||||||
            'jenis_tpa'         => $row[3],
 | 
					            'jenis_tpa'         => $row[4],
 | 
				
			||||||
            'luas_tpa'          => $row[4],
 | 
					            'luas_tpa'          => $row[5],
 | 
				
			||||||
            'kapasitas'         => $row[5],
 | 
					            'kapasitas'         => $row[6],
 | 
				
			||||||
            'volume_eksisting'  => $row[6],
 | 
					            'volume_eksisting'  => $row[7],
 | 
				
			||||||
        ]);
 | 
					        ]);
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -31,19 +31,19 @@ public function model(array $row)
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// cek kalau row kosong jangan insert
 | 
					// 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) {
 | 
					        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 null; // baris kosong dilewati
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
        return new DatasetTable47([
 | 
					        return new DatasetTable47([
 | 
				
			||||||
            'dataset_id'                    => $this->datasetId,
 | 
					            'dataset_id'                    => $this->datasetId,
 | 
				
			||||||
            'created_by'                    => $this->userId,
 | 
					            'created_by'                    => $this->userId,
 | 
				
			||||||
            'kabupaten_kota'                => $row[0],
 | 
					            'kabupaten_kota'                => $row[1],
 | 
				
			||||||
            'lokasi'                        => $row[1],
 | 
					            'lokasi'                        => $row[2],
 | 
				
			||||||
            'jumlah_penduduk'               => $row[2],
 | 
					            'jumlah_penduduk'               => $row[3],
 | 
				
			||||||
            'timbulan_sampah'               => $row[3],
 | 
					            'timbulan_sampah'               => $row[4],
 | 
				
			||||||
            'status_open_dumping'           => $row[4],
 | 
					            'status_open_dumping'           => $row[5],
 | 
				
			||||||
            'status_sanitary_landfill'      => $row[5],
 | 
					            'status_sanitary_landfill'      => $row[6],
 | 
				
			||||||
            'status_controlled_landfill'    => $row[6],
 | 
					            'status_controlled_landfill'    => $row[7],
 | 
				
			||||||
        ]);
 | 
					        ]);
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -31,22 +31,36 @@ public function model(array $row)
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// cek kalau row kosong jangan insert
 | 
					// 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) {
 | 
					        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 &&
 | 
				
			||||||
 | 
					            $row[9] === null &&
 | 
				
			||||||
 | 
					            $row[10] === null &&
 | 
				
			||||||
 | 
					            $row[11] === null
 | 
				
			||||||
 | 
					        ) {
 | 
				
			||||||
            return null; // baris kosong dilewati
 | 
					            return null; // baris kosong dilewati
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
        return new DatasetTable48A([
 | 
					        return new DatasetTable48A([
 | 
				
			||||||
            'dataset_id'                => $this->datasetId,
 | 
					            'dataset_id'                => $this->datasetId,
 | 
				
			||||||
            'created_by'                => $this->userId,
 | 
					            'created_by'                => $this->userId,
 | 
				
			||||||
            'lokasi'                    => $row[0],
 | 
					            'lokasi'                    => $row[1],
 | 
				
			||||||
            'nama_bank_sampah'          => $row[1],
 | 
					            'tahun'                     => $row[2],
 | 
				
			||||||
            'sk'                        => $row[2],
 | 
					            'nama_bank_sampah'          => $row[3],
 | 
				
			||||||
            'jumlah_sampah'             => $row[3],
 | 
					            'sk'                        => $row[4],
 | 
				
			||||||
            'status'                    => $row[4],
 | 
					            'jumlah_sampah'             => $row[5],
 | 
				
			||||||
            'kelurahan'                 => $row[5],
 | 
					            'status'                    => $row[6],
 | 
				
			||||||
            'rw'                        => $row[6],
 | 
					            'kelurahan'                 => $row[7],
 | 
				
			||||||
            'jumlah_penabung'           => $row[7],
 | 
					            'rw'                        => $row[8],
 | 
				
			||||||
            'jumlah_karyawan'           => $row[8],
 | 
					            'jumlah_penabung'           => $row[9],
 | 
				
			||||||
            'omset'                     => $row[9],
 | 
					            'jumlah_karyawan'           => $row[10],
 | 
				
			||||||
 | 
					            'omset'                     => $row[11],
 | 
				
			||||||
        ]);
 | 
					        ]);
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -31,21 +31,34 @@ public function model(array $row)
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// cek kalau row kosong jangan insert
 | 
					// 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) {
 | 
					        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 &&
 | 
				
			||||||
 | 
					            $row[9] === null &&
 | 
				
			||||||
 | 
					            $row[10] === null
 | 
				
			||||||
 | 
					        ) {
 | 
				
			||||||
            return null; // baris kosong dilewati
 | 
					            return null; // baris kosong dilewati
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
        return new DatasetTable48([
 | 
					        return new DatasetTable48([
 | 
				
			||||||
            'dataset_id'                => $this->datasetId,
 | 
					            'dataset_id'                => $this->datasetId,
 | 
				
			||||||
            'created_by'                => $this->userId,
 | 
					            'created_by'                => $this->userId,
 | 
				
			||||||
            'lokasi'                    => $row[0],
 | 
					            'lokasi'                    => $row[1],
 | 
				
			||||||
            'nama_bank_sampah'          => $row[1],
 | 
					            'tahun'                     => $row[2],
 | 
				
			||||||
            'sk'                        => $row[2],
 | 
					            'nama_bank_sampah'          => $row[3],
 | 
				
			||||||
            'jumlah_sampah'             => $row[3],
 | 
					            'sk'                        => $row[4],
 | 
				
			||||||
            'status'                    => $row[4],
 | 
					            'jumlah_sampah'             => $row[5],
 | 
				
			||||||
            'wilayah_pelayanan'         => $row[5],
 | 
					            'status'                    => $row[6],
 | 
				
			||||||
            'jumlah_penabung'           => $row[6],
 | 
					            'wilayah_pelayanan'         => $row[7],
 | 
				
			||||||
            'jumlah_karyawan'           => $row[7],
 | 
					            'jumlah_penabung'           => $row[8],
 | 
				
			||||||
            'omset'                     => $row[8],
 | 
					            'jumlah_karyawan'           => $row[9],
 | 
				
			||||||
 | 
					            'omset'                     => $row[10],
 | 
				
			||||||
        ]);
 | 
					        ]);
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -31,15 +31,15 @@ public function model(array $row)
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// cek kalau row kosong jangan insert
 | 
					// 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) {
 | 
					        if ($row[0] === null && $row[1] === null && $row[2] === null && $row[3] === null) {
 | 
				
			||||||
            return null; // baris kosong dilewati
 | 
					            return null; // baris kosong dilewati
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
        return new DatasetTable49([
 | 
					        return new DatasetTable49([
 | 
				
			||||||
            'dataset_id'                => $this->datasetId,
 | 
					            'dataset_id'                => $this->datasetId,
 | 
				
			||||||
            'created_by'                => $this->userId,
 | 
					            'created_by'                => $this->userId,
 | 
				
			||||||
            'nama_kegiatan'             => $row[0],
 | 
					            'nama_kegiatan'             => $row[1],
 | 
				
			||||||
            'lokasi_kegiatan'           => $row[1],
 | 
					            'lokasi_kegiatan'           => $row[2],
 | 
				
			||||||
            'pelaksana_kegiatan'        => $row[2],
 | 
					            'pelaksana_kegiatan'        => $row[3],
 | 
				
			||||||
        ]);
 | 
					        ]);
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -31,15 +31,16 @@ public function model(array $row)
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// cek kalau row kosong jangan insert
 | 
					// 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) {
 | 
					        if ($row[0] === null && $row[1] === null && $row[2] === null && $row[3] === null && $row[4] === null) {
 | 
				
			||||||
            return null; // baris kosong dilewati
 | 
					            return null; // baris kosong dilewati
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
        return new DatasetTable50([
 | 
					        return new DatasetTable50([
 | 
				
			||||||
            'dataset_id'                => $this->datasetId,
 | 
					            'dataset_id'                => $this->datasetId,
 | 
				
			||||||
            'created_by'                => $this->userId,
 | 
					            'created_by'                => $this->userId,
 | 
				
			||||||
            'pihak_mengadu'             => $row[0],
 | 
					            'pihak_mengadu'             => $row[1],
 | 
				
			||||||
            'masalah'                   => $row[1],
 | 
					            'masalah'                   => $row[2],
 | 
				
			||||||
            'proses_pengaduan'          => $row[2],
 | 
					            'tahun'                     => $row[3],
 | 
				
			||||||
 | 
					            'proses_pengaduan'          => $row[4],
 | 
				
			||||||
        ]);
 | 
					        ]);
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -31,16 +31,16 @@ public function model(array $row)
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// cek kalau row kosong jangan insert
 | 
					// 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) {
 | 
					        if ($row[0] === null && $row[1] === null && $row[2] === null && $row[3] === null && $row[4] === null) {
 | 
				
			||||||
            return null; // baris kosong dilewati
 | 
					            return null; // baris kosong dilewati
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
        return new DatasetTable51([
 | 
					        return new DatasetTable51([
 | 
				
			||||||
            'dataset_id'                => $this->datasetId,
 | 
					            'dataset_id'                => $this->datasetId,
 | 
				
			||||||
            'created_by'                => $this->userId,
 | 
					            'created_by'                => $this->userId,
 | 
				
			||||||
            'nama_lsm'                  => $row[0],
 | 
					            'nama_lsm'                  => $row[1],
 | 
				
			||||||
            'lokasi'                    => $row[1],
 | 
					            'lokasi'                    => $row[2],
 | 
				
			||||||
            'akta_pendirian'            => $row[2],
 | 
					            'akta_pendirian'            => $row[3],
 | 
				
			||||||
            'alamat'                    => $row[3],
 | 
					            'alamat'                    => $row[4],
 | 
				
			||||||
        ]);
 | 
					        ]);
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -31,16 +31,16 @@ public function model(array $row)
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// cek kalau row kosong jangan insert
 | 
					// 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) {
 | 
					        if ($row[0] === null && $row[1] === null && $row[2] === null && $row[3] === null && $row[4] === null) {
 | 
				
			||||||
            return null; // baris kosong dilewati
 | 
					            return null; // baris kosong dilewati
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
        return new DatasetTable52([
 | 
					        return new DatasetTable52([
 | 
				
			||||||
            'dataset_id'                => $this->datasetId,
 | 
					            'dataset_id'                => $this->datasetId,
 | 
				
			||||||
            'created_by'                => $this->userId,
 | 
					            'created_by'                => $this->userId,
 | 
				
			||||||
            'tingkat_pendidikan'        => $row[0],
 | 
					            'tingkat_pendidikan'        => $row[1],
 | 
				
			||||||
            'lakilaki'                  => $row[1],
 | 
					            'lakilaki'                  => $row[2],
 | 
				
			||||||
            'perempuan'                 => $row[2],
 | 
					            'perempuan'                 => $row[3],
 | 
				
			||||||
            'jumlah'                    => $row[3],
 | 
					            'jumlah'                    => $row[4],
 | 
				
			||||||
        ]);
 | 
					        ]);
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -37,12 +37,12 @@ public function model(array $row)
 | 
				
			||||||
        return new DatasetTable53([
 | 
					        return new DatasetTable53([
 | 
				
			||||||
            'dataset_id'                => $this->datasetId,
 | 
					            'dataset_id'                => $this->datasetId,
 | 
				
			||||||
            'created_by'                => $this->userId,
 | 
					            'created_by'                => $this->userId,
 | 
				
			||||||
            'nama_instansi'             => $row[0],
 | 
					            'nama_instansi'             => $row[1],
 | 
				
			||||||
            'jabatan_fungsional'        => $row[1],
 | 
					            'jabatan_fungsional'        => $row[2],
 | 
				
			||||||
            'laki_laki'                 => $row[2],
 | 
					            'laki_laki'                 => $row[3],
 | 
				
			||||||
            'perempuan'                 => $row[3],
 | 
					            'perempuan'                 => $row[4],
 | 
				
			||||||
            'staf_diklat_l'             => $row[4],
 | 
					            'staf_diklat_l'             => $row[5],
 | 
				
			||||||
            'staf_diklat_p'             => $row[5],
 | 
					            'staf_diklat_p'             => $row[6],
 | 
				
			||||||
        ]);
 | 
					        ]);
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -31,16 +31,16 @@ public function model(array $row)
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// cek kalau row kosong jangan insert
 | 
					// 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) {
 | 
					        if ($row[0] === null && $row[1] === null && $row[2] === null && $row[3] === null && $row[4] === null) {
 | 
				
			||||||
            return null; // baris kosong dilewati
 | 
					            return null; // baris kosong dilewati
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
        return new DatasetTable54([
 | 
					        return new DatasetTable54([
 | 
				
			||||||
            'dataset_id'                => $this->datasetId,
 | 
					            'dataset_id'                => $this->datasetId,
 | 
				
			||||||
            'created_by'                => $this->userId,
 | 
					            'created_by'                => $this->userId,
 | 
				
			||||||
            'nama'                      => $row[0],
 | 
					            'nama'                      => $row[1],
 | 
				
			||||||
            'nama_penghargaan'          => $row[1],
 | 
					            'nama_penghargaan'          => $row[2],
 | 
				
			||||||
            'pemberi_penghargaan'       => $row[2],
 | 
					            'pemberi_penghargaan'       => $row[3],
 | 
				
			||||||
            'tahun_penghargaan'         => $row[3],
 | 
					            'tahun_penghargaan'         => $row[4],
 | 
				
			||||||
        ]);
 | 
					        ]);
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -31,16 +31,16 @@ public function model(array $row)
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// cek kalau row kosong jangan insert
 | 
					// 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) {
 | 
					        if ($row[0] === null && $row[1] === null && $row[2] === null && $row[3] === null && $row[4] === null) {
 | 
				
			||||||
            return null; // baris kosong dilewati
 | 
					            return null; // baris kosong dilewati
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
        return new DatasetTable55([
 | 
					        return new DatasetTable55([
 | 
				
			||||||
            'dataset_id'                => $this->datasetId,
 | 
					            'dataset_id'                => $this->datasetId,
 | 
				
			||||||
            'created_by'                => $this->userId,
 | 
					            'created_by'                => $this->userId,
 | 
				
			||||||
            'nama_kegiatan'             => $row[0],
 | 
					            'nama_kegiatan'             => $row[1],
 | 
				
			||||||
            'instansi'                  => $row[1],
 | 
					            'instansi'                  => $row[2],
 | 
				
			||||||
            'kelompok_sasaran'          => $row[2],
 | 
					            'kelompok_sasaran'          => $row[3],
 | 
				
			||||||
            'waktu_pelaksanaan'         => $row[3],
 | 
					            'waktu_pelaksanaan'         => $row[4],
 | 
				
			||||||
        ]);
 | 
					        ]);
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -31,15 +31,15 @@ public function model(array $row)
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// cek kalau row kosong jangan insert
 | 
					// 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) {
 | 
					        if ($row[0] === null && $row[1] === null && $row[2] === null && $row[3] === null) {
 | 
				
			||||||
            return null; // baris kosong dilewati
 | 
					            return null; // baris kosong dilewati
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
        return new DatasetTable56([
 | 
					        return new DatasetTable56([
 | 
				
			||||||
            'dataset_id'                => $this->datasetId,
 | 
					            'dataset_id'                => $this->datasetId,
 | 
				
			||||||
            'created_by'                => $this->userId,
 | 
					            'created_by'                => $this->userId,
 | 
				
			||||||
            'uraian'                    => $row[0],
 | 
					            'uraian'                    => $row[1],
 | 
				
			||||||
            'satu_tahun_sebelumnya'     => $row[1],
 | 
					            'satu_tahun_sebelumnya'     => $row[2],
 | 
				
			||||||
            'dua_tahun_sebelumnya'      => $row[2],
 | 
					            'dua_tahun_sebelumnya'      => $row[3],
 | 
				
			||||||
        ]);
 | 
					        ]);
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -31,15 +31,15 @@ public function model(array $row)
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// cek kalau row kosong jangan insert
 | 
					// 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) {
 | 
					        if ($row[0] === null && $row[1] === null && $row[2] === null && $row[3] === null) {
 | 
				
			||||||
            return null; // baris kosong dilewati
 | 
					            return null; // baris kosong dilewati
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
        return new DatasetTable57([
 | 
					        return new DatasetTable57([
 | 
				
			||||||
            'dataset_id'                => $this->datasetId,
 | 
					            'dataset_id'                => $this->datasetId,
 | 
				
			||||||
            'created_by'                => $this->userId,
 | 
					            'created_by'                => $this->userId,
 | 
				
			||||||
            'uraian'                    => $row[0],
 | 
					            'uraian'                    => $row[1],
 | 
				
			||||||
            'satu_tahun_sebelumnya'     => $row[1],
 | 
					            'satu_tahun_sebelumnya'     => $row[2],
 | 
				
			||||||
            'dua_tahun_sebelumnya'      => $row[2],
 | 
					            'dua_tahun_sebelumnya'      => $row[3],
 | 
				
			||||||
        ]);
 | 
					        ]);
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -31,17 +31,17 @@ public function model(array $row)
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// cek kalau row kosong jangan insert
 | 
					// 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) {
 | 
					        if ($row[0] === null && $row[1] === null && $row[2] === null && $row[3] === null && $row[4] === null && $row[5] === null) {
 | 
				
			||||||
            return null; // baris kosong dilewati
 | 
					            return null; // baris kosong dilewati
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
        return new DatasetTable58([
 | 
					        return new DatasetTable58([
 | 
				
			||||||
            'dataset_id'                                    => $this->datasetId,
 | 
					            'dataset_id'                                    => $this->datasetId,
 | 
				
			||||||
            'created_by'                                    => $this->userId,
 | 
					            'created_by'                                    => $this->userId,
 | 
				
			||||||
            'jenis_produk_hukum_bidang_lingkungan_hidup'    => $row[0],
 | 
					            'jenis_produk_hukum_bidang_lingkungan_hidup'    => $row[1],
 | 
				
			||||||
            'jenis_produk_hukum_bidang_kehutanan'           => $row[1],
 | 
					            'jenis_produk_hukum_bidang_kehutanan'           => $row[2],
 | 
				
			||||||
            'nomor_tanggal'                                 => $row[2],
 | 
					            'nomor_tanggal'                                 => $row[3],
 | 
				
			||||||
            'tentang'                                       => $row[3],
 | 
					            'tentang'                                       => $row[4],
 | 
				
			||||||
            'dokumen'                                       => $row[4],
 | 
					            'dokumen'                                       => $row[5],
 | 
				
			||||||
        ]);
 | 
					        ]);
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -31,15 +31,15 @@ public function model(array $row)
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// cek kalau row kosong jangan insert
 | 
					// 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) {
 | 
					        if ($row[0] === null && $row[1] === null && $row[2] === null && $row[3] === null) {
 | 
				
			||||||
            return null; // baris kosong dilewati
 | 
					            return null; // baris kosong dilewati
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
        return new DatasetTable59([
 | 
					        return new DatasetTable59([
 | 
				
			||||||
            'dataset_id'                => $this->datasetId,
 | 
					            'dataset_id'                => $this->datasetId,
 | 
				
			||||||
            'created_by'                => $this->userId,
 | 
					            'created_by'                => $this->userId,
 | 
				
			||||||
            'sumber'                    => $row[0],
 | 
					            'sumber'                    => $row[1],
 | 
				
			||||||
            'peruntukan_anggaran'       => $row[1],
 | 
					            'peruntukan_anggaran'       => $row[2],
 | 
				
			||||||
            'jumlah_anggaran'           => $row[2],
 | 
					            'jumlah_anggaran'           => $row[3],
 | 
				
			||||||
        ]);
 | 
					        ]);
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -31,15 +31,15 @@ public function model(array $row)
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// cek kalau row kosong jangan insert
 | 
					// 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) {
 | 
					        if ($row[0] === null && $row[1] === null && $row[2] === null && $row[3] === null) {
 | 
				
			||||||
            return null; // baris kosong dilewati
 | 
					            return null; // baris kosong dilewati
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
        return new DatasetTable60A([
 | 
					        return new DatasetTable60A([
 | 
				
			||||||
            'dataset_id'    => $this->datasetId,
 | 
					            'dataset_id'    => $this->datasetId,
 | 
				
			||||||
            'created_by'    => $this->userId,
 | 
					            'created_by'    => $this->userId,
 | 
				
			||||||
            'sumber'        => $row[0],
 | 
					            'sumber'        => $row[1],
 | 
				
			||||||
            'jumlah_2022'   => $row[1],
 | 
					            'jumlah_2022'   => $row[2],
 | 
				
			||||||
            'jumlah_2023'   => $row[2],
 | 
					            'jumlah_2023'   => $row[3],
 | 
				
			||||||
        ]);
 | 
					        ]);
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -31,14 +31,14 @@ public function model(array $row)
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// cek kalau row kosong jangan insert
 | 
					// 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) {
 | 
					        if ($row[0] === null && $row[1] === null && $row[2] === null) {
 | 
				
			||||||
            return null; // baris kosong dilewati
 | 
					            return null; // baris kosong dilewati
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
        return new DatasetTable60([
 | 
					        return new DatasetTable60([
 | 
				
			||||||
            'dataset_id'                => $this->datasetId,
 | 
					            'dataset_id'                => $this->datasetId,
 | 
				
			||||||
            'created_by'                => $this->userId,
 | 
					            'created_by'                => $this->userId,
 | 
				
			||||||
            'sumber'                    => $row[0],
 | 
					            'sumber'                    => $row[1],
 | 
				
			||||||
            'jumlah'                    => $row[1],
 | 
					            'jumlah'                    => $row[2],
 | 
				
			||||||
        ]);
 | 
					        ]);
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -31,16 +31,16 @@ public function model(array $row)
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// cek kalau row kosong jangan insert
 | 
					// 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) {
 | 
					        if ($row[0] === null && $row[1] === null && $row[2] === null && $row[3] === null && $row[4] === null) {
 | 
				
			||||||
            return null; // baris kosong dilewati
 | 
					            return null; // baris kosong dilewati
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
        return new DatasetTable61([
 | 
					        return new DatasetTable61([
 | 
				
			||||||
            'dataset_id'                => $this->datasetId,
 | 
					            'dataset_id'                => $this->datasetId,
 | 
				
			||||||
            'created_by'                => $this->userId,
 | 
					            'created_by'                => $this->userId,
 | 
				
			||||||
            'lokasi'                    => $row[0],
 | 
					            'lokasi'                    => $row[1],
 | 
				
			||||||
            'inovasi'                   => $row[1],
 | 
					            'inovasi'                   => $row[2],
 | 
				
			||||||
            'deskripsi_inovasi'         => $row[2],
 | 
					            'deskripsi_inovasi'         => $row[3],
 | 
				
			||||||
            'dasar_hukum_inovasi'       => $row[3],
 | 
					            'dasar_hukum_inovasi'       => $row[4],
 | 
				
			||||||
        ]);
 | 
					        ]);
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -15,6 +15,7 @@ return new class extends Migration
 | 
				
			||||||
            $table->id('DatasetTable48Id');
 | 
					            $table->id('DatasetTable48Id');
 | 
				
			||||||
            $table->integer('dataset_id');
 | 
					            $table->integer('dataset_id');
 | 
				
			||||||
            $table->string('lokasi')->nullable();
 | 
					            $table->string('lokasi')->nullable();
 | 
				
			||||||
 | 
					            $table->string('tahun')->nullable();
 | 
				
			||||||
            $table->string('nama_bank_sampah')->nullable();
 | 
					            $table->string('nama_bank_sampah')->nullable();
 | 
				
			||||||
            $table->string('sk')->nullable(); // Nomor SK
 | 
					            $table->string('sk')->nullable(); // Nomor SK
 | 
				
			||||||
            $table->bigInteger('jumlah_sampah')->nullable(); // Kg per bulan
 | 
					            $table->bigInteger('jumlah_sampah')->nullable(); // Kg per bulan
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -15,6 +15,7 @@ return new class extends Migration
 | 
				
			||||||
            $table->id('DatasetTable48AId');
 | 
					            $table->id('DatasetTable48AId');
 | 
				
			||||||
            $table->integer('dataset_id');
 | 
					            $table->integer('dataset_id');
 | 
				
			||||||
            $table->string('lokasi')->nullable();
 | 
					            $table->string('lokasi')->nullable();
 | 
				
			||||||
 | 
					            $table->string('tahun')->nullable();
 | 
				
			||||||
            $table->string('nama_bank_sampah')->nullable();
 | 
					            $table->string('nama_bank_sampah')->nullable();
 | 
				
			||||||
            $table->string('sk')->nullable(); // Nomor SK
 | 
					            $table->string('sk')->nullable(); // Nomor SK
 | 
				
			||||||
            $table->float('jumlah_sampah')->default(0); // Kg per bulan, pakai decimal
 | 
					            $table->float('jumlah_sampah')->default(0); // Kg per bulan, pakai decimal
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -16,6 +16,7 @@ return new class extends Migration
 | 
				
			||||||
            $table->integer('dataset_id');
 | 
					            $table->integer('dataset_id');
 | 
				
			||||||
            $table->string('pihak_mengadu')->nullable();
 | 
					            $table->string('pihak_mengadu')->nullable();
 | 
				
			||||||
            $table->text('masalah')->nullable();
 | 
					            $table->text('masalah')->nullable();
 | 
				
			||||||
 | 
					            $table->string('tahun')->nullable();
 | 
				
			||||||
            $table->text('proses_pengaduan')->nullable();
 | 
					            $table->text('proses_pengaduan')->nullable();
 | 
				
			||||||
            $table->integer('created_by');
 | 
					            $table->integer('created_by');
 | 
				
			||||||
            $table->timestampsTz();
 | 
					            $table->timestampsTz();
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue