Introduced logic to fetch and display payment terms using SweetAlert2. Added a new API integration for payment terms and updated the UI with a button to show the terms in a modal. Enhanced module organization by including PaymentTerms logic in the economic module.
Introduced a new Vue component for handling Stripe invoices and payment processing. Enhanced existing components and logic to distinguish between Stripe and E-conomic processors, allowing seamless management of both payment platforms. Added support for viewing Stripe payment details, booking invoices, and handling read-only notes in invoice management.
Introduced functionality to handle payment intent statuses, including capturing payments and displaying details upon completion. Added support for localized payment strings and refined UI elements for clearer user feedback. Included new utility methods for comprehensive payment status checks.
Introduced predefined date filters (e.g., Today, This Month) for easier user access in the invoice orders pagination module. Improved filter logic to remove duplicates, ensure null values for empty filters, and apply new filters dynamically. Updated UI to include buttons for quick time-based filter setting.
Revised the wash certificate download logic for better modularity and error handling. Enhanced booking display functionality across components, added linked booking navigation, and refined UI messages for clarity and user experience.
Removed all references to the water_usage_morning field to simplify data structures and form inputs. Introduced flexible autoload behavior in pagination and improved list filtering by excluding weekends and limiting displayed data to the most recent five days.
Introduced vehicle subscription features, including navigation and management pages, in the SuperUser Dashboard. Enhanced user interfaces, updated props, filters, and API endpoints, ensuring seamless integration and functionality.
Introduced a new DepartmentNotificationSms object with CRUD functionality to manage SMS notification phone numbers. Also added a read-only customer field in DepartmentPosOrder.vue for enhanced order management.
Change the booking button link to redirect to the internal '/user/bookings/new' route instead of the external URL. This ensures a more seamless user experience within the application.
Removed redundant download buttons and adjusted wash certificate handling logic in the bookings table and related components. Introduced `lockedValues` utility in FormDisplay to handle locked fields. Updated conditions in department booking display to ensure proper loading state checks.
Introduced functionality for splitting collected order invoices with user confirmation and error handling. Added support for default hidden field values in forms when fields are not displayable. This enhances both user interaction and data handling.
Removed "/register" route and updated registration link to external URL. Switched API configuration to development mode with updated API endpoint. These changes streamline the user experience and improve environment configuration consistency.
Removed unnecessary permission checks and legacy URL redirect for bookings. Refactored booking status handling with new helper methods and improved certificate display logic. Updated API configuration for production use.
Consolidated guest booking routes and removed the interior wash component for a streamlined booking process. Enhanced certificate handling with PDF download functionality and improved status checks. Minor adjustments include adding reCAPTCHA reset logic and a conditional debug button for development mode.
This commit introduces the GatewayAPI module, including its configuration and integration into the superuser dashboard. It adds components, routes, and functionality for managing API keys, secrets, and enabling/disabling options. Additionally, minor code adjustments were made to existing components for seamless integration.
Changed button style to use warning colors and updated ThemeConfig with warning palette. Improved clarity of Stripe payment button text and added conditional label updates for better user guidance. These changes enhance UI consistency and usability.
Introduced support for managing vehicle addons, including dynamic toggling and UI updates. Refactored vehicle table to use reusable components and added endpoint adjustments for improved functionality. Expanded `SessionUser` objects with a structured `Vehicles` model and its relevant operations.
This commit introduces the ability to process payments via Stripe, including creating, retrieving, and deleting payment intents, and integrating this functionality into the department POS system. New UI components and logic were added to handle Stripe readers, tax computation, and payment flows. Additionally, enhancements were made to allow subscription handling in the product table and force editing of orders by superusers.
Introduced a "Check fejl" action in the invoices interface to handle error validation via the back end. Additionally, updated filters to include "Specialaftale" and "Vaskeabonnement" for improved data segmentation.
Introduced a new `CollectedOrderInvoiceCustomerNotes` component to display and manage customer notes. Updated related views and added a new filter option in the invoice orders pagination to enhance user filtering capabilities. Implemented error handling and loading states in the new component for better user experience.
Added new columns, actions, and filters for orders, including "completed_at" and invoice-related attributes. Improved dropdown actions for navigation and integrated date range selection in filters. Updated filter logic and adjusted dropdown behavior for greater flexibility.
Added features include sortable headers, enhanced dropdown interactions, and detailed error messages in order tables. Introduced `InvoiceOrdersPagination` for refined invoice filtering and viewing, while improving consistency across session user operations.
Implement a new invoice overview feature for super user dashboards, including dynamic processing of collected economic invoices. Introduce error handling, status tracking, and new UI components for better invoice management and user interaction.
Refactor booking click handlers to use legacy certificate page and pass tokens. Adjust invoice table ordering by external_id, hide unused columns, and add dynamic labels for statuses. Enable dev mode and update labels for clarity across the interface.
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.