Commit Graph

209 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
1a2b741209 feat: update ProductRequest to require images only when product is new; enhance removeItem function to allow forced removal; add sync-quantity-input event to PurchasePosCartSummaryItems; implement material search functionality in PurchasePosForm; add disabled prop to RawMaterialInfoSection; integrate variant selection in RawMaterialVariantSection 2026-07-27 21:29:55 +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
57040f1875 feat: add logging for validation errors in CuttingRequest and CuttingService
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 13:32:28 +07:00
Yoga Pangestu
ee08188190 Add reject_stock input to product CRUD form
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
- Add reject_stock field alongside stock (renamed to 'Stok Bagus') and retail_stock ('Stok Ecer')
- Update TypeScript types (ProductVariantFormItem, ProductFormInitialData)
- Update ProductVariantSection, ProductVariantEditModal, and ProductForm with new field
- Add validation rule and attribute label for reject_stock
- Update ProductService to persist reject_stock in create, update, and apply flows
2026-07-21 10:56:28 +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
c8344f27cb feat: enhance product and raw material request validation by adding imagesRequired parameter, improving image handling based on request method 2026-07-13 12:47:35 +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
bb74fb49c8 feat: require s3_keys for product and raw material variants, enhancing validation and user feedback in forms 2026-07-13 11:28:48 +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
138eb8b053 feat: add attributes method to RejectVerificationRequest for localized error messages
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-06 09:38:20 +07:00
Yoga Pangestu
00ef124fb3 feat: add predis/predis dependency and implement caching in various services for improved performance 2026-07-05 23:31:55 +07:00
Yoga Pangestu
c222be62d3 refactor: standardize attribute labels across various request files for consistency and clarity 2026-07-05 22:04:57 +07:00
Yoga Pangestu
d57ad3e65d refactor: update attribute labels in CuttingRequest for improved clarity and consistency 2026-07-05 21:39:29 +07:00
Yoga Pangestu
0078c16e17 refactor: enhance product pricing logic in ProductCard and ProductModal components to exclude specific price types, and add pending verification count for user permissions in HandleInertiaRequests middleware
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:17:09 +07:00
Yoga Pangestu
39fa697df8 refactor: update validation logic in StockVerifyRequest to prevent exceeding original cutting results and enhance StockVerifyDialog with direct value updates for good and reject inputs
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:05:36 +07:00
Yoga Pangestu
9ba87b9381 feat: implement product variant management in CuttingQuickCreateProductRequest and related components; enhance validation rules, add new CuttingProductVariantSection, and improve material handling in QuickCreateProductModal for better user experience
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 15:26:33 +07:00
Yoga Pangestu
0d77d6a4fd feat: add stock quality management to StokOpname; update validation rules, database schema, and frontend components to support stock quality categorization (good, retail, reject) for improved inventory tracking and reporting
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 13:46:50 +07:00
Yoga Pangestu
15e2b7ec5b feat: add material_result field to CuttingMaterial and CuttingMaterialCombination; update validation rules and service logic to handle new material result calculations; enhance frontend components for displaying material results in cutting 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-04 23:14:37 +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
143448e6e0 feat: enhance Expense module by improving media upload handling, adding transaction management, and refining form validation; update related components for better user experience 2026-07-03 22:44:33 +07:00