update import dan sample

pull/2/head
ajikamaludin 1 year ago
parent c7ebd23f95
commit 74d46bd02c
Signed by: ajikamaludin
GPG Key ID: 476C9A2B4B794EBB

@ -53,7 +53,8 @@ class DocumentImport implements ToCollection, WithHeadingRow
"company_id" => $company->id,
"type_id" => $type->id,
"category_id" => $cat->id,
"user_id" => auth()->user()->id
"user_id" => auth()->user()->id,
"created_at" => now()
]);
}

@ -1,3 +1,3 @@
nama_perusahaan, jenis, kategori, no, nama, penerbit, tipe, tanggal_terbit,tanggal_jatuh_tempo, keterangan, file, status
P1,J1,K1,0001,DOCAA,DIS,Tetap,30-01-2023,30-02-2023,-,-,Ya
P1,J1,K1,0001,DOCAA,DIS,"Tidak Tetap",30-01-2023,30-02-2023,-,-,Tidak
P1,J1,K1,0001,DOCAA,DIS,Tetap,"30-01-2023","21-02-2023",-,-,Ya
P1,J1,K1,0001,DOCAA,DIS,"Tidak Tetap","30-01-2023","21-02-2023",-,-,Tidak
1 nama_perusahaan jenis kategori no nama penerbit tipe tanggal_terbit tanggal_jatuh_tempo keterangan file status
2 P1 J1 K1 0001 DOCAA DIS Tetap 30-01-2023 30-02-2023 21-02-2023 - - Ya
3 P1 J1 K1 0001 DOCAA DIS Tidak Tetap 30-01-2023 30-02-2023 21-02-2023 - - Tidak
Loading…
Cancel
Save