Commit Graph

182 Commits

Author SHA1 Message Date
Yoga Pangestu
549e3e3bca feat: optimize product variant handling with bulk insertions and adjustments; enhance stock mutation recording 2026-08-01 19:26:47 +07:00
Yoga Pangestu
44dab8271f feat: implement stock mutation functionality with service and controller; add pagination and UI components 2026-08-01 17:30:05 +07:00
Yoga Pangestu
10db7bc5a2 Refactor product variant photo handling to support multiple images
- Updated ProductVariantService to handle multiple photo keys and URLs.
- Introduced FileUploadMultiple component for uploading multiple images.
- Modified product creation and editing forms to accommodate multiple photos.
- Adjusted data structures in product drafts and tests to reflect changes in photo handling.
- Enhanced image preview modal to navigate through multiple images.
2026-08-01 15:49:38 +07:00
Yoga Pangestu
f97e59bccf refactor: improve layout formatting in AppShell and AppSidebarLayout; update button text in ProductCreate and ProductEdit 2026-08-01 15:15:44 +07:00
Yoga Pangestu
15161b6ea4 feat: implement stock transfer functionality for product variants with validation and notifications 2026-08-01 15:15:38 +07:00
Yoga Pangestu
fbd7aa5862 refactor: update layout styles for AppHeader and AppSidebarLayout components 2026-08-01 14:51:21 +07:00
Yoga Pangestu
0e96469cdd refactor: enhance layout and spacing for product variant buttons in create and edit pages 2026-08-01 14:46:58 +07:00
Yoga Pangestu
841767d5b1 feat: implement product draft functionality for create and edit pages 2026-08-01 14:40:06 +07:00
Yoga Pangestu
0126321a6e fix: improve error handling in handleAction method with logging and user-friendly message 2026-08-01 14:38:04 +07:00
Yoga Pangestu
9cf3e2bb6b refactor: update ProductRequest namespace and reintroduce the class 2026-08-01 13:38:13 +07:00
Yoga Pangestu
79cd9a8c39 feat: implement RegistersMedia trait for media handling across services 2026-08-01 13:36:32 +07:00
Yoga Pangestu
e3c0f14c43 feat: implement product variant management
- Add a custom hook `useCardTableExpand` for managing expandable card tables.
- Refactor product columns to include variant edit and delete handlers.
- Integrate `CardTable` component for displaying products with expandable variant details.
- Create `ProductCardRow` component for rendering product information in a card format.
- Implement variant editing functionality with a dedicated `ProductVariantEdit` component.
- Add `VariantSubRow` component to display variant details in a table format.
- Update routes to handle product variant editing and deletion.
- Enhance tests to cover variant editing and deletion scenarios.
2026-08-01 13:19:07 +07:00
Yoga Pangestu
97f114136b feat: add confirmation dialog for deleting product variants in create and edit pages 2026-08-01 12:19:53 +07:00
Yoga Pangestu
e05a0c7066 refactor: remove layout breadcrumbs from multiple components for cleaner code 2026-08-01 12:14:13 +07:00
Yoga Pangestu
4a4c4ccad0 Refactor table column headers to remove sorting functionality
- Removed sorting buttons and associated logic from various table columns across payroll, employee, leave request, category, customer, product, supplier, and role management pages.
- Simplified header definitions to use static text instead of buttons for sorting.
- Cleaned up unused sort state management in related index components.
2026-08-01 12:11:36 +07:00
Yoga Pangestu
6663aca156 feat: add max height to notification dropdown for better usability 2026-08-01 12:05:04 +07:00
Yoga Pangestu
93e69932e7 feat: implement error notification system for developers 2026-08-01 11:59:46 +07:00
Yoga Pangestu
95be00c9d1 feat: add push notification functionality and service worker
- Implemented push notifications with a service worker (sw.ts) to handle caching and notifications.
- Added API routes for push subscription and notification management in routes/api.php.
- Created NotificationTest to validate notification service functionality and ensure correct notifications are sent based on user roles and actions.
- Updated Permissions component to manage notification permissions and subscriptions.
- Enhanced CategoryIndex component to highlight categories based on notifications.
- Excluded service worker from TypeScript compilation in tsconfig.json.
- Updated Vite configuration to include service worker in the build process.
2026-08-01 11:36:20 +07:00
Yoga Pangestu
23cc327190 Refactor code for improved readability and consistency across multiple files
- Adjusted indentation and formatting in login, permissions, profile, and security pages for better readability.
- Enhanced the clarity of conditional statements and function calls in permissions and profile components.
- Updated type definitions in vite-env.d.ts for better code structure.
- Cleaned up array mapping syntax in ProductTest.php for consistency.
2026-08-01 10:14:47 +07:00
Yoga Pangestu
2a3e70b78d Refactor role management and pagination in admin panel
- Updated RoleIndex component to handle pagination, sorting, and searching for roles.
- Adjusted data structure for roles to include pagination details.
- Enhanced tests for various admin features (Finance, HR, Master) to validate pagination and data structure.
- Ensured all relevant tests check for data structure consistency, including total counts and pagination details.
2026-08-01 02:54:24 +07:00
Yoga Pangestu
16909d076b feat: integrate sidebar functionality for mobile responsiveness 2026-08-01 02:23:52 +07:00
Yoga Pangestu
dc8ecf6c52 Refactor code structure for improved readability and maintainability 2026-08-01 02:11:56 +07:00
Yoga Pangestu
c4db043fda feat: add Combobox component with input, trigger, and clear functionalities 2026-08-01 02:11:00 +07:00
Yoga Pangestu
e6a376d021 fix: update TableHeader class for improved styling and visibility 2026-08-01 01:48:07 +07:00
Yoga Pangestu
e92a4cfbcf refactor: enhance handleAction method to include error route parameter for improved error handling 2026-08-01 00:50:52 +07:00
Yoga Pangestu
5b553b2c26 fix: update app sidebar header for sticky positioning and correct product link 2026-08-01 00:12:56 +07:00
Yoga Pangestu
4e18cd1c49 fix: update password input placeholder for better security indication 2026-07-31 23:17:10 +07:00
Yoga Pangestu
04bff9773a refactor: apply consistent formatting and organization across multiple files 2026-07-31 23:16:34 +07:00
Yoga Pangestu
e9237f857e feat: add role management functionality with create, edit, and delete capabilities
- Implemented RoleEdit component for editing roles with permissions.
- Created RoleIndex component for listing roles with delete confirmation.
- Added routes for role management in web.php with appropriate permissions.
- Developed RoleTest to cover authentication, authorization, and data integrity for role management.
2026-07-31 23:15:55 +07:00
Yoga Pangestu
67e5a6271f Add tests for CheckAttendancePenaltiesJob to validate attendance penalties logic
- Implement tests to ensure job skips execution on weekends, when penalties are zero, or when no payroll period exists.
- Validate late penalty creation for late check-ins and ensure no penalties for on-time or early check-ins.
- Test absent penalties for employees without attendance records.
- Ensure no duplicate penalties are created and that payroll recalculations are accurate after penalties are applied.
- Handle multiple employees and edge cases, including employees without associated users.
- Verify that the job can be dispatched to the queue and has the correct retry configuration.
2026-07-31 11:13:46 +07:00
Yoga Pangestu
d07eb3498a feat: update homepage settings to use image keys and add presigned URL retrieval 2026-07-31 10:30:25 +07:00
Yoga Pangestu
a1a73cb222 Add admin settings routes and corresponding feature tests
- Introduced routes for managing admin settings including system, homepage, social media, marketplace, and HR settings.
- Created a comprehensive test suite for the AdminSettingsController to ensure proper functionality and validation of settings updates.
- Implemented tests for authentication, data integrity, and realistic user scenarios to validate the settings management process.
2026-07-31 01:04:14 +07:00
Yoga Pangestu
c2b93a0489 feat: update phone number header label to 'No. Telepon' 2026-07-31 00:34:33 +07:00
Yoga Pangestu
8de53eadde feat: simplify phone number validation by removing unnecessary digit constraints 2026-07-30 22:44:36 +07:00
Yoga Pangestu
1df5b53910 feat: enhance SEO metadata for improved visibility and sharing 2026-07-30 22:26:22 +07:00
Yoga Pangestu
bfad1ae65c feat: add PWA support with manifest and service worker registration
- Added icons for PWA: icon-192x192.png, icon-512x512.png, and maskable-icon.png.
- Created manifest.json for PWA configuration.
- Integrated PWA registration in app.tsx with update notifications.
- Implemented PWA update toast component for user notifications.
- Enhanced permissions page with platform-specific denied messages.
- Updated app.blade.php to include manifest and meta tags for PWA.
- Configured Vite to support PWA with caching strategies for assets and APIs.
2026-07-30 22:23:41 +07:00
Yoga Pangestu
aecd8eaf1f Refactor security settings page and update password functionality
- Translated UI elements to Indonesian for better localization.
- Improved layout by introducing Card components for better visual structure.
- Removed unnecessary imports and props related to passkeys and two-factor authentication.
- Updated tests to cover new password update scenarios and validation rules.
- Ensured proper redirection and error handling for unauthorized access to security settings.
- Enhanced user experience by adding success flash messages on password updates.
2026-07-30 22:08:24 +07:00
Yoga Pangestu
6dbe9da581 feat: add payroll management features including payroll periods, adjustments, and payment processing
- Implemented routes for managing payroll periods, including current, close, and reopen functionalities.
- Added payroll payment and cancellation routes.
- Introduced payroll adjustments with store and delete functionalities.
- Created comprehensive feature tests for payroll management, covering authentication, CRUD operations, and business logic.
- Ensured proper handling of payroll adjustments and their impact on payroll totals.
- Developed tests for generating payrolls and managing payroll periods, ensuring accurate status transitions and data integrity.
2026-07-30 17:06:52 +07:00
Yoga Pangestu
aa46893885 feat: update User model and UserInfo component to use full_name attribute 2026-07-30 13:51:09 +07:00
Yoga Pangestu
520696fb67 feat: add toolbar support to DataTable component for enhanced functionality 2026-07-30 13:42:10 +07:00
Yoga Pangestu
c43713c41c feat: enhance phone number input handling in Customer and Supplier components 2026-07-30 13:40:58 +07:00
Yoga Pangestu
f93bd17b2d feat: update phone number label to 'No. Telepon' in EmployeeCreate and EmployeeEdit components 2026-07-30 13:39:05 +07:00
Yoga Pangestu
cc2b6c6b3a feat: add filtering options for leave requests by status in LeaveRequestIndex component 2026-07-30 13:12:16 +07:00
Yoga Pangestu
3f12a65b05 feat: implement transaction type filtering in CashAccount management 2026-07-30 12:40:26 +07:00
Yoga Pangestu
0d90c5913e feat: update attachment title in FileUpload component for clarity 2026-07-30 11:46:43 +07:00
Yoga Pangestu
bc810c93d2 feat: enhance Employee management with filtering options and improved data handling
- Updated EmployeeController to accept request filters for employment status, activity status, and gender.
- Modified EmployeeService to support filtering in the getAll method.
- Enhanced Employee index page with a filter toolbar for better user experience.
- Fixed route parameter naming for employee-related routes.
- Added comprehensive tests for employee index functionality and filtering capabilities.
2026-07-30 11:26:11 +07:00
Yoga Pangestu
5f0b62638b feat: add receipt_key validation and handling for cash account deposits and expenses 2026-07-30 10:57:09 +07:00
Yoga Pangestu
ccf1611e9f feat: enhance pagination controls in DataTable with additional navigation buttons 2026-07-30 10:45:35 +07:00
Yoga Pangestu
79da7df73c feat: refactor EmployeeController and EmployeeService for improved user handling and password reset logic 2026-07-30 10:34:32 +07:00
Yoga Pangestu
917588eecf feat: refactor transaction and leave request handling to use centralized action handler 2026-07-30 10:29:52 +07:00