Commit Graph
8 Commits
Author SHA1 Message Date
Jeppe Bundgaard 0f37b0632a Add POS order booking modal and utilities with tests:
- Introduced `PosDesktopOrderBookingSelectorModal.vue` to streamline booking selection for desktop POS.
- Added `orderBookingDisplay.js` utility for handling booking display and reference value normalization.
- Created unit test `select-vehicle-form-pos.spec.js` to validate booking selection flow and registration matching.
- Implemented `run-playwright-ci-parallel.mjs` script to optimize Playwright CI with parallel testing.
- Updated styles and responsiveness for enhanced booking modal UX.
2026-04-13 21:12:34 +02:00
Jeppe Bundgaard 78648a0b7f Add customer complaints, edge gateway terminal, and mobile POS functionalities with e2e and unit test coverage:
- Implemented `departmentDailyReportComplaintCustomers.js` module for handling customer complaint data, including search, normalization, and API integration.
- Added `EdgeGatewayTerminal.vue` for root shell access with session approval, dynamic status handling, and user feedback.
- Developed `mobilePos.js` for simulating mobile POS fixtures and workflows in e2e tests.
- Introduced relevant e2e and unit tests to ensure functionality and error handling across modules.
2026-04-09 11:35:18 +02:00
Jeppe Bundgaard d01e436a85 "Add customer_notes popup and integrate note management in POS Mobile"
- Introduced `customer_notes` popup for managing customer notes with showInput and showNotes props.
- Added components for displaying, creating, and deleting notes in `PosDepartmentStep1MobileCustomerNotes`.
- Updated popup renderer and actions to support note-related functionality.
- Enhanced `PosDepartmentStepMobileFlow` with `addNote` action button and corresponding logic.
2025-10-07 21:40:36 +02:00
Jeppe Bundgaard ba66c1eabe Enhance error handling, loading states, and transaction management in POS Mobile components
- Added error messaging for failed transactions and unknown errors in `SessionUser.ObjectsGlobal.vue`.
- Enhanced transaction handling with error validation and recovery logic in `PosDepartmentStep1MobileTransactionHistory.vue`.
- Introduced `awaitBookingCompletion` utility for booking wait states in `PosDepartmentStepMobileButtonNextStep.vue`.
- Updated transaction history visuals to display error states and warnings, including refined badge styling in `PosDepartmentStepMobileAttachments.vue`.
- Improved metadata management by adding `loadingState` and associated logic in `PosDepartmentStepMobileFlow.vue`.
- Adjusted popup visuals and actions with updated styles and button configurations.
2025-09-25 13:05:44 +02:00
Jeppe Bundgaard 4ca1090b8e Add error popup and action button handling to POS Mobile components
- Introduced `PosDepartmentStepMobilePopupError.vue` for displaying error messages in popups.
- Added `PosActionButton` type and integrated reusable action buttons with popups.
- Enhanced popup system to support footer action buttons and improved context-based popup customization.
- Implemented reference validation logic in `PosDepartmentStepMobileButtonNextStep.vue` to ensure mandatory fields are completed before proceeding.
2025-09-18 11:37:25 +02:00
Jeppe Bundgaard 7d467160e0 Add support for dynamic popup styling in mobile POS workflow:
- Introduced `style` prop in `PosPopup.vue` for customizable CSS styling.
- Updated `PosDepartmentStepMobilePopupRenderer.vue` to apply dynamic styles to popup content.
- Enhanced `PosDepartmentStepMobileFlow.vue` with `style` object configuration for popups.
- Refactored `PosDepartmentStepMobilePopupSelectCustomer.vue` template for improved structure and readability.
2025-08-25 16:13:12 +02:00
Jeppe Bundgaard eda43a8f7d Add order item creation and transaction flow enhancements:
- Implement `onBeforeComplete` for order item validation and creation during transaction processing in `PosDepartmentStepMobile2.vue`.
- Introduce addon item handling and related item associations within transaction workflows.
- Enhance `PosDepartmentStepMobileButtonNextStep.vue` with `onBeforeStep` hook for pre-step validations and dynamic state updates.
- Add customizable popup header visibility with `hideHeader` prop in `WhiteBoxCard.vue`.
- Refactor popup rendering logic with enhanced dynamic content handling for completed transactions.
- Introduce `reset_all_values` method in `POSDepartmentProcess.vue` for resetting the POS state after transaction completion.
- Add `SuccessCheck.vue` icon for completed transaction UI updates.
2025-08-20 15:46:49 +02:00
Jeppe Bundgaard 8887a1ac52 Add popup management for mobile POS workflow:
- Introduce centralized popup logic in `PosDepartmentStepMobileFlow.vue`, supporting selectable and reusable popups (`select_customer`, `completed_transaction`).
- Add `PosPopup` and `PopupComponentKey` types for improved popup component integration.
- Implement new components: `PosDepartmentStepMobilePopupRenderer`, `PosDepartmentStepMobilePopupSelectCustomer`, and `PosDepartmentStepMobilePopupCompletedTransaction`.
- Update customer interaction in `PosDepartmentStepMobileButtonNextStep.vue` with popup triggers for step validation.
- Enhance customer targeting with dynamic search management in `ControlFieldInputSearchResults.vue`.
- Refactor `RegistrationNumberSearchResult.vue` to ensure consistent search type definitions.
- Adjust vehicle and product workflows for seamless popup integration and improved user interaction.
2025-08-20 13:34:54 +02:00