Commit Graph
897 Commits
Author SHA1 Message Date
copilot-swe-agent[bot] 19be7ef797 Initial plan 2026-02-17 10:50:22 +00:00
Jeppe Bundgaard ecf65b47a1 Remove duplicate "Operatørlogin" navigation item from LayoutV2.vue 2026-02-16 00:09:49 +01:00
Jeppe Bundgaard 3e1f8ed6d6 Merge remote-tracking branch 'origin/master' 2026-02-16 00:09:34 +01:00
Jeppe Bundgaard 5ccfb5f050 Add "Operatørlogin" navigation item to LayoutV2.vue
- Added a new link for operator login to the navigation menu.
2026-02-16 00:09:18 +01:00
gold-dev 8ae010b55c Feat: Add operator login for mobile 2026-02-13 16:41:55 +02:00
Jeppe Bundgaard 702b599490 Add empty state for subusers without shortcut permissions
- Render a message in `UserDashboard` when subusers lack access to dashboard shortcuts, including instructions to contact the administrator.
- Introduced `hasAnyShortcutPermission` computed property to check subuser permissions.
2026-02-12 18:15:34 +01:00
Jeppe Bundgaard c24eeca6b4 Add no-permissions message to SubuserGrantSelector for subusers without grants
- Display a warning message when no grants are available, with compact and expanded layouts.
- Updated styles to support new no-permissions notification design.
2026-02-12 18:14:34 +01:00
Jeppe Bundgaard 2156d55650 Update subuser terminology to "chauffør" and refine navigation item visibility logic
- Replaced "subuser" with "chauffør" in `UserProfile.vue` for improved role specificity.
- Enhanced navigation item visibility in `DesktopNavigationBuefy.vue` by adding permission-based checks and refining hidden item filtering logic.
2026-02-12 18:10:54 +01:00
Jeppe Bundgaard ba63aab53b Enhance subuser profile management with editable name and email fields
- Added support for subusers to update their name and email via modals in `UserProfile.vue`.
- Updated `SubuserGrantSelector` styles with improved layout and accessibility for compact mode.
- Refined `SessionUser` logic to conditionally render visible profile attributes and actions based on subuser status.
- Adjusted navigation permissions to remove redundant `user_invoices` permission check.
2026-02-12 18:07:02 +01:00
Jeppe Bundgaard caff98690c Enhance SubuserGrantSelector with compact dropdown mode and integrate into user profile
- Added dropdown-based compact layout for `SubuserGrantSelector` to improve subuser grant selection UX.
- Integrated `SubuserGrantSelector` into `UserProfile.vue` for subuser-specific grant management.
- Updated styles to support compact mode, including dynamic icon and text transformation based on environment.
2026-02-12 18:01:32 +01:00
Jeppe Bundgaard 22f9a486c6 Add compact prop to SubuserGrantSelector and integrate into headers
- Introduced a `compact` prop in `SubuserGrantSelector.vue` for adjustable layout styles.
- Updated `MobileHeader.vue` and `DesktopHeader.vue` to utilize `compact` mode for streamlined grant selection UI in navigation bars.
- Refined styles for `compact` mode, including reduced spacing and smaller select elements.
2026-02-12 17:59:06 +01:00
Jeppe Bundgaard 85477916d5 Integrate SubuserGrantSelector into header components and enhance navigation permissions
- Removed permissions display from `SubuserGrantSelector.vue` template.
- Added `SubuserGrantSelector` to both `MobileHeader.vue` and `DesktopHeader.vue` for subuser-specific navigation.
- Updated user menu items to include permissions for enhanced access control.
2026-02-12 17:57:12 +01:00
Jeppe Bundgaard b173b14e86 Enhance subuser grant handling and permissions
- Update `SubuserGrantSelector` to disable the default option and display customer names if available.
- Refine `UserDashboard` to conditionally render cards based on `SessionUser` permissions.
- Add `X-Customer-Number` header in authenticated requests for subuser-specific actions.
2026-02-12 17:52:59 +01:00
Jeppe Bundgaard 66c9936d32 Expand subuser grant handling and enforce selection before dashboard access
- Enhanced `SessionUser` permissions logic to validate selected grant for subusers.
- Updated `UserDashboard` to require subusers to select a grant before accessing dashboard content.
- Integrated `SubuserGrantSelector` component for dynamic grant management.
2026-02-12 17:40:30 +01:00
Jeppe Bundgaard 316cca9ca3 Expand subuser permissions and adjust navigation logic
- Updated navigation permissions to include specific grants for subusers, ensuring appropriate access to user-related pages.
- Enhanced `SessionUser.getName` to display subuser's name when applicable.
- Refined navigation logic to ensure subusers can access user menus on relevant pages.
2026-02-12 17:33:42 +01:00
Jeppe Bundgaard 393a46ae34 Add subuser role with hierarchy adjustments and redirection logic
- Introduced "subuser" role with level 2 hierarchy and access control.
- Added reactive subuser redirection logic based on status changes.
- Adjusted hierarchy levels for "superuser" (4) and "admin" (3).
2026-02-12 17:27:14 +01:00
Jeppe Bundgaard b41d839258 Introduce Subuser Grant Selector and Chauffør Login Integration
- Added `SubuserGrantSelector.vue` for subuser grant management with dynamic customer selection and associated permissions display.
- Implemented `SubuserLogin.vue` and supporting `SubuserLoginForm.vue` to enable chauffeur login functionality.
- Enhanced `SessionUser` to include grant selection logic, with methods for managing selected customer numbers, persisting selections, and header handling for authenticated requests.
- Integrated new `subuserlogin` route into `router.js`.
- Updated `authenticatedRequest.vue` to include `X-Customer-Number` header for subuser-specific requests.
2026-02-12 17:17:22 +01:00
Jeppe Bundgaard 1f27f3b069 Add subuser session management and authentication support
- Introduced subuser-specific session data handling, including `getSubuserSessionData`.
- Added `authenticateSubuser` to enable password-based authentication for subusers.
- Updated `SessionUser` to support subuser sessions with fields like `isSubuser` and `subuser` details.
- Adjusted logic for clearing and initializing sessions to differentiate subuser and classic user contexts.
- Enhanced OpenAPI spec to include subuser-specific endpoints and permissions, updating customer-targeting behavior.
2026-02-12 17:00:51 +01:00
Jeppe Bundgaard ec292bce73 Update labels and placeholders to replace "Underbruger" with "Chauffør" across Subuser Grants components. 2026-02-12 16:45:11 +01:00
Jeppe Bundgaard 48896d2b83 Update navigation to replace subuser category with direct link to 'Chauffører' grants page. 2026-02-12 16:07:14 +01:00
Jeppe Bundgaard 6829955f2b Refactor permission group display in SubuserGrantPermissionNodes.vue to wrap titles and descriptions within a styled content divider. 2026-02-12 15:56:00 +01:00
Jeppe Bundgaard ec93989002 Refactor SubuserGrantsTable.vue to use dynamic labels for column headers and parse functions, remove unused columns, and update SubuserGrants.vue labels. 2026-02-12 15:48:36 +01:00
Jeppe Bundgaard 08a6f4fefd Reintroduce editable columns in SubuserGrantsTable.vue with EditableTableColumn and implement showEditObjectFieldForm in SubuserGrants.vue 2026-02-12 14:32:06 +01:00
Jeppe Bundgaard ccf4e139f6 Remove editable column for subuser grants in SubuserGrantsTable.vue and replace with static status tag rendering. 2026-02-12 14:25:55 +01:00
Jeppe Bundgaard cb1e007fda Merge remote-tracking branch 'origin/master' 2026-02-12 14:16:57 +01:00
Jeppe Bundgaard 7c8f79f13b Implement interactive modal for editing subuser grant permissions using SubuserGrantPermissionNodes.vue and integrate SweetAlert2 with Vue app creation. 2026-02-12 14:11:15 +01:00
Jeppe Bundgaard d2e0467605 Mark permissions prop in SubuserGrantPermissionNodes.vue as required 2026-02-12 13:20:55 +01:00
Jeppe Bundgaard 8805247dbc Add support for editing subuser grant permissions, integrate permission nodes selector component, and update relevant UI and backend logic 2026-02-12 13:16:52 +01:00
Jeppe Bundgaard b79ce07cda Add editable column for subuser grants and implement permission nodes selector component 2026-02-12 12:34:26 +01:00
gold-dev 44f78e817e Feat: Layout index for header mobile menu 2026-02-12 10:43:08 +02:00
Jeppe Bundgaard 1666c3de45 Expand openapi.yaml with listSubusers and getSubuser endpoints for subuser management, including query parameters, response structure, and error handling definitions. 2026-02-11 18:00:51 +01:00
Jeppe Bundgaard da0bae5bf2 Add created/updated timestamps to SubuserGrantsTable; define new SubuserGrants object structure 2026-02-11 17:58:27 +01:00
Jeppe Bundgaard b7bc4ec907 Add subuser and grant management navigation, expand openapi.yaml with subuser-related definitions, and update permissions in SubuserGrants.vue. 2026-02-11 17:53:54 +01:00
Jeppe Bundgaard c9fee21d24 Add subuser and grant management views with pagination components and routing integration 2026-02-11 17:38:36 +01:00
Jeppe Bundgaard 40a6a4f664 Add subuser, grant, and passkey management endpoints to openapi.yaml.
Expanded the API specification with endpoints for subuser management, including setup, authentication, and permission grants, as well as account security passkey handling.
2026-02-11 17:28:10 +01:00
Jeppe Bundgaard 710c05bf52 Update phone number on AboutUsPage.vue for contact section. 2026-02-11 15:38:58 +01:00
Jeppe Bundgaard 0b7f79d59c Replace team member images and update corresponding references in AboutUsPage.vue. Add new assets mads-scaled.png and jeppe-scaled.png. 2026-02-11 15:36:29 +01:00
Jeppe Bundgaard 5606f2d5f7 Merge remote-tracking branch 'origin/master' 2026-02-03 15:08:57 +01:00
Jeppe Bundgaard 9172a95221 Refine error handling in CollectedOrderInvoicesCompareDataStructure.vue to extract and process differences from error responses. 2026-02-03 14:28:35 +01:00
gold-dev 4af3f2a997 Feat: Slides 4, 8 2026-02-03 15:15:19 +02:00
Jeppe Bundgaard 314462345d Add difference calculation and display to MassDataInsertTable.vue and refine response handling in CollectedOrderInvoicesCompareDataStructure.vue 2026-02-03 13:57:06 +01:00
Jeppe Bundgaard a08ef03bb8 Add onClose prop to MassDataInserterModal.vue for custom modal close handling and minor adjustment to CollectedOrderInvoicesCompareDataStructure.vue structure definition 2026-02-03 13:51:41 +01:00
Jeppe Bundgaard 59d1272e98 Add total_net_amount field to CollectedOrderInvoices structure and implement import/export functionality in MassDataInserterModal.vue with JSON support 2026-02-03 13:35:18 +01:00
Jeppe Bundgaard 71c549df87 Add "Remove Passing Items" functionality to MassDataInserterModal.vue with UI button, data filtering, and progress updates 2026-02-03 13:27:35 +01:00
Jeppe Bundgaard b779d9b479 Add re-run functionality to MassDataInserterModal.vue with progress reset, validation for re-run conditions, and UI button integration 2026-02-03 13:26:21 +01:00
Jeppe Bundgaard 55e85215ce Add multi-page invoice fetching to mass comparison flow in CollectedOrderInvoicesListPagination.vue with user confirmation for large datasets and improved error handling. 2026-02-03 13:16:40 +01:00
Jeppe Bundgaard 931b473efe Add CollectedOrderInvoicesCompareDataStructure.vue and refactor mass comparison flow for collected invoices with E-conomic. Expand pagination options and improve error/message handling. 2026-02-03 12:53:14 +01:00
Jeppe Bundgaard ec1114b1cd Add comparison endpoint and mass comparison feature for collected invoices with E-conomic in openapi.yaml and CollectedOrderInvoicesListPagination.vue. 2026-02-03 12:34:19 +01:00
Jeppe Bundgaard 344acf4a13 Add CollectedOrderInvoicesListPagination and CollectedOrderInvoicesDefaultTable components for handling and displaying collected order invoices with advanced filtering and pagination options 2026-02-03 12:24:13 +01:00
Jeppe Bundgaard 95470794f5 Add QR routes and components for guest actions including new customer registration, driver setup, and booking creation 2026-02-02 11:17:53 +01:00