simedkom/app/Console/Commands
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
..
CrawlNewsCommand.php feat: Add news crawling service and command with a UI action to the media monitoring table. 2026-01-06 15:19:53 +07:00
UpdateCooperationStatusCommand.php refactor: implement local scopes for enums with #[Scope] attribute across models 2026-01-12 11:14:22 +07:00