Commit Graph

22 Commits

Author SHA1 Message Date
Yoga Pangestu
1d5863efaf feat: integrate activity log functionality in ProductPrice model and enhance change formatting in ActivityLogService
Some checks are pending
linter / quality (push) Waiting to run
tests / ci (8.3) (push) Waiting to run
tests / ci (8.4) (push) Waiting to run
tests / ci (8.5) (push) Waiting to run
2026-07-27 23:00:22 +07:00
Yoga Pangestu
9539ff7042 refactor: remove StockController and related stock verification logic
- Deleted `data-table-actions.vue` component as it is no longer needed.
- Removed `CuttingResultPriceItem` type and related properties from `cutting.ts`.
- Updated routes in `web.php` to eliminate stock verification routes and permissions.
- Removed `StockTest.php` file and its associated tests for stock verification and management.
- Adjusted `CuttingTest.php` to reflect changes in cutting results handling and removed references to product variants.
2026-07-19 17:29:19 +07:00
Yoga Pangestu
cf5b300895 Refactor product status management: replace is_active with status enum
Some checks are pending
linter / quality (push) Waiting to run
tests / ci (8.3) (push) Waiting to run
tests / ci (8.4) (push) Waiting to run
tests / ci (8.5) (push) Waiting to run
- Updated the OwnerVerificationRequest model to change pendingToggleIsActive to pendingToggleStatus, reflecting the new status structure.
- Refactored the Product model to replace is_active with status, utilizing the ProductStatus enum for better clarity and type safety.
- Modified the ProductService to accommodate the new status field, including pagination and creation logic.
- Adjusted the AnalysisService to filter products based on their status.
- Updated the VerificationChangeFormatter to handle the new status field.
- Created a migration to remove is_active from the products table and add status with appropriate default values.
- Refactored the ProductSeeder to use the new status field.
- Updated frontend components and types to reflect the changes from is_active to status.
- Adjusted tests to ensure they validate the new status logic correctly.
2026-07-18 16:34:34 +07:00
Yoga Pangestu
62beb309a8 feat: implement restock management features including CRUD operations, permissions, and UI components for creating and editing restocks 2026-07-13 19:15:17 +07:00
Yoga Pangestu
d01bcd5390 refactor: update labels in OwnerVerification and RetailStockTransferModal components for improved clarity in stock management
Some checks are pending
linter / quality (push) Waiting to run
tests / ci (8.3) (push) Waiting to run
tests / ci (8.4) (push) Waiting to run
tests / ci (8.5) (push) Waiting to run
2026-07-05 17:20:03 +07:00
Yoga Pangestu
59d7f94d0f feat: register ActivityBuffer in AppServiceProvider to enhance activity logging capabilities 2026-07-03 15:53:34 +07:00
Yoga Pangestu
3d00511626 feat: enhance PresignedUploadController to support local uploads and improve S3 integration; add localUpload method for handling uploads when S3 is not the default disk
Some checks failed
linter / quality (push) Waiting to run
tests / ci (8.3) (push) Has been cancelled
tests / ci (8.4) (push) Has been cancelled
tests / ci (8.5) (push) Has been cancelled
2026-07-02 22:53:28 +07:00
Yoga Pangestu
13a75a1a25 feat: add AWS S3 and FTP support by including league/flysystem-aws-s3-v3 and league/flysystem-ftp packages; enhance UserProfile and MediaPresenter for temporary URL generation 2026-07-01 23:09:38 +07:00
Yoga Pangestu
4a647cb3e6 feat: enhance product variant management by adding price fields and functionality for copying, pasting, and applying prices across variants 2026-07-01 17:28:31 +07:00
Yoga Pangestu
86ee45c1fb feat: implement owner verification detail modal with data fetching and display functionality 2026-06-30 17:42:48 +07:00
Yoga Pangestu
8f66502f25 feat: implement retail stock transfer functionality with new controller, request validation, and service logic, while updating related models and UI components 2026-06-28 22:57:07 +07:00
Yoga Pangestu
16fe9a3d9f refactor: remove redundant blank lines across all services and update dashboard imports 2026-06-28 17:33:46 +07:00
Yoga Pangestu
7a1c4efe4a feat: enhance controller best practices and introduce new Cutting and Order management features with updated services and validation handling 2026-06-28 16:12:15 +07:00
Yoga Pangestu
8146da86c6 feat: add stock ecer transfer functionality with new controller, service, and frontend modal integration 2026-06-28 10:42:57 +07:00
Yoga Pangestu
7c0b59b998 feat: add partially paid status to employee advances and update related functionalities 2026-06-27 20:07:12 +07:00
Yoga Pangestu
8c026dda1c feat: implement owner verification workflow for marketplace settings and restrict administrative settings access 2026-06-27 17:06:54 +07:00
Yoga Pangestu
21b990799e feat: implement owner verification system with enums, service, and controller updates for managing verification requests 2026-06-26 19:13:10 +07:00
Yoga Pangestu
2db6dfece9 feat: enhance cutting management by adding result prices handling, including validation and calculations for total material cost and cost per unit 2026-06-19 19:04:23 +07:00
Yoga Pangestu
c30fe015e2 Refactor order service to utilize new marketplace snapshot structure. Update create and update methods to call buildOrderSnapshot with total amount and line items for improved fee calculation. Introduce lineItemsForSnapshot method for consistent item formatting in snapshots. 2026-06-13 01:27:53 +07:00
Yoga Pangestu
7d721cab31 Refactor marketplace settings to use structured fee rules. Update MarketplaceRequest, MarketplaceService, and MarketplaceSettings to handle fees as arrays with scope and value type. Enhance frontend components to accommodate new fee structure and validation logic for improved user experience. 2026-06-13 01:20:12 +07:00
Yoga Pangestu
1d1f0e7941 Add activity logging features by integrating Spatie's laravel-activitylog package. Update Permission and Role enums to include activity log permissions. Implement activity logging in Login and Logout controllers. Enhance sidebar navigation to include activity logs section. Update models to interact with activity logs through InteractsWithActivityLog concern. 2026-06-12 11:10:36 +07:00
Yoga Pangestu
f8322566da Add media management features across various models and services. Implement media handling in Product, RawMaterial, Attendance, CashTransaction, EmployeeAdvance, and Expense models. Introduce ValidatesMediaUploads trait for consistent media validation in requests. Enhance services to support media synchronization and retrieval, improving user experience with image uploads and management. 2026-06-11 19:32:33 +07:00