Mengganti pengecekan variabel dari `dokumenSPK` menjadi `dokumen` untuk menentukan pengaturan tombol "Proses Penawaran". Hal ini dilakukan untuk menyesuaikan variabel yang lebih mencerminkan data yang sedang digunakan.
Memperbaiki sintaks relasi 'belongsTo' pada model PenawaranTender dan typo pada tampilan index penawaran untuk tujuan penilaian. Hal ini bertujuan agar data relasi dan tampilan informasi tujuan penilaian sesuai.
Mengubah cara rendering tanggal penawaran dengan menambahkan fungsi untuk memformat tanggal dalam bahasa Indonesia pada file `index.blade.php`. Hal ini mencakup rentang tanggal penawaran, yaitu `start_date` dan `end_date`.
Perbaikan pada relasi model PenawaranTender dan Permohonan untuk memastikan data diambil dengan benar. Menambahkan fungsi `formatTanggalIndonesia` pada view SPK dan merapihkan tampilan data penawaran dan tujuan penilaian KJPP.
Tambahkan metode relasi baru untuk `penawaran` dan `tujuan_penilaian_kjpp` di model Permohonan untuk memudahkan akses data terkait. Sesuaikan kembali query di SpkController supaya lebih efisien dengan menggunakan eager loading. Update tampilan di `spk/index.blade.php` untuk menyesuaikan data relasi yang baru ditambahkan di query.
Tambahkan padding pada bagian yang dapat di-scroll dan perbaharui kelas pada tabel untuk meningkatkan tampilan dan keterbacaan. Perubahan ini akan memberikan margin yang lebih baik dan membuat tabel lebih responsif dalam tampilan mobile.
Menghilangkan whitespace yang tidak perlu di dalam file SpkController.php untuk meningkatkan kerapian kode. Juga menambahkan eager loading relasi 'permohonan' saat mengambil data penawaran untuk meningkatkan efisiensi query SQL. Menyesuaikan URL download di file view untuk memastikan ID yang benar digunakan.
Mengubah referensi ID dari `data.id` ke `data.permohonan.id` pada tombol aksi di view registrasifinal.index.blade.php. Juga, menambahkan relasi `permohonan` pada query dan menghapus beberapa spasi kosong yang tidak perlu di RegistrasiFinalController.php untuk meningkatkan keterbacaan kode.
Menambahkan properti align-top pada kolom dokumen jaminan untuk perbaikan tampilan. Mengubah akses item array pada fungsi preview dokumen untuk mencegah kesalahan saat menampilkan dokumen jaminan.
Perbarui tampilan dokumen jaminan agar mendukung multiple dokumen dalam bentuk array, menambahkan indeks pada URL download, serta memperbaiki logika untuk menampilkan link dan tombol preview.
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.
Enhanced the document upload section to support multiple file uploads for "Dokumen Jaminan". Added "Add More" and "Remove" buttons for dynamically managing file inputs. Implemented helper functions to handle dynamic input fields and update the UI accordingly.
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.
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.
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.
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.
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.
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.
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.