simedkom/app/Models
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
..
Announcement.php feat: Implement public announcements page with a new title field and rich text editor for content. 2026-01-06 11:07:13 +07:00
AnnouncementMedia.php feat(announcement): create AnnouncementMedia model, factory, and migration 2025-12-12 11:30:36 +07:00
Category.php feat: Implement news categories and status management with a new category resource and updated news form fields for excerpt, categories, and status. 2025-12-24 08:56:11 +07:00
CategoryNews.php feat: Implement news categories and status management with a new category resource and updated news form fields for excerpt, categories, and status. 2025-12-24 08:56:11 +07:00
Classification.php test: add comprehensive test suite and model factories 2025-12-11 14:50:37 +07:00
Company.php Refactor verification process and UI updates 2026-01-08 13:55:37 +07:00
Contact.php feat: Implement contact management system with email reply functionality and database migration 2026-01-06 09:37:55 +07:00
ContentRecap.php test: add comprehensive test suite and model factories 2025-12-11 14:50:37 +07:00
Cooperation.php refactor: implement local scopes for enums with #[Scope] attribute across models 2026-01-12 11:14:22 +07:00
CooperationMedia.php refactor: implement local scopes for enums with #[Scope] attribute across models 2026-01-12 11:14:22 +07:00
CooperationProposal.php refactor: implement local scopes for enums with #[Scope] attribute across models 2026-01-12 11:14:22 +07:00
Department.php test: add comprehensive test suite and model factories 2025-12-11 14:50:37 +07:00
IssueManagement.php test: add comprehensive test suite and model factories 2025-12-11 14:50:37 +07:00
Journalist.php Refactor verification process and UI updates 2026-01-08 13:55:37 +07:00
Location.php test: add comprehensive test suite and model factories 2025-12-11 14:50:37 +07:00
MediaMonitoring.php test: add comprehensive test suite and model factories 2025-12-11 14:50:37 +07:00
MediaMonitoringTheme.php test: add comprehensive test suite and model factories 2025-12-11 14:50:37 +07:00
MediaTaskAssignment.php feat: implement comprehensive cooperation management module with models, migrations, and Filament resources 2025-12-16 12:37:53 +07:00
News.php feat: Implement news categories and status management with a new category resource and updated news form fields for excerpt, categories, and status. 2025-12-24 08:56:11 +07:00
PartnerMedia.php refactor: implement local scopes for enums with #[Scope] attribute across models 2026-01-12 11:14:22 +07:00
RejectionReason.php feat: implement comprehensive cooperation management module with models, migrations, and Filament resources 2025-12-16 12:37:53 +07:00
Report.php feat: implement comprehensive cooperation management module with models, migrations, and Filament resources 2025-12-16 12:37:53 +07:00
SubClassification.php test: add comprehensive test suite and model factories 2025-12-11 14:50:37 +07:00
SubLocation.php test: add comprehensive test suite and model factories 2025-12-11 14:50:37 +07:00
TaskAssignment.php feat: implement comprehensive cooperation management module with models, migrations, and Filament resources 2025-12-16 12:37:53 +07:00
Theme.php test: add comprehensive test suite and model factories 2025-12-11 14:50:37 +07:00
User.php feat: Add visitor tracking functionality with Filament resource and footer statistics. 2026-01-06 12:01:50 +07:00
VerificationRequest.php refactor: implement local scopes for enums with #[Scope] attribute across models 2026-01-12 11:14:22 +07:00
VerificationReview.php refactor: implement local scopes for enums with #[Scope] attribute across models 2026-01-12 11:14:22 +07:00
Visitor.php feat: Add visitor tracking functionality with Filament resource and footer statistics. 2026-01-06 12:01:50 +07:00