Commit Graph

42 Commits

Author SHA1 Message Date
Yoga Pangestu
91b3870f1c fix: improve error handling in API fetch function to manage non-JSON responses and session expiration 2026-06-20 13:40:19 +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
3308a3790a refactor: remove completed cuttings functionality from CuttingController and related components to streamline cutting management 2026-06-19 23:37:20 +07:00
Yoga Pangestu
e5c79727c4 refactor: remove unused watch functionality in CuttingPosForm.vue to streamline component logic and improve maintainability 2026-06-19 22:56:36 +07:00
Yoga Pangestu
d10d330a7b refactor: update price and subtotal labels in OrderGroupedTable.vue, PurchaseGroupedTable.vue, and RawMaterialGroupedTable.vue to use consistent text-primary styling for improved UI consistency 2026-06-19 22:23:41 +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
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
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
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
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
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
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
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
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
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
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
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
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