Tambahkan fungsi cetak pada data presisi pariwisata #900
+320
−173
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 #897
Bergantung pada PR https://github.com/OpenSID/API-Database-Gabungan/pull/290
Summary Perubahan
Ringkasan Perubahan
Berikut adalah perbandingan perubahan yang lebih detail terutama pada fitur pariwisata dalam sistem OpenKab:
File yang Diubah
1.
app/Http/Controllers/DataPokokController.phpPerubahan:
cetakPariwisata(Request $request)untuk menangani cetak data pariwisatadata_pokok.pariwisata.cetakdengan parameter filter dari query stringSebelum:
Sesudah:
2.
routes/web.phpPerubahan:
/data-pokok/pariwisata/cetakyang mengarah ke metodecetakPariwisata'pariwisata.cetak'dan dilindungi oleh middleware permission'datapokok-pariwisata-read'Sebelum:
Sesudah:
3.
resources/views/data_pokok/pariwisata/index.blade.phpPerubahan Utama:
Perubahan Spesifik:
4.
resources/views/data_pokok/pariwisata/chart.blade.phpPerubahan Utama:
randColorRGB()danrandColorHex()untuk menghasilkan warna acaktampilGrafik()untuk menggunakan konfigurasi skala Y yang benarmodifikasiDataGrafik()untuk memproses data dengan cara yang lebih efektifPerubahan Spesifik:
File Baru yang Ditambahkan
5.
resources/views/data_pokok/pariwisata/cetak.blade.phpDeskripsi:
6.
resources/views/components/filter-kategori-wisata.blade.phpDeskripsi:
filter-kategori-wisata7.
resources/views/components/filter-komoditas-wisata.blade.phpDeskripsi:
KomoditasPotensiWisataEnumuntuk menampilkan opsi yang tersediafilter-komoditas-wisata8.
resources/views/components/filter-sarana-wisata.blade.phpDeskripsi:
SaranaWisataEnumuntuk menampilkan opsi yang tersediafilter-sarana-wisataFitur Utama yang Ditambahkan
Ringkasan Teknis
simplescreenrecorder-2026-01-12_14.10.28.mp4