Commit Graph

28 Commits

Author SHA1 Message Date
Yoga Pangestu
fbb0f92b37 refactor: restrict action visibility to administrator and developer roles across cooperation and report modules 2026-04-11 15:02:13 +07:00
Yoga Pangestu
ca5aa283d0 feat: add PDF export functionality for reports using dompdf and integrate into ReportRelationManager 2026-04-10 22:34:55 +07:00
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
ba115a4502 feat: add date range validation for proposal submission in SendProposalAction 2026-04-10 14:45:25 +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
5e545f4bea feat: allow report acceptance and rejection during assignment status 2026-04-10 13:25:43 +07:00
Yoga Pangestu
d858a47023 refactor: standardize notification keys and add cheerful tone variants to language files 2026-04-09 13:21:23 +07:00
Yoga Pangestu
968af2c1c7 feat: add default names for action classes to improve readability and consistency 2026-04-08 14:37:10 +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
3533d955f8 refactor: rename 'Laporan' to 'Bukti Tayang' across UI components and language files for consistency 2026-04-06 14:05:56 +07:00
Yoga Pangestu
1bdf1fa625 refactor: rename Penugasan to Media Order across language files, enums, documentation, and UI components 2026-04-06 11:38:30 +07:00
Yoga Pangestu
4f465b17bb feat: Add helper text for file upload fields across various Filament pages to improve user guidance on accepted formats and size limits. 2026-04-06 09:53:23 +07:00
Yoga Pangestu
3a5ef20334 refactor: replace direct message retrieval with key-based retrieval in CheerfulNotification across various enums and Filament pages for improved localization and maintainability 2026-04-06 09:22:07 +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
573615c979 feat: Revamp modal headings and descriptions across Filament actions for improved user engagement and clarity, incorporating playful icons and friendly language. 2026-03-26 14:05:40 +07:00
Yoga Pangestu
938680e2cc style: Replace filled Heroicons with their outlined counterparts across various Filament resources, pages, and actions. 2026-03-17 12:44:59 +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
3ba104c1a1 refactor: Replace hardcoded role checks with RoleEnum for consistency across cooperation and journalist actions 2026-01-19 10:48:44 +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
416905af9f fix(task assigmnet): delete locale 2026-01-14 15:47:15 +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
95562c87fb refactor: change Auth:: to auth()-> and remove comment /** @var \App\Models\User $user */ 2026-01-14 09:55:52 +07:00
Yoga Pangestu
2983cd243f refactor: centralize cheerful notifications and cleanup auth calls
- Introduce `CheerfulNotification` utility class to standardize cheerful and expressive notifications across the application.
- Refactor custom "Cheerful" actions (Create, Edit, Delete, etc.) and `DefaultBulkActions` to utilize the new utility class.
- Update all `ToggleColumn` status updates in Master Data modules to use `CheerfulNotification::statusUpdated()`.
- Replace inline `Notification::make()` calls in custom actions (Reply, Crawl News, Cooperation actions) and Resource Pages with `CheerfulNotification` methods.
- Address various lint errors by standardizing the use of the `Auth` facade and improving type hinting for the authenticated `User` model.
2026-01-14 09:54:46 +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
74122961f8 refactor: remove autocomplete from date pickers in task assignment and cooperation forms
- Removed the autocomplete option from date picker components in CreateTaskAssignmentAction and CooperationForm to enhance user experience and ensure consistent behavior across forms.
- Added type hinting for the Set utility in CooperationForm for improved clarity and type safety.
2026-01-12 15:52:27 +07:00
Yoga Pangestu
6fe5e81717 refactor: add type hinting to closures and fix logic errors in Filament codebase
- Added comprehensive parameter and return type hinting to closures across various Filament resources, actions, and relation managers to improve type safety and static analysis.
- Fixed logic in ReportRelationManager where report count was incorrectly compared, preventing the 'Buat Laporan' button from showing correctly.
- Corrected namespaces for RepeatableEntry and TextEntry in ViewCooperation (changed from Filament\Schemas to Filament\Infolists).
- Fixed component rendering in JournalistResource form by ensuring sections are correctly returned in the mapping.
- Added @var docblocks to resolve lint errors related to auth()->user() and verified query builder return types.
- Standardized file retrieval logic in PartnerResource and improved overall code reliability."
2026-01-12 15:17:21 +07:00
Yoga Pangestu
c793c8e67a refactor: standardize action naming conventions and organization
- Refactor custom Filament actions into resource-specific subfolders (Cooperation, Proposal, Report).
- Standardize all action identifiers to snake_case for consistency.
- Move action identifiers directly into ::make('name') calls.
- Remove getDefaultName() from custom action classes to favor explicit naming.
- Update relation managers and resources to use the new namespaced action classes.
- Standardize closure syntax (fn) and string formatting across schemas and actions.
2026-01-12 13:20:56 +07:00