Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions catatan_rilis.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ Di rilis ini, versi 2601.0.0 berisi penambahan dan perbaikan yang diminta penggu
9. [#906](https://github.com/OpenSID/OpenKab/issues/906) Penambahan expor excel pada data presisi pangan.
10. [#916](https://github.com/OpenSID/OpenKab/issues/916) Penambahan expor excel pada data presisi ketenagakerjaan.
11. [#908](https://github.com/OpenSID/OpenKab/issues/908) Penambahan expor excel pada data presisi seni budaya.
12. [#919](https://github.com/OpenSID/OpenKab/issues/919) Penambahan expor excel pada data presisi infrastruktur.

#### Perbaikan BUG

Expand Down
2 changes: 1 addition & 1 deletion resources/views/components/excel-download-button.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@
const info = table.page.info();
urlParams.append('totalData', info.recordsTotal);
}

// Make fetch request
const response = await fetch(url, {
method: 'POST',
Expand Down
20 changes: 9 additions & 11 deletions resources/views/data_pokok/data_presisi/kesehatan/cetak.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
<thead>
<tr class="border thick">
<th>NO</th>
<th>NIK</th>
<th>NOMOR KK</th>
<th>NAMA</th>
<th>NIK</th>
<th>NAMA KEPALA KELUARGA</th>
<th>JUMLAH ANGGOTA RTM</th>
<th>JNS ASURANSI</th>
<th>JNS PENGGUNAAN ALAT KONTRASEPSI</th>
<th>JNS PENYAKIT YANG DIDERITA</th>
Expand All @@ -27,8 +27,7 @@
<th>KUNJUNGAN KE DOKTER DALAM 1 TAHUN</th>
<th>KONDISI FISIK SEJAK LAHIR</th>
<th>STATUS GIZI BALITA</th>
<th>TANGGAL PENGISIAN</th>
<th>STATUS PENGISIAN</th>
<th>TANGGAL PENGISIAN</th>
</tr>
</thead>
<tbody></tbody>
Expand All @@ -39,10 +38,10 @@
<script nonce="{{ csp_nonce() }}" >
document.addEventListener("DOMContentLoaded", function(event) {
var str = `{{ $filter }}`
var filter = str.replace(/&amp;/g, '&')
var filter = str.replace(/&amp;/g, '&').replace(/undefined/g, '')
const header = @include('layouts.components.header_bearer_api_gabungan');
$.ajax({
url: `{{ config('app.databaseGabunganUrl').'/api/v1/data-presisi/kesehatan' }}?${filter}`,
url: `{{ config('app.databaseGabunganUrl').'/api/v1/data-presisi/kesehatan/rtm' }}?${filter}`,
headers: header,
method: 'get',
success: function(json) {
Expand All @@ -52,8 +51,8 @@
<tr>
<td class="padat">${no}</td>
<td>${item.attributes.nik || 'N/A'}</td>
<td>${item.attributes.no_kk || 'N/A'}</td>
<td>${item.attributes.nama || 'N/A'}</td>
<td>${item.attributes.kepala_keluarga || 'N/A'}</td>
<td>${item.attributes.jumlah_anggota || 'N/A'}</td>
<td>${item.attributes.jns_ansuransi || 'N/A'}</td>
<td>${item.attributes.jns_penggunaan_alat_kontrasepsi || 'N/A'}</td>
<td>${item.attributes.jns_penyakit_diderita || 'N/A'}</td>
Expand All @@ -62,8 +61,7 @@
<td>${item.attributes.frekwensi_kunjungan_dokter_pertahun || 'N/A'}</td>
<td>${item.attributes.kondisi_fisik_sejak_lahir || 'N/A'}</td>
<td>${item.attributes.status_gizi_balita || 'N/A'}</td>
<td>${item.attributes.tanggal_pengisian || 'N/A'}</td>
<td>${item.attributes.status_pengisian || 'N/A'}</td>
<td>${item.attributes.tanggal_pengisian || 'N/A'}</td>
</tr>
`
$('#tabel-sandang tbody').append(row)
Expand Down
Loading