Commit Graph

80 Commits

Author SHA1 Message Date
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
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
5b7da76fc8 refactor: streamline user profile update process by replacing individual field assignments with updateOrCreate method 2026-06-19 13:58:11 +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
8c2be8945d feat: enhance order creation and editing with print options and customer creation event handling 2026-06-18 01:25:53 +07:00
Yoga Pangestu
3a8cb727fa feat: implement API endpoint for customer creation and enhance order form with quick customer creation modal 2026-06-18 01:08:09 +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
cb61384a4e refactor: remove RAW_MATERIALS_VIEW permission from Role enum to streamline access control 2026-06-17 23:19:18 +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
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
2dab1efeae feat: add CuttingCompletedSection and implement rejection and reset workflow for cutting status transitions 2026-06-14 16:12:49 +07:00
Yoga Pangestu
1de9d32136 refactor: implement strict role-based access control and scoped data visibility for finance and HR operations 2026-06-14 15:49:51 +07:00
Yoga Pangestu
36124c6535 feat: add CUTTINGS_COMPLETE permission to Role enum 2026-06-14 15:47:55 +07:00
Yoga Pangestu
198ec48ba1 fix: update purchase notification logic and filter active raw materials in inventory alerts 2026-06-14 15:43:33 +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
c140192453 feat: prevent duplicate pending leave requests and restrict submission UI when a pending request exists 2026-06-14 14:58:25 +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
d076df9d72 feat: implement CRUD functionality for payroll adjustments including update and delete operations 2026-06-14 14:38:38 +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
4f23af869f feat: add stock availability validation during order processing and display specific error messages in POS form 2026-06-14 02:59:29 +07:00
Yoga Pangestu
67439af903 feat: add category filter to product index page 2026-06-14 02:54:06 +07:00
Yoga Pangestu
d27ac7ed6f feat: expose default password in auth props and display it in reset password dialogs 2026-06-14 02:51:11 +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
cffea55157 refactor: restrict role-based permissions and update employee management flow accordingly 2026-06-14 02:30:34 +07:00
Yoga Pangestu
26463c02a3 feat: add dynamic logo and login cover images via system settings and clean up legacy role migration logic 2026-06-14 02:05:35 +07:00
Yoga Pangestu
502f007048 feat: replace welcome page with new home page and add HomeController 2026-06-14 01:57:03 +07:00
Yoga Pangestu
d50310c078 feat: replace welcome page with new Home controller and product catalog view, while updating date formatting and Vite config 2026-06-14 01:51:44 +07:00
Yoga Pangestu
544afe7334 feat: implement interactive product storefront with cart, filtering, and dark mode support 2026-06-14 01:35:39 +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
837c930c4f feat: implement comprehensive material and product stock management logic in CuttingService 2026-06-13 14:03:12 +07:00
Yoga Pangestu
1e2d81a86d feat: add CuttingInProgressSection to display active cuttings on index page 2026-06-13 13:54:15 +07:00
Yoga Pangestu
a3c85b856c fix: clear media relation on model after file upload to ensure fresh data retrieval 2026-06-13 11:58:05 +07:00
Yoga Pangestu
c30fe015e2 Refactor order service to utilize new marketplace snapshot structure. Update create and update methods to call buildOrderSnapshot with total amount and line items for improved fee calculation. Introduce lineItemsForSnapshot method for consistent item formatting in snapshots. 2026-06-13 01:27:53 +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
64088c82bb Refactor order and payroll models to replace 'net_amount' with 'total_amount'. Update related methods, migrations, factories, and frontend components to ensure consistent handling of total amounts across the application. 2026-06-13 00:31:53 +07:00
Yoga Pangestu
521e8c5538 Implement stock warning functionality for products and raw materials. Add minStock method to RawMaterialUnit enum and ProductVariant model. Enhance ProductService and RawMaterialService with stockWarningGroups method to identify items below minimum stock levels. Update admin index pages to display stock warning groups in MasterOutOfStockCatalogSection component. 2026-06-13 00:24:05 +07:00
Yoga Pangestu
c757b3c9b2 Update dependencies and enhance out-of-stock product management. Upgrade @lucide/vue to version 1.18.0 in package.json and package-lock.json. Implement outOfStockGroups method in ProductService and RawMaterialService to retrieve out-of-stock items. Add MasterOutOfStockCatalogSection component for displaying out-of-stock products in the admin interface, and integrate it into the products and raw materials index pages. 2026-06-13 00:09:27 +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