2122 Commits
Author SHA1 Message Date
Jeppe Bundgaard 3dac234fba Add invoicing progress bar, enhance date selection, and update navigation for superuser dashboard:
- Integrate `InvoicingBillingPeriodInvoiceProgressBar` for improved visual feedback during invoicing processes.
- Implement reusable date selection components with `PaginationDisplayTemplateDate` and `PaginationDisplayTemplateDates` for enhanced flexibility in date filtering.
- Add `NavigationMenuSuperUser` to improve navigation structure for superuser dashboard.
- Refactor related components with helper methods for better maintainability.
- Include `vue-toast-notification` to provide dynamic notifications.
- Update translations and adjust UI components to align with new functionality.
- General fixes to maintain code modularity and reusability.
2025-07-29 10:51:42 +02:00
Jeppe Bundgaard 2819c2d923 Comment out unused transaction tab in CollectedOrderInvoices.vue and replace Orders with InvoiceOrdersPagination in Orders.vue for improved maintainability. 2025-07-24 09:58:01 +02:00
Jeppe Bundgaard 26338c4f71 Refactor session handling with SessionUser helper methods:
- Streamline access control logic in middleware files with new `hasToken` and `canAccessGuest` methods.
- Rework `DefaultPage` to dynamically redirect users based on hierarchical access levels.
- Improve guest user redirection by integrating query-based redirect paths.
- Enhance maintainability and reduce reliance on `localStorage` for session validation.
2025-07-24 09:49:12 +02:00
Jeppe Bundgaard d66c237106 Add autoExpandAll functionality to OrdersTable and InvoiceOrdersPagination. Enhance UI with expand/collapse toggle for invoice collections. Refactor dropdown logic for improved behavior when auto-expand is active. Update language pack with relevant translations. 2025-07-23 10:13:45 +02:00
Jeppe Bundgaard c09a656740 Add import functionality to XLVaskUsagePagination with a new importUsageButton. Refactor order creation in XLVaskUsageOrdersTable to streamline handling of order items and remove unnecessary logs. 2025-07-21 16:47:37 +02:00
Jeppe Bundgaard 05ec021173 Enable inline editing in OrderItemsTable with allowEdit and setItemValue props. Add editing state management to XLVaskUsageOrdersTable and utilize SessionUser helper methods for enhanced data formatting. 2025-07-21 13:30:29 +02:00
Jeppe Bundgaard 5390837951 Enhance OrderItemsTable and XLVaskUsageOrdersTable by integrating duplicate management, comparison actions, and dynamic labels from SessionUser. Introduce new helper methods for order handling and update UI for better clarity. 2025-07-21 13:12:09 +02:00
Jeppe Bundgaard 683976b331 - Add toggle functionality to WhiteBoxCard component with toggleable and defaultOpen props.
- Refactor `getPicture` method into a new `Piktogrammer.vue` module to improve reusability.
- Introduce `XLVaskUsagePagination` and `DepartmentPosSyncDuplicates` for enhanced pagination and duplicate management.
- Update `router.js` to include new routes for managing duplicates under POS sync.
- Clean up unused image imports in `SelectProductsFormPOS.vue`, utilizing the new picture module.
- General fixes and adjustments to improve modularity and maintainability.
2025-07-17 16:24:49 +02:00
Jepp9350 6ea44fd2a5 Introduce XLVask integration with customer and usage log management
- Add new `XLVask` module including models for `customer`, `washItem`, and `usageLog`.
- Create `XLVaskPage` with views for customers and usage logs in SuperUser dashboard.
- Implement `XLVaskCustomersTable` for listing customers with toggleable row visibility.
- Add routes and menu items for XLVask pages in SuperUser navigation.
- Update translations to include "Konfiguration" and XLVask-specific terms.
2025-07-06 19:32:26 +02:00
Jepp9350 1931f66402 Filter visible orders in OrdersTable by adding computed properties and updating table rendering logic 2025-07-06 13:37:56 +02:00
Jepp9350 1f5d59775a Increase invoiceCollectionMaxConnections limit from 2 to 7 in OrdersTable component to allow more concurrent connections. 2025-07-03 13:54:01 +02:00
Jepp9350 6f7d14f9fc Add showOnlyWithIds prop for filtering in OrdersTable and improve transaction handling across invoicing views
- Introduced `showOnlyWithIds` prop to filter orders by IDs in `OrdersTable`.
- Refactored transaction-related logic in customer views to support fixed pricing and comprehensive net amount calculations.
- Enhanced customer transaction display with expanded details and conditionally rendered summary values.
- Updated Danish translations to include "none" for empty transaction states.
- Made Stripe payment status handling more robust with null checks and additional conditional logic.
2025-07-03 13:43:56 +02:00
Jepp9350 0f8d99c1c8 Introduce customer attributes component and improve view management in invoicing period displays
- Add `InvoicingBillingPeriodCustomerAttributes` component for displaying customer-specific attributes within invoicing period views.
- Enhance `availableViewNames` functionality with computed properties and onMounted initialization.
- Adjust progress loading indicator to differentiate between loading and availability states.
- Update translations to include "Hjem" in user navigation.
- Refactor layout and clean up unused code across invoicing period components.
2025-07-02 14:54:07 +02:00
Jepp9350 e33504760e Remove unused console log and update property reference in InvoicingBillingPeriodViewAll 2025-07-02 12:50:12 +02:00
Jepp9350 7af209dbbb Enhance UI components and dropdown functionality across billing and user views
- Add `is-down` dropdown class to `ColorIndicator` for improved directional handling.
- Introduce slots for flexible content injection in `ColorIndicator` and `DatePeriodSelector`.
- Update Danish translations for user navigation menu with dynamic label rendering.
- Extend `InvoicingBillingPeriodDatePeriodSelector` with department filtering, dropdown UI, and reload button animation.
- Remove unnecessary console logs from `InvoicingBillingPeriodViewAll`.
2025-07-02 12:29:41 +02:00
Jepp9350 93f3b27c3e Simplify InvoicingBillingPeriodViewAll by removing unused imports and consolidating component usage. 2025-07-02 09:19:39 +02:00
Jepp9350 74440529eb Modularize filters and statistics display for InvoicingBillingPeriod view
- Extract filters logic into a new `InvoicingBillingPeriodFilters` component with `filter-changed` event handling.
- Move income statistics display to a dedicated `InvoicingBillingPeriodStatistics` component for improved layout management.
- Refactor `InvoicingBillingPeriodViewAll` to use new components and simplify code by reducing duplication.
- Enhance customer filtering logic with dynamic state management via emitted filter properties.
2025-07-02 09:18:53 +02:00
Jepp9350 2c0e3c9995 Enhance invoicing period selection and views with improved validations, new computed properties, and UI updates
- Add computed properties for validating date range (e.g., isEntireMonth, isMultiMonthSelection) across billing period components.
- Introduce `isAvailable` and `isViewAvailable` checks for conditional rendering of views based on selection validity.
- Update `DatePeriodSelector` with dynamic validation messages and reload button with animation support.
- Extend `InvoicingBillingPeriodViewAll` to toggle and render statistics displays and additional customer transaction information.
- Improve Danish translations and translations usage across the updated views.
2025-07-01 13:51:04 +02:00
Jepp9350 39929dba96 Update SmallCustomerActivityChart to support transactions prop, replace Bar chart with Line chart, and enhance transaction parsing and rendering logic
- Add `transactions` and `dates` props to `SmallCustomerActivityChart` with validation and default values.
- Replace Bar chart with Line chart for better data representation in `SmallCustomerActivityChart`.
- Implement `parseTransactions` utility to handle transaction data parsing and sorting.
- Update `InvoicingBillingPeriodViewAll` to conditionally render `SmallCustomerActivityChart` only for customers with transactions on different days.
- Refactor and remove unused code elements across related views.
2025-06-30 17:38:11 +02:00
Jepp9350 a0049df71e Add SmallCustomerActivityChart component for invoicing analytics, extend layout with responsive grid, and introduce 'possible_duplicates' view and description 2025-06-30 16:37:48 +02:00
Jepp9350 b299d535bb Remove unused buttons for navigation in InvoicingBillingPeriod views 2025-06-30 14:46:39 +02:00
Jepp9350 78ef237f8b Group orders by invoice collection in OrdersTable, add invoice collection statistics, enhance filters, and update Danish translations. 2025-06-30 14:39:58 +02:00
Jepp9350 05616016f6 Add emphasis tags for menu items and child items, enhance AdminLeftMenu with dynamic department-based checks, and update Danish translations 2025-06-26 14:29:12 +02:00
Jepp9350 5c18b2e3a0 Add recent orders modal with duplicate detection and actions in POS Step 1, enhance DefaultObjectSelector functionality, and update Danish translations 2025-06-26 12:30:08 +02:00
Jepp9350 f08228325c Add MyVehicle view, integrate vehicle details, and update routes and actions for vehicle management 2025-06-19 15:56:33 +02:00
Jepp9350 78f6cfa4a3 Add UserVehicleSummaryDisplay component and integrate vehicle details into UserWashSubscriptions view 2025-06-19 11:37:45 +02:00
Jepp9350 1a9d9a893d Handle empty objects prop in InvoiceCollectionsTable and improve null checks 2025-06-17 14:32:28 +02:00
Jepp9350 e074afe19f Update permission from 'department_pos_sync' to 'list_potential_order_matches' in AdminLeftMenu component 2025-06-17 12:37:50 +02:00
Jepp9350 4f015cb0e2 Add SelectVehicleField component with vehicle selection modal and integrate into TimeBookingsNewStep1 form 2025-06-17 09:25:25 +02:00
Jepp9350 d31c580389 Remove "is-mobile" class from ConfigurationSwitch to adjust layout 2025-06-17 08:24:57 +02:00
Jepp9350 9f4fbb7aab Add empty state handling in getUniqueInvoiceCollections and update Danish translations 2025-06-16 15:04:54 +02:00
Jepp9350 a3aa24254d Reorganize "Opret ny" menu item and adjust its position in AdminLeftMenu component 2025-06-16 12:16:37 +02:00
Jepp9350 70d916c95c Remove redundant "Handlinger" column title in ordersSyncPossibleDuplicateTable component 2025-06-16 11:53:46 +02:00
Jepp9350 86c25d6923 Update Danish translation for "Attach to Order" and add label component for duplicate orders in POS sync tables 2025-06-16 11:50:12 +02:00
Jepp9350 e1833c24cb Add actions to handle duplicate orders in POS sync views, including "Mark as Not Duplicate" and "Attach to Order" functionality 2025-06-16 11:47:52 +02:00
Jepp9350 41066205ae Update Objects translations and replace 'synchronized' label with 'not synchronized' in OrdersSync pagination component 2025-06-16 10:58:37 +02:00
Jepp9350 29ee8c481a Add POS sync route to admin dashboard and rename superuser orders path to objects 2025-06-16 10:50:13 +02:00
Jepp9350 f352b11f41 Add POS order synchronization components, including sync columns, tables, pagination, and dynamic filtering options 2025-06-16 10:49:59 +02:00
Jepp9350 f737d77587 Add Limble configuration module with API connection settings and synchronization options for superUser dashboard 2025-06-16 07:55:49 +02:00
Jepp9350 7bd0814f8a Fix Danish translations for "tankcleaning" and "Vaskeabonnement" in Objects components 2025-06-03 12:37:33 +02:00
Jepp9350 d6d86cf262 Export default components for InvoicingBillingPeriodImportView and InvoicingBillingPeriodImportDates 2025-06-03 09:19:44 +02:00
Jepp9350 e6c9698a62 Add synchronization toggle to XLVask configuration in superUser dashboard 2025-06-03 08:17:38 +02:00
Jepp9350 7ddf4af42b Enhance invoicing billing period with tank cleaning view, improved dynamic view management, and new month/year selection functionality 2025-06-02 21:55:05 +02:00
Jepp9350 d8f7604c56 Relocate registration number input above department selection for improved UI flow and logical grouping 2025-06-02 14:36:23 +02:00
Jepp9350 4bba77032e Enhance invoicing billing period components with new data fetching logic, improved layouts, and dynamic updates 2025-06-02 14:08:24 +02:00
Jepp9350 bfbe34960c Add hasOnlyTankCleaning check to refine tank cleaning product restrictions 2025-06-02 12:17:49 +02:00
Jepp9350 852a799ad0 Add invoicing billing period layouts and components, including date period selector and dynamic view management 2025-06-02 11:30:56 +02:00
Jepp9350 481051ee15 Add product restriction checks and disable add-to-cart button accordingly 2025-06-02 10:59:17 +02:00
Jepp9350 dff7d0580b Add conditional rendering for phone number summary line in booking summary 2025-05-28 17:49:40 +02:00
Jepp9350 9b74d3dc98 Enhance booking process with public API support, add note and addons handling, and update UI feedback 2025-05-28 17:25:31 +02:00