Commit Graph

89 Commits

Author SHA1 Message Date
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
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
15453779e0 feat: add employee management permissions for viewing, creating, updating, toggling status, and deleting employees 2026-07-14 21:15:01 +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
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
814814f1a5 feat: add RAW_MATERIALS_DELETE permission to enhance role-based access control for raw materials
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 17:18:23 +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
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
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
6e75debff0 refactor: remove cash-related permissions and components from Dashboard for streamlined access control 2026-07-01 19:17:38 +07:00
Yoga Pangestu
5b49bda043 feat: add additional product management permissions to Role enum for improved access control 2026-07-01 15:53:49 +07:00
Yoga Pangestu
ad73da5885 feat: add PRODUCTS_UPDATE permission to Role enum for enhanced product management 2026-07-01 11:46:44 +07:00
Yoga Pangestu
e76fd8107b refactor: adjust permissions for categories in Role enum to improve access control consistency 2026-06-30 17:47:04 +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
a8b6a51186 fix: remove DASHBOARD_ATTENDANCE permission from marketing and non-operator roles 2026-06-29 10:34:47 +07:00
Yoga Pangestu
0ff6b59ca9 refactor: update dashboard permission roles and implement dynamic grid layouts for stats and charts 2026-06-29 10:25:04 +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
aeb7d1f292 feat: enhance cutting status management by adding verified status transition and refining user permissions for verification actions 2026-06-28 22:02:21 +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
Yoga Pangestu
7a1c4efe4a feat: enhance controller best practices and introduce new Cutting and Order management features with updated services and validation handling 2026-06-28 16:12:15 +07:00
Yoga Pangestu
b43835335a refactor: update enum handling in migrations and seeder, replace array_column with values() method for better performance and consistency 2026-06-28 12:06:05 +07:00
Yoga Pangestu
a5158c3992 feat: add stok opname management with new models, controllers, services, and frontend components for creating, editing, and viewing stok opnames 2026-06-28 11:53:37 +07:00
Yoga Pangestu
8146da86c6 feat: add stock ecer transfer functionality with new controller, service, and frontend modal integration 2026-06-28 10:42:57 +07:00
Yoga Pangestu
7c0b59b998 feat: add partially paid status to employee advances and update related functionalities 2026-06-27 20:07:12 +07:00
Yoga Pangestu
d9fb7018b3 refactor: remove attendance and specific analysis permissions from role definition 2026-06-27 17:09:41 +07:00
Yoga Pangestu
8c026dda1c feat: implement owner verification workflow for marketplace settings and restrict administrative settings access 2026-06-27 17:06:54 +07:00
Yoga Pangestu
acdd7ebb63 feat: add modal for quick creation of raw material variants and implement backend API support 2026-06-27 16:54:07 +07:00
Yoga Pangestu
21b990799e feat: implement owner verification system with enums, service, and controller updates for managing verification requests 2026-06-26 19:13:10 +07:00
Yoga Pangestu
69f9062807 refactor: update permissions for ADMIN_TOKO role by removing unnecessary analysis permissions and adding DASHBOARD_CASH 2026-06-26 16:44:21 +07:00
Yoga Pangestu
a9b02a9bca feat: enhance attendance tracking by adding user-specific attendance data and conditional rendering in dashboard and analysis components; introduce AttendanceCard component for better UI management 2026-06-26 15:56:17 +07:00
Yoga Pangestu
c378036691 feat: add new permissions and update role assignments in Permission and Role enums; enhance dashboard and analysis components with conditional rendering based on permissions 2026-06-26 15:23:57 +07:00
Yoga Pangestu
a3d5ac2eb2 feat: add additional permissions for roles and activity logs in Role enum to enhance access control 2026-06-25 20:39:18 +07:00
Yoga Pangestu
41ee835f1f feat: implement analysis module with dedicated controller, view, and role-based permissions 2026-06-23 14:15:32 +07:00
Yoga Pangestu
f12c7cea75 refactor: remove supplier permissions from Role enum to streamline access control 2026-06-22 19:28:11 +07:00
Yoga Pangestu
86956b1c9f refactor: add methods for retrieving assignable roles and their values in Role enum, and enhance Permission enum with values method for improved role management 2026-06-22 18:12:43 +07:00
Yoga Pangestu
da3e3a6895 refactor: enhance permission and role management by introducing group categorization for permissions and streamlining role permission assignments for improved maintainability 2026-06-22 17:57:18 +07:00
Yoga Pangestu
27c5b5fffa refactor: streamline enum management and enhance role assignment logic in EmployeeController for improved maintainability 2026-06-22 14:41:52 +07:00
Yoga Pangestu
6d6de5fa4b refactor: standardize enum case naming and update route permissions for consistency across the application 2026-06-22 13:24:53 +07:00
Yoga Pangestu
322af0c1e8 refactor: remove STOCKS_VIEW permission from ADMIN_BAHAN_BAKU role for updated permission management 2026-06-21 15:57:31 +07:00
Yoga Pangestu
60e87803d8 feat: add new permissions and update related functionality for owner verifications and stock management 2026-06-21 15:44:03 +07:00
Yoga Pangestu
50f9328ebc feat: implement owner verification process with new status and related functionality for improved stock management 2026-06-21 14:51:15 +07:00
Yoga Pangestu
5e71277056 feat: add harga_modal price type and related logic for improved stock management and pricing accuracy 2026-06-21 14:08:53 +07:00
Yoga Pangestu
ec80f2145b refactor: remove ProductPendingAction and ProductStatus enums, update related references in Product model and services for improved code clarity and maintainability 2026-06-21 12:36:36 +07:00
Yoga Pangestu
98e3ffefc7 feat: enhance raw material management with stock status filtering and improved form structure 2026-06-20 22:46:16 +07:00
Yoga Pangestu
57bdc43a5d refactor: remove categories view permission from Role enum to simplify permission management 2026-06-20 13:47:18 +07:00
Yoga Pangestu
fec7cca207 refactor: remove unnecessary product permissions from Role enum to streamline access control 2026-06-20 12:49:20 +07:00
Yoga Pangestu
9df8fe1ce2 feat: enhance cutting management by adding total result pieces and material usage display in Cutting components and updating related services 2026-06-20 10:47:21 +07:00
Yoga Pangestu
3308a3790a refactor: remove completed cuttings functionality from CuttingController and related components to streamline cutting management 2026-06-19 23:37:20 +07:00
Yoga Pangestu
33ddf5b73d refactor: clean up attendance-related components by removing unused permissions and optimizing template structure for better readability 2026-06-19 21:44:48 +07:00