Commit Graph

55 Commits

Author SHA1 Message Date
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
Yoga Pangestu
1d1f0e7941 Add activity logging features by integrating Spatie's laravel-activitylog package. Update Permission and Role enums to include activity log permissions. Implement activity logging in Login and Logout controllers. Enhance sidebar navigation to include activity logs section. Update models to interact with activity logs through InteractsWithActivityLog concern. 2026-06-12 11:10:36 +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
f01a8a11a4 Refactor AttendanceCalendar component for improved UI and code clarity. Remove unused status markup, streamline button components, and enhance badge styling for attendance statuses. Update CSS for better responsiveness and maintainability. 2026-06-11 19:37:06 +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
f6891dbe24 Add leave request management features including LeaveRequest model, LeaveRequestController for CRUD operations, and corresponding permissions in the Permission and Role enums. Update routes for leave requests functionality and enhance UI components for leave requests navigation in the sidebar. 2026-06-11 15:51:06 +07:00
Yoga Pangestu
34c59c24f5 Add attendance management features including Attendance model, AttendanceController for handling check-in and check-out operations, and AttendanceService for business logic. Implement request validation for attendance actions and enhance UI components for attendance listing, including a calendar view and detail dialog. Update permissions in the Permission and Role enums to manage attendance access, and integrate webcam functionality for capturing attendance photos. 2026-06-11 15:39:06 +07:00
Yoga Pangestu
3f05e3cdc2 Add payroll management features including Payroll, PayrollPeriod, and PayrollAdjustment models, along with PayrollService for handling payroll operations. Implement corresponding controllers for payroll and payroll period management, and integrate request validation for payroll adjustments. Enhance UI components for payroll listing and management, including data tables and modals. Update permissions in the Permission and Role enums, and add scheduled command for opening payroll periods. 2026-06-11 14:40:54 +07:00
Yoga Pangestu
39a74964fc Add employee advance management features including EmployeeAdvance model, EmployeeAdvanceController for CRUD operations, and corresponding permissions in the Permission and Role enums. Implement request validation for employee advances and enhance UI components for employee advance listing and management, including data table and form modal. Update sidebar for employee advances navigation. 2026-06-11 00:40:53 +07:00