Skip to content

Commit

Permalink
Rilis v2411.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
vickyrolanda committed Nov 13, 2024
1 parent 03b4277 commit 8189970
Show file tree
Hide file tree
Showing 356 changed files with 9,666 additions and 7,671 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -82,3 +82,6 @@ Modules/*

# Ignore PHPUnit result cache file
.phpunit.result.cache

# ignore favicon.ico
/favicon.ico
7 changes: 5 additions & 2 deletions Modules/Analisis/Http/Controllers/Analisis_master.php
Original file line number Diff line number Diff line change
Expand Up @@ -165,9 +165,12 @@ public function delete($id = null): void
public function import_analisis(): void
{
isCan('u');
$data['form_action'] = ci_route('analisis_master.import');

view('analisis.import', $data);
view('analisis.import', [
'form_action' => ci_route('analisis_master.import'),
'formatImpor' => ci_route('unduh', encrypt(DEFAULT_LOKASI_IMPOR . 'analisis.xlsx')),
'formatPpls2' => ci_route('unduh', encrypt(DEFAULT_LOKASI_IMPOR . 'ppls2.xlsx')),
]);
}

public function import(): void
Expand Down
6 changes: 1 addition & 5 deletions Modules/Analisis/Http/Controllers/Analisis_respon.php
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,7 @@ public function form_impor_bdt($master): void
isCan('u');
$data['form_action'] = ci_route("analisis_respon.{$master}.impor_bdt");
$data['analisis_master'] = $this->analisisMaster;
$data['formatImpor'] = ci_route('unduh', encrypt(DEFAULT_LOKASI_IMPOR . 'contoh-data-bdt2015.xlsx'));

view('analisis_respon.import.impor_bdt', $data);
}
Expand All @@ -305,9 +306,4 @@ public function impor_bdt($master): void
redirect_with('error', 'Data gagal diimport ' . $e->getMessage(), ci_route('analisis_respon.' . $master));
}
}

public function unduh_form_bdt(): void
{
header('location:' . base_url('assets/import/contoh-data-bdt2015.xls'));
}
}
1 change: 0 additions & 1 deletion Modules/Analisis/Routes/web.php
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,6 @@
Route::post('import_proses/{op?}', 'Analisis_respon@import_proses')->name('analisis_respon.import_proses');
Route::get('form_impor_bdt/{id?}', 'Analisis_respon@form_impor_bdt')->name('analisis_respon.form_impor_bdt');
Route::post('impor_bdt', 'Analisis_respon@impor_bdt')->name('analisis_respon.impor_bdt');
Route::get('unduh_form_bdt/{id?}', 'Analisis_respon@unduh_form_bdt')->name('analisis_respon.unduh_form_bdt');
Route::group('child', static function (): void {
Route::get('form/{id}/{idc?}', 'Analisis_respon_child@formChild')->name('analisis_respon.form_child');
Route::post('update/{id}/{idc?}', 'Analisis_respon_child@updateChild')->name('analisis_respon.update_child');
Expand Down
4 changes: 2 additions & 2 deletions Modules/Analisis/Views/analisis/import.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
</div>

<p class="help-block"><b>Aturan :</b></p>
<p class="help-block small">1. Data yang dibutuhkan untuk Impor dengan memenuhi aturan data sebagai berikut <a href="{{ asset('import/analisis.xlsx') }}">Aturan Data</a></p>
<p class="help-block small">2. Contoh format upload Sensus dapat dilihat pada tautan berikut <a href="{{ asset('import/ppls2.xlsx') }}">Contoh</a></p>
<p class="help-block small">1. Data yang dibutuhkan untuk Impor dengan memenuhi aturan data sebagai berikut <a href="{{ $formatImpor }}">Aturan Data</a></p>
<p class="help-block small">2. Contoh format upload Sensus dapat dilihat pada tautan berikut <a href="{{ $formatPpls2 }}">Contoh</a></p>
<p class="help-block small">3. Format file Impor harus <b>.xlsx</b>, lakukan konversi format file jika belum sesuai.</p>
</div>
<div class="modal-footer">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
</script>
<form id="validasi" action="{{ $form_action }}" method="POST" enctype="multipart/form-data">
<div class='modal-body'>
<p>Impor Data BDT 2015 menggunakan format data yang diperoleh dari TNP2K. Contoh format data ada di tautan berikut <a href="{{ ci_route('analisis_respon.' . $analisis_master['id'] . '.unduh_form_bdt') }}" class="uibutton confirm" target="_blank"> Form Data BDT 2015 </a></p>
<p>Impor Data BDT 2015 menggunakan format data yang diperoleh dari TNP2K. Contoh format data ada di tautan berikut <a href="{{ $formatImpor }}" class="uibutton confirm" target="_blank"> Form Data BDT 2015 </a></p>
<div class="form-group">
<label for="file" class="control-label">Pilih Berkas Data BDT 2015 :</label>
<div class="input-group input-group-sm">
Expand Down
2 changes: 1 addition & 1 deletion Modules/Anjungan/Views/anjungan/beranda/index.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@
<img src="{{ gambar_desa($desa->logo) }}" alt="{{ $desa->nama_desa }}">
<div>
<h1>{{ strtoupper('Pemerintah ' . setting('sebutan_desa') . ' ' . $desa->nama_desa) }}</h1>
<p> {{ strtoupper(setting('sebutan_kecamatan') . ' ' . $desa->nama_kecamatan) }} , {{ strtoupper(setting('sebutan_kabupaten') . ' ' . $desa->nama_kabupaten) }} </p>
<p> {{ strtoupper(setting('sebutan_kecamatan') . ' ' . $desa->nama_kecamatan) }} {{ strtoupper(setting('sebutan_kabupaten') . ' ' . $desa->nama_kabupaten) }} </p>
</div>
</div>
<div class="headright difle-r">
Expand Down
2 changes: 1 addition & 1 deletion app/Console/Commands/AcakData.php

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion app/Console/Kernel.php

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion app/Imports/SuratDinasImports.php

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion app/Libraries/Checker.php

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion app/Libraries/NoCaptcha.php

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion app/Libraries/Rekap.php

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion app/Libraries/TinyMCE.php

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion app/Listeners/FailedAdminListener.php

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion app/Listeners/LockoutAdminListener.php

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion app/Listeners/LoginAdminListener.php

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion app/Listeners/LoginPendudukListener.php

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion app/Listeners/LogoutAdminListener.php

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion app/Models/Area.php

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion app/Models/Cdesa.php

Large diffs are not rendered by default.

Loading

0 comments on commit 8189970

Please sign in to comment.