Skip to content

Commit

Permalink
Gunakan contoh impor dari OpenSID
Browse files Browse the repository at this point in the history
  • Loading branch information
andifahruddinakas committed May 31, 2022
1 parent 2feb46d commit d8bde83
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/Http/Controllers/Data/ProgramBantuanController.php
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ public function do_import(Request $request)
$zip->extractTo($extract);
$zip->close();

glob($extract.'*.xlsx');
glob($extract.'*.csv');

(new SinkronBantuan())
->queue($extract . Str::replaceLast('zip', 'csv', $name));
Expand Down
2 changes: 1 addition & 1 deletion resources/views/data/program_bantuan/import.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
<div class="well">
<p>Instruksi Unggah Data:</p>
<p>Silahkan unduh template unggah data di sini: <a
href="{{ asset('storage/template_upload/program_bantuan_22_12_2020_opendk.zip') }}">Unduh</a>
href="{{ asset('storage/template_upload/program_bantuan_31_05_2022_opendk.zip') }}">Unduh</a>
</p>
</div>
</div>
Expand Down
Binary file not shown.
Binary file not shown.

0 comments on commit d8bde83

Please sign in to comment.