Commit Graph

575 Commits

Author SHA1 Message Date
Yoga Pangestu
014682ab56 feat: enhance layout responsiveness by adding min-w-0 and overflow-x-auto classes
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-31 16:34:13 +07:00
Yoga Pangestu
27f101e830 feat: update transition logic for PENDING status to allow completion
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 12:54:00 +07:00
Yoga Pangestu
ec59a87527 feat: enhance grouping of purchase items by sorting variants and assigning item numbers
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:34:16 +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
11557d0b85 feat: remove global scope for ordered in raw material and product stock queries
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-30 15:57:30 +07:00
Yoga Pangestu
636508c5c0 feat: enhance stock calculations by loading all variants and prices in product and raw material 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-30 11:42:52 +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
9cbf841feb feat: add search functionality to CuttingInProgressSection for filtering cuttings by product name
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
- Implemented a search input to filter cuttings based on the product name.
- Introduced computed property for managing filtered cuttings.
- Enhanced the UI to display a message when no cuttings match the search criteria.
2026-07-29 10:16:03 +07:00
Yoga Pangestu
b9f4d01682 refactor: improve layout and styling of revenue charts in Analysis.vue
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 CardHeader and layout structure for revenue by channel and payment type charts to enhance responsiveness and visual consistency.
- Adjusted CSS classes for better alignment and spacing in chart components.
2026-07-29 09:40:12 +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
7dec701770 feat: add total quantity formatting to Purchase model and update related components
- Implemented totalQuantityFormatted method in Purchase model to format total quantities by unit.
- Updated PurchaseGroupedTable.vue to display total quantity formatted in the purchase details.
- Modified TypeScript type definition to include total_quantity_formatted property.
2026-07-29 08:59:02 +07:00
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
d316266da7 fix: handle missing product variants gracefully in applyPayloadToProduct method
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-28 15:38:40 +07:00
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
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
7dacf785cb feat: validate material usage input before submission in CuttingPosCombinationDialog 2026-07-27 21:53:42 +07:00
Yoga Pangestu
afdd0905db feat: add status field to product variant form and ensure it defaults to 'active' 2026-07-27 21:40:03 +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
fa52f177e2 feat: add row-key prop to DataTable components across multiple pages for improved key handling 2026-07-27 18:58:05 +07:00
Yoga Pangestu
ec8cb94486 feat: enhance RowDeleteAction and useDestroy for reactive URL handling; add rowKey prop to DataTable 2026-07-27 18:51:37 +07:00
Yoga Pangestu
399b444b54 feat: remove RAW_MATERIALS_DELETE permission from permissions method 2026-07-27 18:39:21 +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
562a2cf38f feat: update activity log permissions and enhance column creation for changes display 2026-07-25 23:31:24 +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
bca6da8653 feat: implement raw material deletion validation to prevent deletion if used in active cutting
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 23:31:08 +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
6c47be8821 fix: set default value for reject_stock in product variant updates
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-21 11:26:36 +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
1e8fd5b595 feat: enhance permissions and layout in Analysis component for better role-based display
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 22:35:10 +07:00
Yoga Pangestu
b7f8bf7e0f fix: adjust grid layout in StatCard component for better responsiveness and update RupiahText component to support short format
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 19:46:18 +07:00
Yoga Pangestu
ed2cb2e53d feat: add responsive behavior to charts and improve layout in Analysis component
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 19:34:38 +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
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
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
6271bca490 feat: enhance PurchaseGroupedTable to display product information and item numbering 2026-07-19 18:56:56 +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
1db67a9a07 feat: update raw material status management to use status enum instead of is_active 2026-07-19 18:17:49 +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
ebba4b3463 feat: update PWA asset images for improved performance and appearance
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-18 17:00:27 +07:00
Yoga Pangestu
f2ac94116e feat: add Open Graph and Twitter meta tags for improved social sharing
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-18 16:48:58 +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
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