Introduced filters for invoice periods (per order/month) and statuses (open/closed). Added detailed invoice item display with expandable content for orders. Updated global content visibility logic and refined API settings.
Introduced functionality for FXRatesAPI integration, added pagination components, and enhanced invoice handling with new tables and dropdowns. Expanded translations, adjusted user display settings, and streamlined POS department step logic for better transaction handling.
Introduces the ability to mark orders as completed via the API. Updates the UI to reflect completion status, including a new button for completing orders and warning tags for incomplete orders. Ensures smooth user flow with success dialogs and error handling.
Added new form submission callbacks and enhanced validation options across multiple components. Improved booking data handling with new methods, updated UI for displaying booking details, and refinements to layout and service representation.
Updated form logic to support multi-select fields and improved field option handling with helper functions. Added a debug button for form output and optimized component structure. Adjusted the layout and visibility of booking certificate elements for better organization.
Added permission-based access controls across menus and components. Improved visibility logic for menu items and dropdowns, including dynamic checks for permissions and conditions. Introduced a new "DepartmentDailyBookingReportSmall" component for department-specific booking reports with dynamic data handling.
Introduced functionality to fetch, display, and manage department branding. Added `getBranding` and `hasBranding` methods, new edit branding form, and associated UI updates. Ensured live updates through watchers and improved code organization.
Replaced `department` with `departmentAdvanced` for enhanced logic, introducing reusable functions and default configurations. Extended `FormDisplay` with customizable `field_options`, `form_field_options`, and `validator_options` to support dynamic validation and field attributes.
Introduced a new "Profil & Branding" tab to the SuperUser dashboard for managing department branding data. Implemented components, routes, and backend object definitions to support CRUD actions for branding, along with form validation and display functionality.
Introduce booking data handling with support for creating wash certificates. Updates include a new booking overview display, enhanced validator options, and integration of booking objects in the session user module. Refactor UI components and add supporting methods for seamless user interaction.
Introduced new views and components for guest dashboard, including GuestHome, guest-specific menus, and booking pages for washes. Enhanced the forms system with reCAPTCHA support, calendar integration, and better field handling. Adjusted router configuration and updated requests to separate authenticated and unauthenticated flows.
Reordered imported functions for better code readability. Simplified the `isLocked` function by directly returning `validator.locked` instead of using an intermediate variable.
Introduce `fieldErrors` to manage validation errors per field, updating them based on server responses and user input. Enhance form handling by adding error messages in the UI, refining field change logic, and supporting field options for select elements. Also, clean up console logs for better code clarity.
Added logic to restrict "Spot Free" and "Indvendig vask" addons when certain customer attributes are set. Updated the UI to display a disabled button with a warning for restricted addons, ensuring users are informed that these options are unavailable.
Introduced a check for customer attributes to restrict additional services when applicable. If the attribute "restrictAdditionalServices" is present, a disabled warning button is shown instead of addon options. This ensures compliance with customer-specific restrictions.
Implemented SweetAlert to display a success notification when the report is saved. This enhances user feedback and improves the interface's responsiveness.
Simplifies note handling by eliminating duplicate and unnecessary validation checks. Ensures the workflow remains functional while reducing code complexity and potential redundancy across components.
Added sorting by date to daily report history and ensured new daily reports are created only for the current day. Updated redirect logic to allow external links and replaced outdated dropdown items in user navigation. Minor UI adjustment to button wrapping for better responsiveness.
Refactored the pagination logic to handle limits and prevent duplicate data loading. Enhanced table components with new columns, conditional parsing, and functions for better user interaction and UI clarity. Added translations and adjustments for improved multi-language support.
Introduced new functionalities such as "onlyFromInvoiceCollection", customer_name, yesterday's water usage, and parse functions for better data processing and filtering. Enhanced UI components by adding proper handling for reactive tabs, hiding empty states, and dynamic views like tabs for invoice management. Adjusted behavior to improve accessibility, loading conditions, and clarity across dashboards and tables.
Replaced the hardcoded "Transaktioner" with a dynamic translation key for consistency and localization support. This ensures the header adapts to the user's language settings.
Introduced form management with `Forms` object and new `FormDisplay` component. Updated booking flow with a new route and page for creating wash bookings. Added branding toggling logic for demo domain and enhanced user dashboard pagination with contextual buttons.
Refactored the structure of addon buttons in `ProductBox.vue` for better readability and maintainability by replacing nested `div` elements with `template` tags. Added `customer_attributes` binding to `SelectProductsFormPOS.vue` for enhanced customer-specific functionality.
Improved navigation by dynamically updating query parameters at key steps in the POS process for better state handling. Additionally, commented out the unused "ExportOrderToDraftButton" to clean up the UI logic.
This commit adds metadata support for various modules, including reCAPTCHA, MotorAPI, Stripe, Email, and Backups. It updates the left menu structure by dynamically integrating object metadata and adds the Orders object to SessionUser. These changes enhance modularity, configurability, and scalability across the application.
Introduced a notification system allowing fetching, displaying, and managing user notifications dynamically. Added error handling, improved component reusability with `UserNotificationListItem`, and integrated notifications into the session model. Enhanced UI elements to provide loading states, error messages, and real-time updates.
Updated logic for handling invoice collections, adding checks for closed and booked states, and refined order status display logic with relevant color classes and messages. Additionally, commented out unused invoicing sections in `UserOrders.vue` for clarity and maintainability.
Introduced a `readOnly` prop to several components to disable editing functionality when needed. Integrated `UserOtherSpecialArrangement` and `UserOtherVaskeabonnement` components into the `collectedOrderInvoice` view, displaying user-specific data in read-only mode. Added a placeholder component `collectedOrderInvoiceCustomerNotes` for future customer note handling.
Introduced components and logic to display department metrics for the current week or just today. Added navigation to toggle views and updated related components to fetch and display weekly data when selected.
Refactor and enhance E-conomic invoice management by adding detailed UI feedback and modular components. Introduced loading indicators, error handling, and currency formatting for better user experience. Expanded collected order invoice management functionality to support new data fields and external identification.
Introduced catch and then callable support for authenticated requests, improved error fallback pages with loading states, and enhanced logging for better debugging. Updated collected order invoice page with dynamic loading states and error handling. Added new min and max fields to product options with editable table support, and implemented a confirmation dialog for user logout.
Commented out debug console logs in multiple files to clean up the codebase. This improves readability and reduces noise in the browser console during execution.
Introduced a reusable CustomerProductDiscountDisplay component to show applicable discounts per product. Updated related files to pass necessary props and refactor discount handling for accuracy and consistency.
If a product requires a note, prompt the user to input it before proceeding. The note is validated to ensure it's not empty and is attached to the order item during creation. This enhances functionality for handling customizable product orders.
Introduced a new `UserNotificationButton` component to display user notifications with a dropdown functionality. Integrated the component into `UserNavigationTop.vue` alongside existing user menu options to enhance user interaction. Styles and dependencies for badges and lists were also added.
This commit introduces a new async function, `set.name`, to update the name of product options via the appropriate API endpoint. This improves the flexibility of modifying product option properties.
Introduced functionality to handle optional notes for product addons, including validation prompts before adding or toggling addons. Updated related components to support the new `notes` field, ensuring seamless integration with product handling and order creation.
Introduced a new "earnings" metric to the department dashboard with corresponding UI updates. Also implemented a mechanism to fetch and display user-specific global discounts in the product selection form. Adjusted relevant components and logic to support these features.
Modularized daily report components by introducing shared data logic in `DepartmentDailyReportObject.vue`. Added navigation, history view, and multi-tab support for better user experience. Refactored functions to dynamically respond to selected date and department changes.
Introduced a new "Discounts" tab in the POS customer section to show customer-specific discounts, with sorting and display logic for global, category, and product discounts. Enhanced tab visibility handling in ElementTabsBox and added caching for product names in the session.
Added a new reactive property `doesOrderExist` to check and reflect the existence of an order in the DepartmentPosOrder component. Updated permission logic in SessionUser to include superuser checks and default handling for department access. This enhances error handling and ensures broader access control flexibility.
Introduced functionality to display wash types with truncation and a modal for detailed information. Adjusted column layout to accommodate the new feature and refined button styling for consistency.
Introduced a new "Other" navigation tab and corresponding components for managing special agreements and wash subscriptions within the SuperUser user dashboard. Adjusted routing, API calls, and navigation links to support this feature. Updated environment configurations and fixed path handling in various components.
Added slash validation to redirect paths across SessionUser functions to ensure proper URL generation. Updated clickable row and redirection logic in product tables to enhance consistency and user experience.
Introduced a new `hideProductColumn` prop to manage the visibility of the product column across related components. Updated table logic, pagination components, and create object functionality to respect this prop. Enhanced flexibility for use cases where visibility of the product column is not required.
Introduced an "Actions" column to the products table in the superuser view, allowing users to perform actions on individual products. This includes a new button linking to product details, improving navigation and functionality. Additionally, localized text was added for the new "Actions" label.
Introduce a new `invoiceCollectionId` ref to track invoice collection IDs and initialize it when loading order data. Also, fix a minor comment typo in PosDepartmentStep3.vue.
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.