Introduced functionality to add fixed pricing for collected order invoices. Adjustments include API integration, frontend updates, and a new action button to trigger fixed pricing addition with confirmation feedback.
Refactor OrdersPagination to handle hideSearch toggling correctly and replace it with InvoiceOrdersPagination in specific views. Additionally, add a warning notification for unimplemented fixed pricing functionality to improve transparency.
Introduced support for managing user-specific fixed pricing with options to view, add, and delete pricing information. Updated UI components and global language terms to accommodate the new functionality.
Added a "close" translation to ObjectsGlobal.vue and updated CustomerModal to use it. Introduced ActionSettingsWheelButton to the User dashboard for user settings management. Enabled development mode for testing purposes by setting IS_DEV to true.
This update transitions the application out of development mode. It ensures the correct configuration for production environments by disabling dev-specific behavior.
Updated components to enhance modularity and functionality for invoice selection and customer management. Introduced clearer structures for filters, improved modal handling, and added support for custom success callbacks.``
Replaced the direct access of `department_id.value` with `getDepartment()` for better encapsulation in `POSDepartmentProcess.vue`. Updated multiple dependencies in `package-lock.json`, including Babel, Vue Flow, and others, to improve functionality and maintain up-to-date libraries.
Replace direct calls to `getDepartmentVersion` with `department_version` for consistency and improved readability. Simplify department ID comparison and comment out unnecessary logging for cleaner code.
Introduced modal and related logic for managing multiple invoice collections, including queue handling and API integration. Adjusted POS step behavior based on department, and improved invoice collection selection and queue processing.
Introduced customer suggestion functionality for unregistered vehicles based on `reg_1`. Enabled multiple invoice selection with toggle option in order tables. Updated visual styles and handling of errors with automatic clearing.
Refactored `SelectVehicleFormPOS` and related components to improve vehicle and customer selection, including new UI elements for license plate input, dropdown suggestions, and customer search. Introduced reusable `ExpandableContentBox` and optimized handling of vehicle objects and focus states.
Introduced functionality to manage vehicle subscriptions and related invoices in the dashboard. Updated components and views to display user-specific subscription data, enable invoice creation for past periods, and enhance data handling for active subscriptions.
Implemented customer-specific actions such as password reset, login as customer, and view details in ActionSettingsWheelButton. Introduced a compact mode for vehicle tables and enhanced modals with tabs for better user interaction. Refactored and centralized functions to improve code maintainability.
This update introduces the 'Vehicles' page to the SuperUser dashboard, along with navigation and routing updates for access. It also includes components for vehicle registration input and enhancements to POS step flows by adding selective versioning for form variations (customer vs. vehicle selection). Minor cleanups were performed on redundant code in POS step components.
Updated the `OrderContentTable` to visually differentiate items and add-ons not included in the invoice using strikethroughs and background highlights. Enhances clarity for invoice-related display logic.
Introduced a new prop `applyDefaultFilters` in `InvoiceOrdersPagination` to control the application of default filters. Updated related functionality and UI bindings to respect this new prop, allowing more flexibility in filter behavior. Default value is set to `true` to maintain backward compatibility.
Introduced a 1-second delay before loading the license plate list to improve performance or user experience. Added a new navigation option for superusers to return to their own user profile when intimidated.
Commented out the "Faktura pr. måned" (monthly) and "Faktura pr. ordre" (orderly) tabs, along with their corresponding templates. This prevents them from rendering while keeping the code intact for potential future use.
Introduced functionality for updating user email with validation and added phone number and email fields to the profile settings. Enhanced error handling and updated the SessionUser data model to include email and phone details.
The email tab is commented out, simplifying the notifications UI to focus on SMS. Additionally, detailed SMS notification information is introduced, providing clarity on usage and activation for users.
Wrapped the delete functionality inside a `RequiresPermission` component to ensure it is only accessible to users with the proper `department_notification_sms_delete` permission. A disabled state is displayed for unauthorized users.
Introduced a `permissionCheckFunction` prop to `EditableTableColumn` for dynamic control based on user permissions. Updated components to utilize this function for determining edit access. Refactored logic to improve maintainability and align with permission-based actions.
Updated the table header and actions column to use proper alignment classes ('has-text-right' and 'is-float-right'). This ensures consistent and visually correct positioning of content in the department notifications phone table.
Introduced a delete method and action handling for SMS objects in `DepartmentNotificationSms`. Enhanced `ObjectsGlobal` and the notifications table with delete icon support and a UI action button for object deletion. These changes improve user interaction and streamline object management.
Introduced a new "Notifications" module for department dashboards, allowing management of department notifications (SMS and Email). Added a "User Profile" page for users to view account details. Enhanced several components, including department tabs, user navigation, and table functionality to integrate the new features.
Added a call to setHideSearchField with the hideSearch prop to manage the search field visibility dynamically. This ensures better control over the search UI based on the provided properties.
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.