Commit Graph

79 Commits

Author SHA1 Message Date
Yoga Pangestu
ec7a9bdf30 feat: implement cooperation payment workflow with invoice submission, approval, and rejection actions 2026-04-10 16:17:34 +07:00
Yoga Pangestu
43271a82a9 refactor: remove verification status from cooperation workflow and automate transition to payment 2026-04-10 14:42:28 +07:00
Yoga Pangestu
a03f3e3a7b refactor: migrate to HasManyDeep for cooperation reports and standardize query filtering across relation managers 2026-04-10 13:12:50 +07:00
Yoga Pangestu
480796e8f2 fix: update labels for data change entry fields in Company, Journalist, and PartnerMedia models 2026-04-09 09:43:50 +07:00
Yoga Pangestu
ae46b93b32 refactor: streamline Cooperation resource by consolidating partner media queries and enhancing infolist structure for improved maintainability 2026-04-08 10:59:52 +07:00
Yoga Pangestu
785e425dee refactor: remove Category resource and related components for cleanup 2026-04-06 14:59:32 +07:00
Yoga Pangestu
d32be18c92 refactor: remove unused casts and rename announcementMedias relation to announcementMedia for consistency 2026-04-06 13:52:43 +07:00
Yoga Pangestu
42691efbfa refactor: rename cooperationMedias and proposals relations to singular form for consistency 2026-04-06 13:06:36 +07:00
Yoga Pangestu
8a4dfa00a1 fix: Update role name retrieval in User model to use enum values for improved consistency and type safety. 2026-03-31 15:25:26 +07:00
Yoga Pangestu
91d2266a20 feat: Introduce NotifStyle enum for notification customization and update Filament actions to utilize it, enhancing user engagement and clarity across the application. 2026-03-26 15:48:29 +07:00
Yoga Pangestu
56ffcb5508 feat: Implement user settings management with dynamic theme customization, including UX style, primary color, font, and UI preferences, enhancing user experience across the application. 2026-03-26 15:35:22 +07:00
Yoga Pangestu
0086ff50d2 feat: Introduce UxStyle enum for enhanced user experience and update modal headings and descriptions across Filament actions to utilize cheerful notifications, improving clarity and engagement. 2026-03-26 14:40:35 +07:00
Yoga Pangestu
01db1c4794 feat: Add many-to-many relationship for Issue Management with Departments, including migration, Filament UI updates, and a new department issue chart. 2026-03-26 10:24:03 +07:00
Yoga Pangestu
718df3e35d feat: Add phone number field to Company model and update related resources for improved data management. 2026-03-18 00:43:16 +07:00
Yoga Pangestu
374a2e0d10 feat: Integrate HasFactory trait into multiple models for improved testing capabilities and add incrementing property to specific pivot models. 2026-03-17 22:30:01 +07:00
Yoga Pangestu
7766c9c9ac feat: Add verification review migration, display details in partner resource, and introduce a latest review relationship. 2026-03-17 12:31:00 +07:00
Yoga Pangestu
3313f31048 feat: Cast MediaMonitoring channel to an enum and display it as a colored badge in the monitoring table. 2026-03-16 22:54:20 +07:00
Yoga Pangestu
5a85090652 feat: Add color methods to ContentType and Channel enums, cast channel and social media in ContentRecap model, and enhance Filament table display with colored badges. 2026-03-13 09:54:49 +07:00
Yoga Pangestu
3eb3bd697c refactor: Remove sort_order column and related reordering functionality from categories, departments, and themes. 2026-03-13 09:17:19 +07:00
Yoga Pangestu
44ee744615 refactor: Remove sort_order field and its associated logic from location and sub-location models, migrations, and Filament resources. 2026-03-13 09:06:55 +07:00
Yoga Pangestu
1885b2c7a3 refactor: Remove sort_order column and related functionality from classification and sub-classification models, migrations, and Filament resources. 2026-03-13 09:02:19 +07:00
Yoga Pangestu
bdd508220b feat: Add dataChangeRequests morph relation to PartnerMedia, Company, and Journalist models, refactor CategoryNews relationships, and pluralize HasMany method names. 2026-03-13 08:31:43 +07:00
Yoga Pangestu
e4cd88136e feat: Implement local scopes for report statuses in the Report model and update the TaskRealizationChart to filter by ApprovalStatus enum. 2026-02-24 11:11:18 +07:00
Yoga Pangestu
7f51781334 Refactor database migrations to use explicit foreign key constraints with cascade on delete, update enum column definitions to use enum values and add indexes, and refine model casts. 2026-02-02 13:19:27 +07:00
Yoga Pangestu
2d7f4ee0e8 feat: Enhance cooperation and reporting workflows with refined relationships, new payment management, and updated actions. 2026-02-02 11:56:49 +07:00
Yoga Pangestu
693d1f001c feat: Add empty state icons and descriptions to Filament relation managers, update CooperationMedia payment relationship to HasOne, and adjust media manager visibility. 2026-01-30 15:32:31 +07:00
Yoga Pangestu
912a20421c feat: Add VerificationStatus enum import and a commented-out verification check to canAccessPanel. 2026-01-30 14:27:30 +07:00
Yoga Pangestu
9005f9cbec feat: Implement company-based verification status for media and journalist data change requests, and refine admin verification UI/UX. 2026-01-30 13:26:43 +07:00
Yoga Pangestu
94f1a06b44 feat: Filter location and sub-location selections in issue management forms to only display active records. 2026-01-29 21:38:08 +07:00
Yoga Pangestu
98d30a80e6 feat: Implement granular access control and permissions for Filament widgets, pages, and data change requests using Filament Shield and a new policy. 2026-01-29 15:05:26 +07:00
Yoga Pangestu
2e80c19c19 feat: Implement advanced filtering and Excel export functionality for Cooperation, Issue Management, Media Monitoring, and Content Recap tables. 2026-01-29 13:22:57 +07:00
Yoga Pangestu
2626d890a4 feat: introduce a comprehensive data change request and review system with new Filament resources, models, migrations, and actions for managing data changes. 2026-01-29 09:44:52 +07:00
Yoga Pangestu
25e6713a65 refactor: Replace fillable properties with guarded properties in Contact model for improved security and data handling. 2026-01-28 10:44:27 +07:00
Yoga Pangestu
e5fc61abc3 refactor: update several relationship methods from HasMany to HasOne and singularize relationship names. 2026-01-28 09:01:00 +07:00
Yoga Pangestu
f041ed98e7 feat: Change MediaMonitoring to HasOne relationship, restrict media_monitoring_id selection in the form to unique entries, and add sub-location and sub-classification columns to the table. 2026-01-27 22:33:25 +07:00
Yoga Pangestu
acd5e1afef refactor: Change Company verification request relationship to HasOne and singularize Announcement media relationship names. 2026-01-27 21:39:51 +07:00
Yoga Pangestu
ef446ef862 feat: Change Company partnerMedia relationship to HasOne and enhance PartnerResource company description display. 2026-01-27 21:32:24 +07:00
Yoga Pangestu
a847b6e1fc Refactor model relationships by converting multiple HasOne relationships to HasMany and pluralizing method names for consistency. 2026-01-27 21:04:49 +07:00
Yoga Pangestu
24c95ceb87 feat: Integrate Swindon\FilamentHashids trait into multiple models for enhanced ID encoding 2026-01-19 11:03:33 +07:00
Yoga Pangestu
ad7789dd3f feat: Add a console command to simulate cooperation time, improve date validation, and refine UI texts and report creation conditions. 2026-01-19 08:23:56 +07:00
Yoga Pangestu
1d52463286 feat(cooperation): refactor workflow and implement payment system
- Refactored cooperation workflow to include manual status transitions.
- Implemented payment tracking with CooperationPayment model and PayAction.
- Updated UpdateCooperationStatusCommand for automatic assignment and verification transitions.
- Removed deprecated date columns (assignment_deadline, verification_deadline).
- Enhanced Filament UI with new actions (Complete, Proceed to Payment, Pay).
- Added CooperationSeeder for testing purposes.
2026-01-14 15:41:23 +07:00
Yoga Pangestu
f038da6735 refactor(cooperation): change relation to task assignment from has many to has one and adjust related logic 2026-01-14 10:23:30 +07:00
Yoga Pangestu
ab318a030b feat(notification): enhance user notifications for cooperation and verification processes
- Added detailed notifications for users and admins upon acceptance, rejection, and submission of proposals, verifications, and reports.
- Improved user experience with personalized messages and actionable links in notifications.
- Refactored notification logic across various actions to ensure consistent messaging and clarity.
- Introduced new notification titles and bodies to better reflect the status of actions taken.
2026-01-13 15:53:07 +07:00
Yoga Pangestu
9ca4e68de9 refactor: implement local scopes for enums with #[Scope] attribute across models
- Added local scopes for Enum-based fields (status, type, decision) in models: Cooperation, VerificationRequest, PartnerMedia, CooperationProposal, CooperationMedia, and VerificationReview.
- Refactored query logic in Commands, Services, and Filament Resources to use the new scopes for better readability and maintainability.
- Added specific pivot status scopes in PartnerMedia model for cleaner relationship filtering.
- Fixed incorrect Enum usage in ViewCooperation.php during the refactoring process.
- Standardized code style for closures and string concatenation in the modified files.
2026-01-12 11:14:22 +07:00
Yoga Pangestu
2b49688f8f feat: Enhance cooperation proposal management with media handling and improved infolist display
- Removed debug statement from CreateCooperation.php.
- Updated CooperationProposalRelationManager to include a detailed infolist schema with media and status information.
- Improved proposal creation logic in CooperationsTable to handle proposal attachments and store them in the media library.
- Implemented media handling in CooperationProposal model for better integration with file uploads.
2026-01-12 10:33:47 +07:00
Yoga Pangestu
6265410fb0 feat: Refactor media handling and improve file upload configurations in Cooperation and Journalist resources 2026-01-09 15:00:36 +07:00
Yoga Pangestu
aab02b44fe feat: Implement verified scope for PartnerMedia and update relationships in CooperationForm and AnnouncementResource 2026-01-08 14:38:37 +07:00
Yoga Pangestu
69c86e5d3c Refactor verification process and UI updates
- Updated JournalistResource to conditionally display actions based on user roles and verification status.
- Modified ManageJournalists page to hide header actions if verification request status is not NEED_REVISION.
- Changed CategoryResource navigation label from 'Kategori Berita' to 'Kategori'.
- Adjusted ManageCategories page to reflect the new category label and modal headings.
- Refactored Company model to change verificationRequest relationship from MorphOne to HasOne.
- Removed verificationRequest method from Journalist and PartnerMedia models.
- Updated VerificationRequest model to change verifiable relationship from MorphTo to BelongsTo.
- Introduced VerificationService to handle verification logic, including data completeness checks and submission processes.
- Created a new migration to adjust the verification_requests table structure.
- Enhanced admin verification view to display detailed verification progress and review history.
- Updated company and media forms to conditionally show the save button based on verification request status.
2026-01-08 13:55:37 +07:00
Yoga Pangestu
bd122f77b9 feat: Add navigation badge for pending verification requests and implement pending scope in VerificationRequest model 2026-01-08 09:42:40 +07:00
Yoga Pangestu
9742097d2b feat: Add visitor tracking functionality with Filament resource and footer statistics. 2026-01-06 12:01:50 +07:00