Memperbarui logika untuk penanganan beberapa file dokumen jaminan dalam satu entri database. Sebelumnya hanya satu file yang ditangani, kini mendukung array file untuk setiap entri. Penambahan ini memastikan semua file dari entri dokumen jaminan terangkut dan memperbaiki masalah saat file tidak ditemukan.
Mengubah logika untuk menangani dokumen jaminan yang disimpan dalam array JSON. Sekarang, jika `dokumen_jaminan` adalah array JSON, sistem akan mengunduh dokumen berdasarkan indeks yang diminta. Jika bukan array JSON, sistem akan mengunduh dokumen tunggal seperti sebelumnya.
This update enhances the `DokumenJaminan` model to support multiple files for each document entry. It modifies both the backend logic to store multiple files and the frontend view to display and handle these files correctly. Additionally, it includes functionality to delete old document files if they are no longer associated with any detail document entry.
Updated route to point to new getLegalitasJaminan method in DokumenJaminanController. Enhanced logic to handle additional parameters and provide more contextual data, including existing document details. Refined Blade template to dynamically load legalitas jaminan fields, ensuring better user experience and maintainability.
Refactored the detailed document processing logic to include handling of 'jenis_legalitas_jaminan_id' instead of 'detail_dokumen_jaminan_id'. Enhanced the view to dynamically add new legal documents, ensuring proper data handling and validation.
Consolidated route method chaining for more concise syntax. Added a status check before updating a permohonan record to ensure correct status transitions. Made minor formatting improvements for better readability.
Introduce new views for editing SPK and displaying SPK documents. The `edit.blade.php` view allows users to manage SPK details, while `documentSPK.blade.php` is set up to handle document styling and scripts.
Changed the status filter from 'persetujuan-penawaran' to 'proposal-tender' in multiple controllers, ensuring consistency in status management throughout the application. Also corrected some trailing whitespaces and improved code readability.
Enhanced data fetching to include 'permohonan' and 'debiture' relations. Improved error messaging and validations in multiple methods, ensuring more robust data processing. Removed unnecessary whitespace for code clarity.
This migration adds a nullable 'details' column to the 'detail_dokumen_jaminan' table. The column is used to store custom field data in JSON format. Various parts of the application, including the model, controller, and view, have been updated to handle this new column.
This commit introduces the capability to select and define relationships for guarantee owners that are different from the debiture. Additionally, a dynamic form is added to manage the details of multiple guarantee owners, including their IDs and names. Adjustments have also been made to the views and controllers to support these features.
Enhanced the request validation, model, and Blade template to support multiple detail sertifikat entries, which are now encoded in JSON format. Additionally, added a dynamic form for entry, including delete functionality for each sertifikat entry.
This commit introduces seeders for various entities in the database, including HubunganPemilikJaminan, JenisFasilitasKredit, and others. These seeders populate the database with initial data for testing and development purposes.
Introduced a new SLAController for handling SLA-related operations, including necessary routes and breadcrumb updates. Replaced the select input with a text input in the create view for better flexibility.
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.