2122 Commits
Author SHA1 Message Date
Jepp9350 3f6191ead4 Add support for fixed pricing in invoices management
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.
2025-05-05 16:21:06 +02:00
Jepp9350 b98b1ffc10 Update pagination logic and add placeholders for new features
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.
2025-05-05 15:10:04 +02:00
Jepp9350 bfdcc7b7e3 Add fixed pricing feature to user dashboard
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.
2025-05-05 13:36:28 +02:00
Jepp9350 a8831d659d Add "close" translation and implement settings wheel button
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.
2025-05-05 11:08:07 +02:00
Jepp9350 fa53936e1c Set IS_DEV to false for production readiness
This update transitions the application out of development mode. It ensures the correct configuration for production environments by disabling dev-specific behavior.
2025-05-01 15:59:53 +02:00
Jepp9350 bf734a7f77 Refactor invoice selection and filtering logic.
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.``
2025-05-01 15:45:34 +02:00
Jepp9350 b3307be2aa Update department ID handling and upgrade dependencies
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.
2025-05-01 13:53:20 +02:00
Jepp9350 fbfc31c031 Refactor department version logic and template conditions.
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.
2025-04-30 15:36:24 +02:00
Jepp9350 c3104cd2b8 Add support for processing multiple invoice collections
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.
2025-04-30 15:33:43 +02:00
Jepp9350 991d516fd3 Add customer suggestions and selectable invoices features
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.
2025-04-30 13:05:19 +02:00
Jepp9350 6c5818615b Update vehicle and customer selection workflows in POS form
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.
2025-04-29 15:50:06 +02:00
Jepp9350 b1eab6f251 Add vehicle subscription management and invoice handling
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.
2025-04-28 16:46:50 +02:00
Jepp9350 8e22a354bc Add customer management actions and compact mode to UI
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.
2025-04-28 10:45:34 +02:00
Jepp9350 17d6705c12 Add vehicle management functionality to SuperUser dashboard
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.
2025-04-24 12:48:27 +02:00
Jepp9350 ce1bb48948 Add conditional styling for excluded invoice items
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.
2025-04-23 15:48:16 +02:00
Jepp9350 0827ee47b9 Add optional default filters to InvoiceOrdersPagination
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.
2025-04-23 12:22:42 +02:00
Jepp9350 e9fa29e1b4 Add delay to list loading and superuser return option
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.
2025-04-23 11:38:38 +02:00
Jepp9350 469880ccee Hide unused invoice tabs and their associated templates
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.
2025-04-23 10:50:08 +02:00
Jepp9350 c625dd7c13 Add email and phone management to user profile
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.
2025-04-23 10:45:16 +02:00
Jepp9350 24ad87cb54 Remove email tab and add SMS notification 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.
2025-04-22 15:43:36 +02:00
Jepp9350 de331eb591 Restrict delete action with permission check.
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.
2025-04-22 15:38:01 +02:00
Jepp9350 b21cab047d Add dynamic permission checks for editable table columns
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.
2025-04-22 15:35:04 +02:00
Jepp9350 ce48088f0f Fix alignment of actions column in phone table
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.
2025-04-22 15:10:51 +02:00
Jepp9350 d2e074e71d Add delete functionality with action UI for SMS objects
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.
2025-04-22 15:07:59 +02:00
Jepp9350 9161a4c0fb Add department notifications feature and user profile page
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.
2025-04-22 14:55:04 +02:00
Jepp9350 f1b7236bed Set hideSearchField in InvoiceOrdersPagination component
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.
2025-04-22 12:35:33 +02:00
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