Commit Graph

155 Commits

Author SHA1 Message Date
Yoga Pangestu
c2c5f12b5c feat: add date filters and summary for order management
Some checks failed
linter / quality (push) Has been cancelled
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-08-05 00:30:41 +07:00
Yoga Pangestu
9089b32d7b refactor: streamline variant and price loading in product-related services
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
- Removed unnecessary ordering by 'created_at' in variant loading across multiple services and models.
- Implemented global scopes for ordering product variants and raw material prices by 'name' and 'variant', respectively.
- Enhanced code readability and maintainability by simplifying query structures in ProductController, OrderService, and others.
2026-07-29 15:06:16 +07:00
Yoga Pangestu
4027363729 feat: enhance analysis functionality with new revenue metrics
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
- Added methods to AnalysisService for retrieving monthly revenue by channel and revenue by payment type.
- Updated AnalysisController to include new metrics in the index response.
- Enhanced Analysis.vue to visualize revenue data by channel and payment type with appropriate charts and tooltips.
2026-07-29 09:36:22 +07:00
Yoga Pangestu
1f9aba6ba5 feat: enhance order management with additional filters and pagination support
- Added channel, status, and payment type filters to the order index functionality.
- Updated OrderService to handle new filter parameters in pagination queries.
- Introduced filter definitions and values in the OrderGroupedTable component for improved data filtering.
- Enhanced the frontend to support dynamic filtering options for orders based on the new criteria.
2026-07-29 08:59:56 +07:00
Yoga Pangestu
d74d120a6c feat: refactor stock mutation relationships in ProductVariant and RawMaterialPrice models 2026-07-27 22:46:25 +07:00
Yoga Pangestu
3052398ad8 feat: add stock mutation tracking and history feature
- Introduced StockMutation model and service to handle stock changes.
- Created migration for stock_mutations table.
- Implemented stock mutation recording in various services (CuttingService, OrderService, PurchaseService, RestockService, RetailStockService).
- Added StockHistoryController to manage stock history views.
- Developed frontend components for displaying stock history and actions.
- Updated routes to include stock history access with appropriate permissions.
- Enhanced ProductVariant and RawMaterialPrice models to support stock mutations.
- Added RowHistoryAction button for accessing stock history in product and raw material tables.
2026-07-27 22:45:49 +07:00
Yoga Pangestu
562c5721dd feat: add checkVariantUsage endpoint and implement price usage validation in RawMaterial management 2026-07-27 19:02:54 +07:00
Yoga Pangestu
78f422b1cf feat: enhance purchase management by adding photo and S3 key support in requests and services
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-24 22:48:26 +07:00
Yoga Pangestu
ee9bff3043 feat: replace OwnerVerificationService with PushNotificationService and update notification logic in SettingController and MarketplaceService
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-20 23:02:28 +07:00
Yoga Pangestu
0f5bf66320 feat: enhance Open Graph meta tags in app layout for better sharing experience 2026-07-20 22:50:05 +07:00
Yoga Pangestu
0070d0c49e feat: add updateCombinationResult method to CuttingDraftItemController and corresponding route 2026-07-19 20:05:08 +07:00
Yoga Pangestu
03ea092d39 feat: add product ID filter to product index page and update pagination logic 2026-07-19 17:38:46 +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
735b7fa9ed feat: update attendance and cash overview methods to support date range filtering for improved analysis 2026-07-16 13:28:36 +07:00
Yoga Pangestu
0489badf03 feat: update services and controllers to include user information in transaction notifications for improved clarity
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-14 21:41:39 +07:00
Yoga Pangestu
08d3982aa5 feat: enhance employee pagination by incorporating user role checks for improved access control 2026-07-14 21:30:15 +07:00
Yoga Pangestu
245d636cd4 feat: enhance employee management by adding notification support for create, update, delete, and status toggle actions 2026-07-14 19:22:27 +07:00
Yoga Pangestu
9b20d26a4e refactor: remove PWA manifest file and update related configurations, improving project structure and icon handling in the PwaManifestController
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-13 19:55:35 +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
e431cbb54b refactor: simplify raw material creation, update, and deletion processes by removing owner verification checks and enhancing user feedback 2026-07-13 11:57:59 +07:00
Yoga Pangestu
5c1f92e48b feat: add PWA support by updating manifest link and adding apple-touch-icon, enhancing mobile experience
Some checks failed
linter / quality (push) Has been cancelled
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-12 14:34:51 +07:00
Yoga Pangestu
3c5389e541 feat: add search functionality by ID for purchases, products, and raw materials, enhancing data retrieval in index views 2026-07-10 11:47:10 +07:00
Yoga Pangestu
b87203d6ab feat: implement permission-based messaging for purchase and stock verification actions, enhancing user feedback based on roles 2026-07-10 11:26:06 +07:00
Yoga Pangestu
b93a200284 refactor: remove quick-create raw material functionality and associated request, streamlining the CuttingDraftItemController and related components 2026-07-09 15:22:12 +07:00
Yoga Pangestu
a3954faab6 feat: add functionality to create new raw materials and store them in the purchase draft, enhancing the purchasing process 2026-07-09 14:54:23 +07:00
Yoga Pangestu
897d9c62b7 feat: enhance ProductController and ProductService to support owner verification permissions; add ProductVariantEditModal for editing product variants and implement JSON response for product details 2026-07-08 16:09:57 +07:00
Yoga Pangestu
8c3847ade3 feat: enhance RawMaterialController and RawMaterialService to support owner verification permissions; add RawMaterialVariantEditModal for editing price variants and implement JSON response for raw material details
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-08 15:48:38 +07:00
Yoga Pangestu
dc594c9daa feat: enhance raw material filtering and selection in RawMaterialController and related components for improved data 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-07 10:37:13 +07:00
Yoga Pangestu
ba3f7ef9f9 feat: add CuttingMaterialCombination management with store and destroy functionalities; implement validation for combination requests; enhance CuttingService to handle draft combinations; update frontend components for combination handling and display 2026-07-04 21:54:01 +07:00
Yoga Pangestu
2b7208a0c4 feat: expand permission management for settings by introducing new permissions for system, social media, marketplace, HR, and homepage updates; refactor related controllers, requests, and services to utilize these permissions; enhance frontend components to support new permission checks and improve user experience 2026-07-04 13:37:26 +07:00
Yoga Pangestu
f1c3658166 feat: refactor EmployeeController and EmployeeService to utilize Role enum for role options; implement transaction management in EmployeeService methods for create, update, toggle status, and delete operations; enhance Employee model date formatting methods; update frontend components for improved UI and code clarity 2026-07-04 12:35:18 +07:00
Yoga Pangestu
e153497114 feat: implement ensureEditable method in LeaveRequest model for validation; update LeaveRequestController and LeaveRequestService to handle editability checks and transaction management for update and delete operations; enhance LeaveRequestService with new methods for pending requests and index page data 2026-07-04 00:29:57 +07:00
Yoga Pangestu
a8ab96b10b feat: add ensureEditable method in EmployeeAdvance model for validation; update EmployeeAdvanceController to handle editability checks; enhance PayEmployeeAdvanceRequest with attribute mapping; refactor EmployeeAdvanceService to utilize transaction handling for create, update, delete, approve, and reject methods 2026-07-04 00:09:14 +07:00
Yoga Pangestu
c685f45bcf refactor: replace UpdateCashTransactionRequest with CashTransactionRequest in CashController; add ensureEditable method in CashTransaction model for validation; update CashService to use transaction handling methods; enhance CashTest descriptions for clarity 2026-07-03 23:44:42 +07:00
Yoga Pangestu
bac44df627 feat: implement Customer API for creating customers, refactor existing CustomerController, and update routes for API integration 2026-07-03 16:14:41 +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
d02af40836 feat: implement presigned upload functionality for S3 in PresignedUploadController; update media upload handling across various components to support S3 keys and improve user experience
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 14:28:51 +07:00
Yoga Pangestu
15f2f0e1d0 feat: add marketing sales analysis feature; enhance AnalysisService to retrieve marketing sales data and update Analysis.vue to display marketing sales table with relevant metrics 2026-07-02 13:11:18 +07:00
Yoga Pangestu
5a96b48725 feat: implement quick-create functionality for raw materials and products in Cutting module; enhance CuttingController and related components to support new features and improve user experience 2026-07-02 12:04:30 +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
175ec30a5c feat: add share functionality for cutting details with new RowShareAction component and Share pagex 2026-06-29 19:56:02 +07:00
Yoga Pangestu
950c3e2deb feat: enhance stok opname management with new submit action and grouped table view 2026-06-29 11:04:50 +07:00
Yoga Pangestu
c3c25679be feat: update StockVerifyRequest and related components to replace 'sampel' and 'hasil_cutting_diluar_sampel' with 'good' and 'reject' for improved clarity in cutting results management 2026-06-29 08:34:40 +07:00
Yoga Pangestu
8da733ec08 feat: add functionality to create new purchase variants and update related UI components for variant management 2026-06-28 23:41:30 +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
ce553f9aed refactor: remove unused inventory stock warning components and service logic 2026-06-28 18:11:26 +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
816c2a0e2a feat: overhaul POS management workflows including enhanced purchase, order, cutting, and stock-opname forms with updated master data handling. 2026-06-28 17:33:13 +07:00
Yoga Pangestu
b3790f2b2f feat: enhance service and controller logic for Cutting and Order management, implement best practices for method handling, and improve pagination defaults 2026-06-28 16:23:57 +07:00