Commit Graph
10 Commits
Author SHA1 Message Date
Jeppe Bundgaard 2fd510c682 Refactor invoice management components and PWA configuration:
- Updated `vite.config.js` to use an absolute base path for PWA manifest alignment.
- Removed unused imports and components for cleaner `collectedOrderInvoice` views.
- Fixed invoice data mapping by updating `raw_data.objects` to `raw_data.orders`.
- Enhanced user feedback with error handling modal in `collectedOrderInvoiceManageEconomic.vue`.
2025-09-02 15:53:24 +02:00
Jeppe Bundgaard fb19f12ffe Refactor vite.config.js:
- Introduced `mode` parameter to enable environment-specific logic.
- Enhanced service worker caching rules with updated expiration settings, API handling, and improved static asset matching.
- Improved PWA configuration for relative base paths and manifest alignment.
- Added conditional plugin usage for `viteSingleFile` and `vueDevTools`.
- Streamlined build environment variables and import.meta.env setup.
2025-09-01 15:48:52 +02:00
Jeppe Bundgaard f2bfef3c88 Improve print invoice flow and caching strategy:
- Simplified print dialog logic in `PrintInvoiceFromOrderItems.vue` using dynamic URL-based receipts and onload handling.
- Enhanced service worker caching configuration in `vite.config.js` with specific caching rules for assets, API responses, images, and HTML files.
- Updated `ViewportHeader.vue` with visibility toggle and responsiveness improvements.
- Adjusted camera capture delays in `PosDepartmentStepMobileFlow.vue` for better user experience.
- Refactored department order views to manage display states for print receipt mode.
2025-08-28 14:07:32 +02:00
Jeppe Bundgaard 8accdc51f1 Add build metadata and version display:
- Integrated build date, version, and commit hash generation in `vite.config.js`.
- Enhanced `MobileNavigation.vue` to display build metadata and development mode info.
- Added type definitions in `env.d.ts` for environment variables.
2025-08-28 08:29:22 +02:00
Jeppe Bundgaard 56343103c3 Enhance mobile POS functionality:
- Add `PosDepartmentStepMobileFixedBottomControl.vue` for consistent bottom control layout.
- Implement overflow control in `ViewportHeaderSettings.vue` with `isOverflowVisible`.
- Enhance `PosPopup.vue` with `defineComponent` and dynamic popup content.
- Add scroll prevention for mobile scanning views in `PosDepartmentStepMobile1.vue`.
- Improve registration number UI in `PosDepartmentStepMobile1RegistrationNumbers.vue`.
- Refactor service worker updates and PWA behavior in `main.js`.
- Update routing default path in `router.js`.
- Improve scanner UI in `ScannerOutline.vue` with responsive dimensions.
2025-08-26 14:39:40 +02:00
Jeppe Bundgaard 2fb538d207 Enhance PWA manifest configuration and update dependencies:
- Add custom manifest properties (`id`, `display`, `start_url`, `scope`, `orientation`, `launch_handler`).
- Include `@bubblewrap/cli` dependency for improved PWA tooling integrations in `package-lock.json`.
2025-07-30 10:23:31 +02:00
Jeppe Bundgaard ef86819532 Add PWA support and responsive layout improvements:
- Integrate `vite-plugin-pwa` with automatic updates and manifest configuration for PWA support.
- Create `PWADownload.vue` component to guide users on installing the app.
- Add `/download` route in `router.js` for accessing the PWA download page.
- Improve responsive layout handling in `DefaultPageWrapper.vue` for better mobile adaptation.
- Update dependencies in `package.json` and `package-lock.json` to reflect PWA integration.
2025-07-29 17:53:14 +02:00
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
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 18dc8fb40f Add Department POS module and related views
Introduced Department POS functionality with navigation, orders, and order detail views. Set up routing and middleware for POS operations. Added base styles, assets, and updated package dependencies to support these changes.
2025-02-25 08:20:04 +01:00