Commit Graph

68 Commits

Author SHA1 Message Date
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
399b444b54 feat: remove RAW_MATERIALS_DELETE permission from permissions method 2026-07-27 18:39:21 +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
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
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
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
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
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
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
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
Yoga Pangestu
e45307a328 feat: add CASHIER role to Role enum with associated permissions for attendance, customers, products, orders, and payroll management 2026-06-19 16:56:02 +07:00
Yoga Pangestu
070ac5b953 refactor: remove CUTTINGS_VIEW and CUTTINGS_VERIFY permissions from Role enum to simplify access control 2026-06-19 14:01:20 +07:00
Yoga Pangestu
91f7858cfe feat: add cash withdrawal functionality, including permission, controller method, and UI updates 2026-06-18 00:16:49 +07:00
Yoga Pangestu
cb61384a4e refactor: remove RAW_MATERIALS_VIEW permission from Role enum to streamline access control 2026-06-17 23:19:18 +07:00
Yoga Pangestu
d682f9e309 feat: grant attendance, leave, advance, and payroll permissions to the non-operator role 2026-06-14 16:44:21 +07:00
Yoga Pangestu
69d2212d64 refactor: restrict marketing role permissions and add employee advances and payroll access 2026-06-14 16:43:46 +07:00
Yoga Pangestu
36124c6535 feat: add CUTTINGS_COMPLETE permission to Role enum 2026-06-14 15:47:55 +07:00
Yoga Pangestu
6c8993c9a9 refactor: update role permissions by adding raw materials access and refining inventory and operations modules 2026-06-14 15:36:33 +07:00
Yoga Pangestu
175cb4acab refactor: make employee employment fields nullable and update related salary calculations and display logic 2026-06-14 15:29:08 +07:00
Yoga Pangestu
d076df9d72 feat: implement CRUD functionality for payroll adjustments including update and delete operations 2026-06-14 14:38:38 +07:00