Tambahkan filter tahun pada statistik kesehatan & jaminan sosial data presisi#951
Open
pandigresik wants to merge 1 commit intorilis-devfrom
Open
Tambahkan filter tahun pada statistik kesehatan & jaminan sosial data presisi#951pandigresik wants to merge 1 commit intorilis-devfrom
pandigresik wants to merge 1 commit intorilis-devfrom
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Perbaikan issue #950
Bergantung pada PR https://github.com/OpenSID/API-Database-Gabungan/pull/331
Detail Perubahan per File
1. resources/views/presisi/statistik/jaminan-sosial.blade.php
Perubahan Utama:
Penggantian Filter Tahun:
<x-filter-tahun />untuk filter tahun yang lebih konsistenPembaruan Referensi ID Filter:
$("#tahun").val()menjadi$("#filter-tahun").val()pada fungsi exportToExcel (baris 191)"tahun": $('#filter-tahun').val()pada data request DataTable (baris 343)Penambahan Event Listener:
$('#filter').on('click')menjadi$('#filter-tahun').on('change')(baris 440-442)statistik.draw()menjadistatistik.ajax.reload()untuk me-reload data tabelPerbaikan Logika Grafik:
if (data_grafik.length > 2)sebelum memanggilgrafikPie()untuk mencegah error saat data kurang dari 3 (baris 359-361)2. resources/views/presisi/statistik/kesehatan.blade.php
Perubahan Utama:
Penggantian Filter Tahun:
<x-filter-tahun />untuk filter tahun yang lebih konsistenPembaruan Referensi ID Filter:
$("#tahun").val()menjadi$("#filter-tahun").val()pada fungsi exportToExcel (baris 191)"tahun": $('#filter-tahun').val()pada data request DataTable (baris 343)Penambahan Event Listener:
$('#filter').on('click')menjadi$('#filter-tahun').on('change')(baris 440-442)statistik.draw()menjadistatistik.ajax.reload()untuk me-reload data tabelPerbaikan Logika Grafik:
if (data_grafik.length > 2)sebelum memanggilgrafikPie()untuk mencegah error saat data kurang dari 3 (baris 359-361)Komponen Tambahan
resources/views/components/filter-tahun.blade.php
$selectedYearuntuk menentukan tahun yang dipilih secara defaultAnalisis Perubahan
Tujuan Utama Perubahan:
<x-filter-tahun />)filter-tahun) untuk elemen filter tahunDampak Perubahan:
simplescreenrecorder-2026-03-04_14.27.10.mp4