Commit Graph

127 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
c14b32b5bb feat: enhance raw material creation by restoring trashed items and updating status
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-31 01:13:04 +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
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
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
3c264dc706 feat: add Restock model import in OwnerVerificationService
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-26 10:32:28 +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
f82b56d540 fix: update product name reference in RowShareAction component and clean up imports
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 20:20:55 +07:00
Yoga Pangestu
0070d0c49e feat: add updateCombinationResult method to CuttingDraftItemController and corresponding route 2026-07-19 20:05:08 +07:00
Yoga Pangestu
fc9a8b1f0e fix: update error keys in CuttingService, ProductService, and RawMaterialService to use 's3_keys' instead of '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-19 19:06:58 +07:00
Yoga Pangestu
70531b443d feat: enhance pagination query in PurchaseService to support search functionality
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 18:29:03 +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
b3f59708a6 refactor: remove 'direktur' role from push notifications in multiple services for clarity 2026-07-16 12:33:28 +07:00
Yoga Pangestu
a29e6af430 refactor: remove unnecessary clearMediaCollection calls in various services to improve performance
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-16 11:38:04 +07:00
Yoga Pangestu
ba01039b41 feat: clear cache for assignable roles and permissions in various services to ensure data consistency 2026-07-16 11:23:32 +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
9da452d505 feat: update notification messages to include user's full name for better clarity in purchase and restock requests
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 13:42:03 +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
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
e4318fd244 feat: add push notification for new variant addition in PurchaseService to enhance user awareness 2026-07-07 23:55:18 +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
bd51f9abe0 refactor: update price handling in CuttingResultPriceResolver and HomepageService for improved data structure and consistency
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 15:47:46 +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
0b3bf891cc refactor: streamline RetailStockService and OwnerVerificationService by removing unused verification logic and updating notification messages for stock changes
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:35:47 +07:00
Yoga Pangestu
c815db0042 refactor: update role notifications in CuttingService to streamline admin alerts for completed cuttings 2026-07-05 17:29:22 +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
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
Yoga Pangestu
3a8a6982ec feat: enhance monthly revenue calculations in AnalysisService to include stock quality breakdown; update Analysis.vue to display net revenue for gudang and ecer categories, improving data visibility for users 2026-07-05 12:59:10 +07:00
Yoga Pangestu
352599bf00 feat: update OrderService and frontend components to automatically set order status to completed for cashiers; adjust payment and marketing fields accordingly; enhance tests to verify new behavior 2026-07-05 02:24:24 +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
a3ff10d6e1 refactor: remove unused Carbon imports from Attendance and Employee models; update ProfileService to use UserProfile directly; clean up imports in various service files for improved clarity 2026-07-04 21:54:31 +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
b52b9ce08c feat: implement transaction management in OrderService for create, update, delete, and status transition operations; refactor error handling for improved clarity; add comprehensive tests for order management functionalities to ensure proper permission checks and validation 2026-07-04 18:46:04 +07:00
Yoga Pangestu
8e306c8f73 feat: implement transaction management in CuttingService for create, update, delete, and status transition operations; refactor error handling for improved clarity; update routes to enhance cutting management functionality and ensure proper permission checks 2026-07-04 18:26:24 +07:00
Yoga Pangestu
6158a91060 feat: implement transaction management in PurchaseService for create, update, and delete operations; refactor error handling for improved clarity; enhance tests for purchase index and creation functionalities to ensure proper permission checks and validation 2026-07-04 17:53:56 +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
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
60b358fb49 feat: enhance order management by calculating and displaying total cost price and net amount in order summaries 2026-07-01 11:45:25 +07:00
Yoga Pangestu
85269935f6 feat: enhance cutting management UI by adding media thumbnails for product variants and raw materials 2026-07-01 11:33:49 +07:00
Yoga Pangestu
2ed24a654b feat: calculate and display material cost per product in cutting management 2026-07-01 11:28:16 +07:00
Yoga Pangestu
4466c61352 feat: make cutting results nullable and update UI to support create mode 2026-06-30 21:35:52 +07:00
Yoga Pangestu
9f0676c923 feat: include and display media images for raw material prices and product variants in cutting management 2026-06-30 21:22:17 +07:00