Introduce a new `DepartmentDailyReportSmall` component to display daily reports for accessible departments. Replace placeholder content in the department dashboard with dynamically generated department overviews. Also, add a helper method in `SessionUser` to fetch accessible department IDs.
Updated DepartmentDailyReports to add water usage fields and support notes for daily reports. Enhanced form submission logic in DepartmentDashboardDailyReportTodayForm to handle fetching or creating reports dynamically based on date. Improved error handling and integrated success messages for better user feedback.
Introduce new components and pages to enable SuperUser product administration, including product details, addons, and pagination. Adjust routing and session objects to support new functionality and ensure smooth navigation and management.
Removed the "Create daily report" button as it is no longer needed. Added a warning message indicating the feature is under development in the daily report form and disabled the save button to prevent incomplete functionality usage.
Added NotFoundFallBackPageWrapper across various department-related components to handle scenarios where the department ID is missing or inaccessible. Also updated getDepartmentIdFromUrl to ensure valid department IDs are returned.
Implemented new components for product sales and daily report form. Enhanced existing report displays with dynamic transaction and product count data. Introduced backend integration for fetching product and transaction details and updated UI to display relevant metrics.
Integrated the Department Daily Report feature, enabling users to view, create, and manage daily reports. Added new Vue components, routing, and backend interactions for handling department-specific daily report data. Updated SessionUser functionality to include daily reports support.
Added support for 'closed_at' field to determine order editability and updated related logic. Enhanced UI to show invoice collection ID in tags and adjusted navigation paths for better context. Minor formatting improvements included.
Removed "(ID / Name)" from the customer search label for clarity. This improves readability and ensures the label is more concise while maintaining its purpose.
Replaced manual axios calls with the authenticatedRequest utility for cleaner and more secure API interaction. Simplified logic by removing redundant token handling and search filter prediction. Updated response handling to align with the new API response structure.
Introduce collected order invoice views, tables, and detailed navigation for superuser dashboards. Enhance `showEditOrderItemForm` to support an optional callback, streamlining post-submission actions. These changes improve invoice handling and editing workflows for better usability.
Added a "Dagsopgørelse" module with navigation logic for daily reporting. Enhanced POS order deletion button to allow super users to delete invoiced orders. Commented out unused product display section in the product selection form for clarity.
Introduced "CollectedOrderInvoices" for better invoice handling, including UI components, pagination, and back-end setup. Improved user feedback in POS steps, enhanced form behaviors with new props and watchers, and refined visual styles across components.
Implemented a clone role feature with backend integration and updated the roles UI. Enhanced loading states with watchers to ensure smoother user experience and improved conditional rendering. Updated styles and permissions management for better clarity and maintainability.
Reorganized and modularized POS-related components for better maintainability, including extracting reusable elements like `DefaultPageWrapper`, `POSOrderReference`, and `PosNotes`. Improved flexibility and structure in handling order details, license plates, and notes.
Added support for dynamic titles and subtitles in department dashboards. Reworked the user navigation to include a dropdown menu with permission-based options and logout functionality. Improved overall layout and user interaction across components.
Added support for managing addon quantities including increment, decrement, and conditional status toggling. Improved UX by allowing product unselection and refined expandable product details behavior. These changes enhance flexibility and clarity in addon operations.
Introduced `PreviousStep` component for better navigation and integrated it into step 3 of the POS process. Added tab functionality in step 2 using `ElementTabsBox` to improve organization of information. Minor code improvements include moving imports and adding watchers for reactive tab handling.
Integrated infinite scroll for license plate scans using visibility detection. Refactored layout to use tables and enhanced tabs with dynamic visibility and compact mode. Made minor refinements, including handling required customer attributes and deactivating UI components for better user experience.
Introduced new components and refactored existing ones to streamline the department dashboard setup. Enhanced menu visibility with a `hidden` property and a helper function to dynamically determine visibility. Updated labels and removed redundant wrappers for better user interface consistency.
Unified department dashboard templates by replacing redundant wrappers with `DepartmentDashboardPageWrapper`. Improved table design and adjusted text for better localization and user experience.
Introduced support for related items in orders by enabling nested relationships through the `related_item_id` parameter. Enhanced the POS interface with better UI elements, such as reusable components (`ProductBox`, `WhiteBox`) and dynamic labels for buttons. Debugging tools and query parameter support for `order_id`, `step`, and `customer_id` were also added to streamline the process flow.
Introduce `RequiresPermission` component to enforce role-based access control throughout the application. Refine UI elements with sharper input styles and ensure focused accessibility improvements (e.g., auto-focus on specific fields). Enhance vehicle data parsing and popper usability, while maintaining robust handling of asynchronous operations.
Introduce a centralized theming configuration via `ThemeConfig.vue`. Refactor various dashboard components for consistency and modularity, including new wrappers (`DepartmentDashboardPageWrapper`, `WhiteBox`, `ButtonsBox`). Enhance user context with `UserNavigationTop` and improve menu structure with reusable menus (`AdminLeftMenu`, `MenuDefault`). Update button and UI element styles using dynamic theming.
Introduced Department POS functionality with navigation, orders, and order detail views. Set up routing and middleware for POS operations. Added base styles, assets, and updated package dependencies to support these changes.