Commit Graph

75 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
bb8dd68f15 feat: add AttendanceMap component and integrate it into AttendanceDetailDialog for displaying attendance locations on a map 2026-06-19 16:53: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
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
bdeb8cc59f feat: display work duration in attendance calendar events 2026-06-14 15:07:36 +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
ac373240e7 refactor: remove sm: gap 2026-06-14 13:55:56 +07:00
Yoga Pangestu
4aa1abdf0c refactor: text visibility fix in AttendanceCalendar 2026-06-14 13:51:51 +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
1ff1e73cd7 feat: hide stock field and adjust layout in ProductForm during update mode 2026-06-14 13:27:41 +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
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
57c311eaa1 style: update form input placeholders with descriptive examples for improved UX 2026-06-14 02:17:27 +07:00
Yoga Pangestu
8609c68a6d refactor: reorder component imports and optimize code structure across UI forms and composables 2026-06-14 01:26:00 +07:00
Yoga Pangestu
cd84a16549 fix: collapse cutting in progress section by default in admin dashboard 2026-06-13 15:01:23 +07:00
Yoga Pangestu
15691a97c4 feat: implement NumberInput and DecimalInput components and reorganize form input imports 2026-06-13 15:00:22 +07:00
Yoga Pangestu
2d72854015 refactor: improve scrollbar styling and enhance error feedback with dynamic validation messages in cutting management forms 2026-06-13 14:38:34 +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
1e2d81a86d feat: add CuttingInProgressSection to display active cuttings on index page 2026-06-13 13:54:15 +07:00
Yoga Pangestu
e5f2f526c3 feat: implement grouped table views for purchase items and cutting materials/results with updated type definitions 2026-06-13 12:55:20 +07:00
Yoga Pangestu
ec1e539fba refactor: reformat code and update action buttons to use Tooltips for improved UI consistency 2026-06-13 12:34:23 +07:00
Yoga Pangestu
9329312fd3 feat: implement quantity increment/decrement controls and update UI for cutting material and product selection 2026-06-13 12:28:37 +07:00
Yoga Pangestu
869866beaf refactor: remove automatic toast notification when restoring cart draft items 2026-06-13 12:18:07 +07:00
Yoga Pangestu
f84ebbd955 feat: add inline quantity adjustment controls to POS product and purchase forms 2026-06-13 12:14:45 +07:00
Yoga Pangestu
0131115f1b fix: set default showCover to false in PosCatalogCard component 2026-06-13 12:10:28 +07:00
Yoga Pangestu
2fe83756a1 Update MasterOutOfStockCatalogSection component to apply padding to Card element for improved layout consistency. 2026-06-13 11:16:08 +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
a473a6644d Refactor raw materials data structure to use enum for unit type. Update migration to define 'unit' as an enum based on RawMaterialUnit cases. Adjust TypeScript types in RawMaterialForm and raw-material.ts to reflect the new enum type for improved type safety and consistency across the application. 2026-06-13 00:16:01 +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
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
b7f5c4e12e Add custom thin scrollbar styles and apply to relevant components for improved UI experience. Update OrderPosForm, PurchasePosForm, and SidebarContent to utilize new scrollbar styles, enhancing visual consistency across the application. 2026-06-12 22:57:38 +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
20378433d8 Refactor PayrollAdjustmentModal to replace Select component with RadioGroup for type selection, enhancing user experience and streamlining form handling. Update imports and adjust layout for improved accessibility and clarity. 2026-06-12 16:53:08 +07:00
Yoga Pangestu
dc335d4dab Refactor PurchasePosForm to replace MediaImageUpload with ImageUploadField for improved photo upload handling. Update form data structure to accommodate new photo logic and streamline code. Introduce MultipleImageUploadField for variant images in ProductForm and RawMaterialForm, enhancing user experience with better image management. 2026-06-12 16:50:44 +07:00
Yoga Pangestu
586ed448c7 Refactor AttendanceWebcamModal and LeaveRequestFormModal to streamline code and improve form handling. Update video and image display elements for consistency, and implement useFormDialog for better form management in LeaveRequestFormModal. 2026-06-12 16:41:22 +07:00