Commit Graph

154 Commits

Author SHA1 Message Date
Yoga Pangestu
06ad8a6e8a feat: enhance PurchasePosForm with image display for materials and add package icon for missing images 2026-07-29 08:43:12 +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
7dacf785cb feat: validate material usage input before submission in CuttingPosCombinationDialog 2026-07-27 21:53:42 +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
4956f4aeb2 feat: update material usage in initFromVariant to reflect existing cart item
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-25 00:46:46 +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
0070d0c49e feat: add updateCombinationResult method to CuttingDraftItemController and corresponding route 2026-07-19 20:05:08 +07:00
Yoga Pangestu
6cbb6f7cbb fix: adjust grid layout in CuttingPosMaterialSummaryItems and CuttingPosResultSummaryItems for better responsiveness
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-19 19:48:53 +07:00
Yoga Pangestu
6271bca490 feat: enhance PurchaseGroupedTable to display product information and item numbering 2026-07-19 18:56:56 +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
f337e50fa2 feat: add media preview functionality for order transaction images
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-17 19:21:27 +07:00
Yoga Pangestu
54b1f8c7f8 feat: enhance order display by improving card overflow handling and text wrapping
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-17 19:14:03 +07:00
Yoga Pangestu
bed22579b5 feat: enhance media preview components by adding stock information support, improving user experience in managing media items 2026-07-13 19:43:27 +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
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
709eb76873 feat: implement unique material variant initialization in QuickCreateProductModal, enhancing product creation process by auto-filling variants based on selected materials
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-09 15:50:14 +07:00
Yoga Pangestu
15b71bbfaa refactor: remove duplicate CuttingPosResultCatalogPanel from CuttingPosForm to streamline the layout and improve code maintainability 2026-07-09 15:36:46 +07:00
Yoga Pangestu
2562fab170 refactor: remove 'Lihat Detail' button from OrderPosForm and PurchasePosForm to simplify the UI and improve user experience 2026-07-09 15:34:55 +07:00
Yoga Pangestu
9aba51db93 feat: add raw material selection dropdown to CuttingPosCombinationDialog, allowing users to filter materials and enhancing the search functionality 2026-07-09 15:31:37 +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
b8e9aaa128 refactor: improve raw material filtering logic in CuttingPosCombinationDialog to return only matching prices, enhancing search efficiency 2026-07-09 15:09:02 +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
b4f26c56cf refactor: remove autofocus attribute from input fields in various forms for consistent user experience 2026-07-08 00:25:21 +07:00
Yoga Pangestu
9e0188c9ef feat: add functionality for setting cart item quantity and improve cart detail dialog with empty state handling 2026-07-08 00:21:54 +07:00
Yoga Pangestu
55ca1521f9 feat: implement cart item quantity adjustment and empty cart handling in PurchasePosCartDetailDialog for improved user interaction 2026-07-08 00:09:57 +07:00
Yoga Pangestu
dc80ad3106 fix: update empty cart description for clarity in PurchasePosCartSummaryItems component 2026-07-07 23:53:42 +07:00
Yoga Pangestu
c2360ef1ed refactor: update modal components to improve layout and scrolling behavior 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-07 23:23:28 +07:00
Yoga Pangestu
f1f9162304 feat: enhance media preview functionality in catalog components by adding support for multiple image URLs and custom titles
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 12:36:45 +07:00
Yoga Pangestu
0ec51e1ffb feat: add raw material selection functionality and improve filtering in CuttingPos components for enhanced 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-07 10:18:24 +07:00
Yoga Pangestu
da4467b500 refactor: improve layout and styling in cutting forms for better user experience and responsiveness 2026-07-07 10:03:42 +07:00
Yoga Pangestu
d2ddc5e6b7 refactor: enhance stock filtering in CuttingService and OrderService, update UI components for better display of stock information
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 21:24:26 +07:00
Yoga Pangestu
78dcc4b39d refactor: integrate MediaThumbnailCell component into CuttingPosMaterialSummaryItems and CuttingPosResultSummaryItems for enhanced visual representation of items
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 23:14:26 +07:00
Yoga Pangestu
42d4bc05bc refactor: update product label in CuttingPosResultCatalogPanel for clarity and streamline component structure
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 22:27:23 +07:00
Yoga Pangestu
052a896c8f feat: add numerical indexing to cutting material and result groups in tables 2026-07-05 21:21:28 +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
e4e17e32ec refactor: enhance StockPendingApprovalSection to include pricing information and improve layout for better clarity in stock results 2026-07-05 17:03:28 +07:00
Yoga Pangestu
a40d0533bd refactor: add rejection reason display in StockPendingApprovalSection and update good/reject values in StockVerifyDialog for improved clarity in stock management 2026-07-05 16:57:55 +07:00
Yoga Pangestu
0ba5ca0e6b refactor: adjust text truncation in StockVerifyDialog for improved readability of product names
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 16:41:53 +07:00
Yoga Pangestu
1253711147 refactor: simplify onGoodChange and onRejectChange functions in StockVerifyDialog to directly update results by index for improved clarity and maintainability
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 16:38:23 +07:00
Yoga Pangestu
87adc68376 refactor: enhance StockVerifyDialog layout by improving material display with thumbnails and better alignment for improved user interaction 2026-07-05 16:28:42 +07:00
Yoga Pangestu
60aae40575 refactor: streamline StockPendingApprovalSection and StockPendingSection components by removing material usage display; enhance StockVerifyDialog layout for better user interaction and responsiveness
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 16:24:28 +07:00
Yoga Pangestu
40b1254518 refactor: update CuttingGroupedTable component to display item indices alongside material variants for improved clarity in grouped results
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 16:03:50 +07:00
Yoga Pangestu
58e676e2e1 refactor: remove image handling from Cutting components; simplify CuttingPosForm, CuttingPosSummaryPanel, and related files to enhance user experience and streamline product creation process 2026-07-05 15:42:28 +07:00
Yoga Pangestu
e4c36c8759 fix: update CuttingService and CuttingProductVariantSection to make variant images optional; adjust validation and UI components for improved 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:32:47 +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
5a3316c890 refactor: enhance layout consistency in CuttingPosForm, CuttingPosMaterialCatalogPanel, and CuttingPosResultCatalogPanel; update grid structures for improved responsiveness and user experience 2026-07-05 15:10:22 +07:00
Yoga Pangestu
0f9865ffb3 refactor: simplify selected materials management in CuttingPosCombinationDialog; streamline removal logic and enhance layout for better responsiveness and user interaction
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 14:53:41 +07:00
Yoga Pangestu
2a49018c5e refactor: update MediaDropzone and ProductModal components for improved layout and responsiveness; adjust styles for placeholders, overlays, and modal elements to enhance user experience across different screen sizes 2026-07-05 14:51:06 +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
5a5d2c6f78 feat: enhance cutting materials display in stock management components; implement grouping logic for combinations and improve UI for material usage and results presentation 2026-07-05 13:27:52 +07:00