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 .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,4 @@ docs
specs/
.opencode/
.specify/
storage/sso
2 changes: 1 addition & 1 deletion app/Http/Controllers/DataPokokController.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public function cetak_agama(Request $request)

public function kesehatan()
{
$title = 'Data Kependudukan dan Statistik';
$title = 'Data Kesehatan dan Statistik';

return view('data_pokok.kesehatan.index', ['title' => $title]);
}
Expand Down
2 changes: 2 additions & 0 deletions app/Services/ApiProxyService.php
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,8 @@ protected function callApi(string $method, string $endpoint, array $params = [],
} catch (\Exception $e) {
Log::error('API Proxy: Exception', [
'endpoint' => $endpoint,
'url' => $url,
'method' => $method,
'file' => __FILE__,
'error' => $e->getMessage(),
]);
Expand Down
1 change: 1 addition & 0 deletions catatan_rilis.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Di rilis ini, versi 2608.0.1 berisi penambahan dan perbaikan yang diminta penggu
1. [#1105](https://github.com/OpenSID/OpenKab/issues/1105) Perbaikan filter kecamatan tampil tanpa memilih kabupaten terlebih dahulu.
2. [#1108](https://github.com/OpenSID/OpenKab/issues/1108) Perbaiki filter tahun dan desa masih ada yang kurang di data sandang.
3. [#1111](https://github.com/OpenSID/OpenKab/issues/1111) Perbaiki style pada halaman slide tertutupi card icon penduduk.
4. [#1262](https://github.com/OpenSID/OpenKab/issues/1262) Perbaikan grafik tidak tampil pada Profile Kependudukan - Kesehatan.



Expand Down
6 changes: 3 additions & 3 deletions resources/views/data_pokok/kesehatan/chart.blade.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
@include('data_pokok.data_presisi.partials.chart')
<script nonce="{{ csp_nonce() }}">
function grafik(filters) {
loadChartData(filters, 'barChart', 'bar', 'status_gizi');
loadChartData(filters, 'donutChart', 'doughnut', 'golongan_darah');
loadChartData(filters, 'barChart', 'bar', 'status_gizi_balita');
loadChartData(filters, 'donutChart', 'doughnut', 'jns_ansuransi');
}

function loadChartData(filters, canvasId, chartType, kategori) {
Expand All @@ -12,7 +12,7 @@ function loadChartData(filters, canvasId, chartType, kategori) {
'kode_kecamatan': filters ? filters.kodeKecamatan : '',
'config_desa': filters ? filters.configDesa : '',
};
apiProxyGet('data/kesehatan/statistik', params, function(json) {
apiProxyGet('data-presisi/kesehatan/statistik', params, function(json) {
var data = [];
if (json.data && json.data.length > 0) {
json.data.forEach(function(item) {
Expand Down
4 changes: 2 additions & 2 deletions resources/views/data_pokok/kesehatan/index.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

@include('components.progressive-image')

@section('title', 'Data Kependudukan dan Statistik')
@section('title', 'Data Kesehatan dan Statistik')

@section('content_header')
<h1>{{ $title }}</h1>
Expand All @@ -13,7 +13,7 @@
<div class="row">
<div class="col-lg-4">
<div class="card">
<div class="card-header">Statistik Golongan Darah</div>
<div class="card-header">Statistik Asuransi Kesehatan</div>
<div class="card-body">
<div>
<div class="chart" id="pie">
Expand Down