Commit Graph
96 Commits
Author SHA1 Message Date
Jepp9350 006b0351cc Add payment terms functionality to economic module
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.
2025-04-22 12:30:19 +02:00
Jepp9350 9149cb9933 Add Stripe integration for managing collected order invoices
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.
2025-04-22 12:04:23 +02:00
Jepp9350 4fb994a4a6 Add payment flow enhancements and Stripe integration updates
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.
2025-04-22 10:19:47 +02:00
Jepp9350 23e4726c74 Add date filtering shortcuts and enhance filter handling
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.
2025-04-16 13:46:09 +02:00
Jepp9350 bea3bcdc02 Refactor wash certificate download and improve booking handling
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.
2025-04-16 12:52:12 +02:00
Jepp9350 70361523b4 Remove water_usage_morning and improve pagination handling.
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.
2025-04-16 09:31:24 +02:00
Jepp9350 fad1e303be Add vehicle subscription management to SuperUser Dashboard
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.
2025-04-14 16:04:27 +02:00
Jepp9350 6958e01ac4 Add DepartmentNotificationSms support and customer field input
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.
2025-04-14 11:35:37 +02:00
Jepp9350 010f250506 Update booking button link in BookingsPagination.vue
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.
2025-04-14 10:53:22 +02:00
Jepp9350 61291f22d5 Refactor booking components to improve wash certificate logic
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.
2025-04-11 13:34:18 +02:00
Jepp9350 e1f072ac5d Add invoice splitting functionality and hidden field defaults
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.
2025-04-11 09:40:32 +02:00
Jepp9350 8bbc414ad6 Update registration flow and API configuration
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.
2025-04-10 15:58:00 +02:00
Jepp9350 43f5807e54 Simplify booking process and update API configuration
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.
2025-04-10 14:09:03 +02:00
Jepp9350 f36afc9a9a Refactor guest booking flow and improve certificate handling
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.
2025-04-10 12:53:34 +02:00
Jepp9350 b17829e37a Add GatewayAPI module with configuration support
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.
2025-04-10 10:51:44 +02:00
Jepp9350 87a6f8bd60 Update button styles and improve Stripe payment text labels
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.
2025-04-09 11:43:29 +02:00
Jepp9350 f64837303c Enhance vehicle management with addon handling and dynamic UI
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.
2025-04-09 09:01:49 +02:00
Jepp9350 41b90672cc Add Stripe payment integration and improve POS features
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.
2025-04-08 14:11:44 +02:00
Jepp9350 32eb1fe4fe Add error check action and new filters to invoices UI
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.
2025-04-07 10:26:03 +02:00
Jepp9350 1368a5531d Add customer notes component to collected order invoice
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.
2025-04-07 08:30:41 +02:00
Jepp9350 4a98838c33 Enhance order table and invoice filters
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.
2025-04-07 07:44:07 +02:00
Jepp9350 e97ba321f2 Refactor components and enhance invoice management.
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.
2025-04-06 12:20:56 +02:00
Jepp9350 c8bd89ee0f Add economic invoice overview and processing components
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.
2025-04-02 15:01:40 +02:00
Jepp9350 90bcfa0ed6 Update booking redirects, invoice table logic, and labels
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.
2025-04-01 18:37:28 +02:00
Jepp9350 007dab73cb Add new customer invoice management features
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.
2025-04-01 11:56:02 +02:00
Jepp9350 0688959ed4 Add new components, translations, and features for FXRatesAPI and invoices
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.
2025-03-31 13:19:27 +02:00
Jepp9350 f537d588d4 Add order completion functionality and related UI updates
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.
2025-03-27 14:29:47 +01:00
Jepp9350 35657d0304 Enhance form handling and booking data integration
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.
2025-03-27 10:57:21 +01:00
Jepp9350 ca82578418 Enhance form handling and field functionality
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.
2025-03-26 17:49:22 +01:00
Jepp9350 37af10a0a0 Refactor permission handling and improve menu/item visibility logic
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.
2025-03-26 13:15:31 +01:00
Jepp9350 4e1cf7257f Add branding support to Department profile management
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.
2025-03-26 12:07:48 +01:00
Jepp9350 a169868ddc Refactor department and form logic for improved flexibility
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.
2025-03-26 11:04:32 +01:00
Jepp9350 726681d3fe Add branding management feature for departments.
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.
2025-03-26 10:09:22 +01:00
Jepp9350 70168ee2bb Add booking management and wash certificate generation features
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.
2025-03-25 19:10:33 +01:00
Jepp9350 444b47adf1 Add guest dashboard modules and improve global form handling
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.
2025-03-25 13:11:25 +01:00
Jepp9350 10a450a396 Refactor error handler imports and simplify return logic.
Reordered imported functions for better code readability. Simplified the `isLocked` function by directly returning `validator.locked` instead of using an intermediate variable.
2025-03-24 11:55:19 +01:00
Jepp9350 c490c0cdcd Add field-specific error handling and improve form logic
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.
2025-03-24 11:37:46 +01:00
Jepp9350 5822fed31f Restrict specific addons based on customer attributes.
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.
2025-03-24 09:36:46 +01:00
Jepp9350 efa60a87cb Add restriction for additional services based on attributes
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.
2025-03-24 08:18:39 +01:00
Jepp9350 9984bbb613 Add SweetAlert success message on report save
Implemented SweetAlert to display a success notification when the report is saved. This enhances user feedback and improves the interface's responsiveness.
2025-03-14 15:15:18 +01:00
Jepp9350 4c4a998b84 Remove redundant note validation logic from product forms
Simplifies note handling by eliminating duplicate and unnecessary validation checks. Ensures the workflow remains functional while reducing code complexity and potential redundancy across components.
2025-03-13 14:59:23 +01:00
Jepp9350 a3aec14e74 Improve sorting, redirects, and UI consistency
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.
2025-03-13 14:37:02 +01:00
Jepp9350 fd55de8015 Improve pagination, table handling, and data display logic
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.
2025-03-13 13:25:11 +01:00
Jepp9350 36dbfee07b Refactor and enhance filtering, data handling, and UI components
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.
2025-03-13 09:29:52 +01:00
Jepp9350 62c0ed4041 Update table column header to use dynamic translation key
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.
2025-03-12 14:39:42 +01:00
Jepp9350 beb0919eae Add form handling, new booking flow, and demo branding check
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.
2025-03-12 14:37:25 +01:00
Jepp9350 7bdafee811 Refactor addon buttons and bind customer attributes.
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.
2025-03-12 09:05:37 +01:00
Jepp9350 db46abfe6c Update query parameters management and comment out unused button
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.
2025-03-11 16:31:15 +01:00
Jepp9350 4e764d8c30 Add metadata structure and improve menu/item integration.
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.
2025-03-10 13:31:23 +01:00
Jepp9350 ce2c696f91 Add dynamic notification handling with error management
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.
2025-03-10 12:01:33 +01:00