Commit Graph

66 Commits

Author SHA1 Message Date
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
Yoga Pangestu
e871da4c5f Refactor CashTransactionFormModal and EmployeeAdvanceFormModal to utilize useFormDialog for improved form handling. Replace MediaImageUpload with ImageUploadField for photo uploads, enhancing user experience. Update form data handling to accommodate new photo upload logic and streamline code. 2026-06-12 16:37:47 +07:00
Yoga Pangestu
f5d562f8e8 Refactor CustomerFormModal and SupplierFormModal to utilize useFormDialog for improved form handling. Remove unnecessary watch statements to streamline code and enhance maintainability. 2026-06-12 16:30:39 +07:00
Yoga Pangestu
c734d18018 Refactor ExpenseFormModal and CategoryFormModal to utilize useFormDialog for improved form handling. Replace MediaImageUpload with ImageUploadField for photo uploads, enhancing user experience. Remove unused ImageUploadField component to streamline codebase. 2026-06-12 16:27:45 +07:00
Yoga Pangestu
09f35db9d8 Refactor form error handling in various components to utilize a centralized formErrors function. This change improves code consistency and readability by standardizing error message retrieval across LoginForm, CashTransactionFormModal, EmployeeAdvanceFormModal, ExpenseFormModal, and others. Update error handling in fields for better user feedback. 2026-06-12 16:00:03 +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
93992a0d3a Add thermal printer integration with USB and Bluetooth support. Implement receipt printing functionality using @point-of-sale libraries. Create UI components for printer connection management and order receipt printing. Update OrderStatus and app settings to accommodate new features. 2026-06-12 14:52:54 +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
87fd3b791c Refactor OrderPosForm and PurchasePosForm components to replace table layouts with card-based UI for displaying product and raw material variants. Integrate PosCatalogCard and PosCatalogVariantThumb components for improved visual representation and user interaction. Update import statements and remove unused components for cleaner code. 2026-06-12 11:34:20 +07:00
Yoga Pangestu
14719445d1 Update placeholder texts in CategoryFormModal and ProductForm components for better user guidance. Remove unused category text in ProductGroupedTable. Adjust MediaImageUpload descriptions to clarify thumbnail behavior. 2026-06-12 11:24:01 +07:00