Menambahkan logika baru untuk penanganan dokumen jaminan. Sekarang, jika dokumen jaminan ada lebih dari satu, setiap dokumen akan ditampilkan secara terpisah dengan opsi download dan preview untuk masing-masing dokumen. Sebelumnya, hanya ada satu tautan download dan preview per kategori jaminan.
Added conditional logic to display the bulk download button only for users with 'administrator' or 'pemohon-eo' roles. This ensures that only authorized roles have access to this functionality.
Add conditional checks to show download links only to users with 'administrator' or 'pemohon-eo' roles in the 'jaminan.blade.php' and 'detail-jaminan.blade.php' views. This enhances security by limiting access to sensitive document downloads.
Introduced a "Preview" button for jaminan documents to view PDFs directly. Refactored Permohonan management to include a show view and print functionality, and updated relevant views and routes accordingly.
Implemented a bulk download button for documents in the detail view and updated button styles and placements in related components. Additionally, removed unnecessary sleep call in the controller to improve performance.