Enhanced the handling of custom fields by conditionally adding input types like text, number, date, and textarea based on the field's type. Also, added missing placeholders to input elements to improve usability.
Updated the role lists throughout `module.json` to include the 'administrator' role alongside existing roles. This ensures that administrators have the necessary permissions to perform actions across different sections and functionalities.
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.
Changed the validation rule for the 'status' field from required to nullable. This adjustment allows for more flexibility when the 'status' value is not provided upon request submission.
Updated the KondisiBangunan model to include 'code' and 'name' in the $fillable array. This ensures these attributes can be mass assigned, improving model flexibility and security.
Change the case of 'penilaianTeam' to 'PenilaianTeam' in the Teams model to ensure correct class reference. This resolves errors related to class loading and enhances code readability.
Removed all SPK-related route definitions from the web.php file, including group routes and resource routes. This is part of cleanup to enhance maintainability and reduce unused code within the routes configuration.
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.
Standardize the JavaScript code formatting across editjs.blade.php files and replace the 'notepad-edit' icon with 'bookmark' for update actions. This enhances code readability and consistency while providing a more appropriate icon for the update functionality.
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.
Renamed the 'Kode Penawaran' field to 'Nama Debitur' in the table header and datatable configuration, including the necessary rendering function to display the debiture name correctly. This improves clarity by accurately reflecting the data being displayed in the column.
Changed the button text from "Print Laporan" to "Print Surat Permohonan" to better reflect the action performed. This improves clarity and consistency in the user interface.
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.
Added `custom_field` and `custom_field_type` columns to the `jenis_legalitas_jaminan` table. Updated model, migration, and request files to handle these new fields, ensuring they are optional and have a maximum length of 255 characters.
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.
Changed the position of 'detail_sertifikat' column to come after 'name' instead of 'nama_pemilik' in the migration. This ensures consistency with other tables and prevents errors during deployment.
This migration introduces a new nullable string column named detail_sertifikat to the pemilik_jaminan table. It allows adding certificate details for each pemilik jaminan. The down method ensures this column is dropped if the migration is rolled back.
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.
Remove the unique constraint on the 'cif' field in the debitures table and refactor the `UniqueCifExceptZero` validation rule to handle the uniqueness check more robustly. Also, add an unused import statement for `UniqueExcept` in `DebitureRequest`.
Added a 'Keterangan' column to the permohonan index view and updated relevant data bindings. Additionally, modified the form view to display notes if the status is 'revisi', and adjusted the submit button text accordingly.
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.
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.
Created a PDF viewer component with modal functionality using PDFObject library. Added detailed views for Permohonan and Print pages, displaying relevant information about permohonan requests and debenture details.
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.