Commit Graph

1202 Commits

Author SHA1 Message Date
Daeng Deni Mardaeni
0c891b2228 Add conditional custom field input types
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.
2024-11-05 15:07:57 +07:00
Daeng Deni Mardaeni
28661a0c93 Merge remote-tracking branch 'origin/andydev' into staging 2024-11-05 14:27:11 +07:00
Daeng Deni Mardaeni
184e7191dc Add 'administrator' role to various permissions
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.
2024-11-05 14:26:06 +07:00
Andy Chaerudin
fde217a5d2 perbaikan image AGI dan meterai base64 2024-11-05 14:15:40 +07:00
Andy Chaerudin
3555ba15a4 Merge branch 'staging' of https://git.putrakuningan.com/daengdeni/lpj into andydev 2024-11-05 14:07:07 +07:00
Daeng Deni Mardaeni
85f8e3b482 Update legal document handling in DokumenJaminanController
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.
2024-11-05 12:02:12 +07:00
Daeng Deni Mardaeni
be89941651 Refactor PermohonanController for consistency and readability
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.
2024-11-05 12:01:55 +07:00
Daeng Deni Mardaeni
0113563a40 Make 'status' field nullable in validation rules.
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.
2024-11-05 12:01:40 +07:00
Daeng Deni Mardaeni
c73bb674b0 Set 'fillable' attributes in KondisiBangunan model
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.
2024-11-05 12:01:05 +07:00
Daeng Deni Mardaeni
39dff7c83c Fix case sensitivity issue in Teams model
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.
2024-11-05 10:38:24 +07:00
Daeng Deni Mardaeni
b37e5515fe Remove SPK route definitions
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.
2024-11-05 10:32:10 +07:00
Daeng Deni Mardaeni
f64f7ade92 Merge remote-tracking branch 'composer/feature/senior-officer' into staging 2024-11-05 10:08:51 +07:00
Daeng Deni Mardaeni
085b28a758 Add SPK edit and documentSPK views
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.
2024-11-05 10:07:55 +07:00
rustam76
d29b608228 update error module.json 2024-11-05 01:41:37 +00:00
majid
0395235ce0 Merge branch 'staging' into feature/senior-officer 2024-11-05 08:38:22 +07:00
majid
10c9567b4f update assigment lintas region 2024-11-05 08:29:27 +07:00
Andy Chaerudin
4823047f01 perbaikan conflict di route web 2024-11-04 19:21:02 +07:00
Andy Chaerudin
d2afeaa845 add feature SPK 2024-11-04 19:12:57 +07:00
Daeng Deni Mardaeni
2903280424 Refactor JS formatting and update icon in edit views
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.
2024-11-04 17:22:42 +07:00
Daeng Deni Mardaeni
19ad8fad76 Update penawaran status to 'proposal-tender'
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.
2024-11-04 17:04:44 +07:00
Daeng Deni Mardaeni
e8ff13ce6a Fix data retrieval and error handling in ProsesPenawaran
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.
2024-11-04 16:53:16 +07:00
Daeng Deni Mardaeni
cd3b7301fc Change 'Kode Penawaran' column to 'Nama Debitur'
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.
2024-11-04 16:32:55 +07:00
Daeng Deni Mardaeni
046db2fe97 Update button text in permohonan view
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.
2024-11-04 16:08:48 +07:00
Daeng Deni Mardaeni
fd0c9e556a Merge remote-tracking branch 'composer/tender' into staging 2024-11-04 16:01:15 +07:00
Daeng Deni Mardaeni
6dd55f9532 Add 'details' column to 'detail_dokumen_jaminan' table
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.
2024-11-04 16:00:29 +07:00
Daeng Deni Mardaeni
ec6cb8e09f Add custom fields to JenisLegalitasJaminan
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.
2024-11-04 16:00:10 +07:00
e7057627f8 Merge branch 'staging' of https://git.putrakuningan.com/daengdeni/lpj into tender 2024-11-04 14:45:53 +07:00
putrakuningan
7511ee172c Merge pull request 'Membuat Menu Penilai Part 1' (#28) from tender into staging
Reviewed-on: #28
2024-11-04 07:39:17 +00:00
04369bf6ac Menambahkan fitur Surat Tender di Menu Tender di Bagian Penawaran Ulang 2024-11-04 07:39:17 +00:00
23dc9bf1fd Menambahkan seeder Teams dan TeamsUsers pada module Lpj 2024-11-04 07:39:17 +00:00
82a817db2f Mengubah posisi pada saat seeder di module LPJ 2024-11-04 07:39:17 +00:00
d4c82779f1 Mengubah keadaan ketika tambah penawaran maka munculkan pesan "Tanggal Awal tidak boleh sebelum hari ini." 2024-11-04 07:39:17 +00:00
472a5673f9 Menambahkan fitur Surat Tender di Menu Tender di Bagian Penawaran Ulang 2024-11-04 14:37:49 +07:00
Daeng Deni Mardaeni
2908a21454 Add new owner relationships and form for guarantee owners
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.
2024-11-04 09:47:55 +07:00
8b1c9516aa Menambahkan seeder Teams dan TeamsUsers pada module Lpj 2024-11-03 01:20:22 +07:00
fde111b433 Merge branch 'staging' of https://git.putrakuningan.com/daengdeni/lpj into tender 2024-11-02 13:57:18 +07:00
3ae95288f0 Mengubah posisi pada saat seeder di module LPJ 2024-11-02 13:48:46 +07:00
Daeng Deni Mardaeni
56ba6ddae1 Update column position in pemilik_jaminan migration
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.
2024-11-01 16:59:19 +07:00
Daeng Deni Mardaeni
5f5882d420 Add detail_sertifikat column to pemilik_jaminan table
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.
2024-11-01 16:57:34 +07:00
Daeng Deni Mardaeni
24b38ca4f1 Add support for multiple detail sertifikat
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.
2024-11-01 16:53:31 +07:00
5087e56f9c Merge branch 'staging' of https://git.putrakuningan.com/daengdeni/lpj into tender 2024-11-01 11:05:15 +07:00
44c56a02ac Mengubah keadaan ketika tambah penawaran maka munculkan pesan "Tanggal Awal tidak boleh sebelum hari ini." 2024-11-01 11:02:39 +07:00
Daeng Deni Mardaeni
5201cdb0e3 Drop unique constraint on 'cif' in debitures table
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`.
2024-11-01 09:39:41 +07:00
Daeng Deni Mardaeni
26009d796b Add 'Keterangan' Column and Display Notes for Revision
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.
2024-10-31 15:57:01 +07:00
Daeng Deni Mardaeni
e592af3929 Restrict bulk download option to specific roles
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.
2024-10-31 14:42:28 +07:00
Daeng Deni Mardaeni
d89482adf1 Restrict download links to specific user roles
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.
2024-10-31 14:35:16 +07:00
Daeng Deni Mardaeni
bccac76c6a Add multiple database seeders
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.
2024-10-31 14:24:44 +07:00
Daeng Deni Mardaeni
ef52eef06b Add SLAController and related routes, update create view
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.
2024-10-31 14:24:21 +07:00
Daeng Deni Mardaeni
a3ff2ef810 Add PDF viewer and Permohonan details views
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.
2024-10-31 14:21:03 +07:00
Daeng Deni Mardaeni
1d1492b636 Add PDF preview feature and improve permohonan management
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.
2024-10-31 14:14:48 +07:00