Commit Graph

67 Commits

Author SHA1 Message Date
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
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
60142c5aa8 refactor: extract validation logic into FormRequests for verification and push subscription controllers 2026-06-22 12:00:46 +07:00
Yoga Pangestu
19675aa057 feat: add CheckInRequest and CheckOutRequest classes for attendance management with validation rules 2026-06-21 15:48:56 +07:00
Yoga Pangestu
245127c921 feat: add submit URL to EmployeeForm component for employee creation functionality 2026-06-21 15:31:24 +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
e4b475cd82 feat: add stock management functionality by introducing StockController and updating AppSidebar to include stock menu item for improved inventory handling 2026-06-21 11:53:41 +07:00
Yoga Pangestu
175e0dc5af refactor: update material usage and remaining material precision to four decimal places across cutting management components for improved accuracy 2026-06-21 11:02:54 +07:00
Yoga Pangestu
9c205cf3d0 feat: enhance cutting management by adding draft materials and results functionality, improving user experience with new API endpoints and UI components for better material handling 2026-06-21 10:29:45 +07:00
Yoga Pangestu
0cb93c4e05 refactor: update AttendanceController and related components to use new CheckInRequest and CheckOutRequest classes, streamline attendance handling by removing location tags, and enhance UI components for better user experience 2026-06-21 01:35:30 +07:00
Yoga Pangestu
802c4e36c0 feat: implement cash transaction management with deposit and withdrawal requests, enhance UI components for better user experience 2026-06-21 00:21:27 +07:00
Yoga Pangestu
d3a33c46f6 feat: add ToggleStatusRequest for handling status updates with validation rules 2026-06-20 22:27:59 +07:00
Yoga Pangestu
6273d1a31d feat: integrate homepage settings management in Admin and HomeController, enhancing homepage configuration capabilities 2026-06-20 12:04:58 +07:00
Yoga Pangestu
67ee140ba7 feat: add favicon support and update related configurations in SystemService, SystemRequest, and views for improved branding 2026-06-20 11:01:32 +07:00
Yoga Pangestu
0b4418862d feat: implement PhoneNumber validation rule across multiple request classes to ensure consistent phone number formatting 2026-06-19 21:37:08 +07:00
Yoga Pangestu
e55df2cd4f feat: update EmployeeRequest validation rules to require join_date, base_salary, and employment_status only for non-owners; enhance EmployeeForm.vue to reflect required fields in the UI 2026-06-19 21:13:03 +07:00
Yoga Pangestu
5dc24b1494 feat: implement product approval workflow by adding verification, rejection, and approval functionalities, including UI updates and permission checks 2026-06-19 20:53:42 +07:00
Yoga Pangestu
2a2cc0fb96 feat: add shipping cost field to purchase management, including validation, calculations, and UI updates for total cost 2026-06-19 19:19:50 +07:00
Yoga Pangestu
db3f6887ea feat: add sewing and other cost fields to cutting management, including validation, calculations, and UI updates for total production cost 2026-06-19 19:11:58 +07:00
Yoga Pangestu
2db6dfece9 feat: enhance cutting management by adding result prices handling, including validation and calculations for total material cost and cost per unit 2026-06-19 19:04:23 +07:00
Yoga Pangestu
55b779c76e feat: implement attendance management features including penalty application, reminders, and HR settings management 2026-06-18 01:52:50 +07:00
Yoga Pangestu
fe7a3e4813 feat: add shipping cost field to order management, including validation, formatting, and UI updates 2026-06-18 01:33:35 +07:00
Yoga Pangestu
1af4af70fa feat: add is_affiliate field to order management, including validation, database migration, and UI updates 2026-06-18 00:57:47 +07:00
Yoga Pangestu
191743632b feat: introduce PaymentType enum and integrate payment type selection in order management, including validation and UI updates 2026-06-18 00:33:39 +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
c86af4ab91 feat: add tiktok_order_id and shopee_order_id fields to order management, including validation, display, and search functionality 2026-06-17 23:18:06 +07:00
Yoga Pangestu
b176854bc3 refactor: update marketplace fee structure for TikTok and Shopee, replacing old fee keys with new ones and adjusting related settings 2026-06-17 22:58:36 +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
2dab1efeae feat: add CuttingCompletedSection and implement rejection and reset workflow for cutting status transitions 2026-06-14 16:12:49 +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
46cb2c3588 refactor: remove photo path columns from attendance schema and simplify validation rules 2026-06-14 14:53:19 +07:00
Yoga Pangestu
e6ed485718 refactor: remove photo attachment functionality from employee advances module 2026-06-14 13:48:48 +07:00
Yoga Pangestu
c40e9e5e87 fix: enforce cash balance validation, add due date constraint, and improve error message feedback in finance modules 2026-06-14 13:36:25 +07:00
Yoga Pangestu
691916e6de feat: implement role management system with CRUD interface and permission redefinitions 2026-06-14 02:45:31 +07:00
Yoga Pangestu
c22252f44c feat: implement push notification system with web-push integration and subscription management 2026-06-14 00:08:06 +07:00
Yoga Pangestu
1805c64428 feat: implement cutting verification workflow with stock adjustment and rejection notes 2026-06-13 14:28:15 +07:00
Yoga Pangestu
7d721cab31 Refactor marketplace settings to use structured fee rules. Update MarketplaceRequest, MarketplaceService, and MarketplaceSettings to handle fees as arrays with scope and value type. Enhance frontend components to accommodate new fee structure and validation logic for improved user experience. 2026-06-13 01:20:12 +07:00
Yoga Pangestu
584387504c Refactor order management to remove marketplace fee handling. Update OrderRequest, Order model, and related services to utilize marketplace settings snapshot instead. Adjust frontend components and TypeScript types accordingly for consistency in order processing. 2026-06-13 00:56:24 +07:00
Yoga Pangestu
e77f0ebc8a Refactor price handling in product and raw material requests, models, and migrations to use integers instead of decimals. Update validation rules and data types in related TypeScript files for consistency across the application. 2026-06-12 23:37:44 +07:00
Yoga Pangestu
4c91834389 Enhance order and purchase management by implementing draft item functionality. Update OrderController and PurchaseController to handle draft items for users, allowing for better cart management. Refactor OrderService and PurchaseService to include methods for syncing and removing draft items. Update related request classes and models to support user associations. Modify frontend components to restore draft items and synchronize quantities, improving user experience during order and purchase creation. 2026-06-12 23:33:17 +07:00
Yoga Pangestu
eb2047a3e2 Implement FlashesEntityMessage trait across multiple controllers for consistent flash messaging. Update flash messages in various methods to utilize the new trait, enhancing code maintainability and readability. Additionally, add attribute methods in request classes for improved validation feedback. 2026-06-12 22:48:23 +07:00
Yoga Pangestu
1e32837d76 Remove tiktok_shop and shopee_shop URL and ID fields from MarketplaceRequest, MarketplaceService, MarketplaceSettings, and related database migration. Update MarketplaceSection and other components to reflect these changes, ensuring a cleaner and more focused marketplace settings structure. 2026-06-12 15:55:12 +07:00
Yoga Pangestu
5233890030 Update SystemRequest, SystemService, and SystemSettings to require address, email, phone, and about_app fields. Modify database migration to set default values for new fields. Enhance SystemSection component to include address input and update TypeScript definitions accordingly. 2026-06-12 13:24:53 +07:00
Yoga Pangestu
ec8b49be05 Add cutting management features including Cutting, CuttingMaterial, and CuttingResult models. Implement CuttingController for CRUD operations and request validation. Introduce CuttingStatus enum for status management and enhance sidebar navigation for cuttings. Integrate UI components for creating, editing, and listing cuttings, along with permissions in the Permission and Role enums. 2026-06-12 10:56:50 +07:00
Yoga Pangestu
7a0ac4f4d1 Add order management features including Order and OrderItem models, OrderController for CRUD operations, and request validation. Implement OrderChannel and OrderStatus enums for order categorization and status management. Enhance sidebar navigation for orders and integrate UI components for creating, editing, and listing orders, along with permissions in the Permission and Role enums. 2026-06-12 10:34:50 +07:00
Yoga Pangestu
04e57c0dd1 Add purchase management features including Purchase and PurchaseItem models, PurchaseController for CRUD operations, and corresponding request validation. Implement UI components for creating, editing, and listing purchases, along with permissions in the Permission and Role enums. Enhance sidebar navigation for purchases and integrate media handling for purchase items. 2026-06-12 00:09:20 +07:00
Yoga Pangestu
f8322566da Add media management features across various models and services. Implement media handling in Product, RawMaterial, Attendance, CashTransaction, EmployeeAdvance, and Expense models. Introduce ValidatesMediaUploads trait for consistent media validation in requests. Enhance services to support media synchronization and retrieval, improving user experience with image uploads and management. 2026-06-11 19:32:33 +07:00
Yoga Pangestu
67c27c2954 Add system settings management features including controllers for managing system, social media, and marketplace settings. Implement request validation for each settings type and create corresponding UI components for user interaction. Update permissions in the Permission and Role enums to manage access to settings functionalities, and enhance the sidebar for navigation to the new settings sections. 2026-06-11 18:30:21 +07:00
Yoga Pangestu
9798150994 Add user account management features including Appearance, Password, and Profile controllers for handling user preferences. Implement corresponding requests for validation and create views for each setting. Update routes for new account functionality and enhance UI components for user navigation in the account layout. 2026-06-11 18:01:12 +07:00