Jeppe B and Jeppe Bundgaard
3de5215b5e
Fix Superuser invoicing registration field layout ( #236 )
...
## Summary
- Fixes Superuser invoicing period object-tree registration rows so
`reg_1`, `reg_2`, and `reg_3` labels/values no longer overlap in compact
rows.
- Lets composite registration fields auto-size, wraps long plate values
safely, and spans the full compact grid width on small containers.
- Adds a focused source-level regression contract and committed visual
before/after previews.
## Tests
- `npm run test:unit:single --
tests/unit/superuser-invoices-view.spec.js`
- `npm run build`
## Visual change previews
### View: Superuser invoicing period registration field
**Description:** Registration rows in the invoice-period object tree now
keep each registration label and value on distinct readable rows,
including compact mobile layout.
#### Mobile (390x844)
**Before:**

**After:**

#### Tablet (768x1024)
**Before:**

**After:**

#### Desktop (1440x900)
**Before:**

**After:**

Co-authored-by: Jeppe Bundgaard <jb@truckwash.dk >
2026-07-29 14:26:04 +02:00
Jeppe B
6d96d64811
Improve invoicing period tree and POS restrictions
2026-07-15 17:04:51 +02:00
Jeppe B
5e42f55570
Fix invoicing period object-tree flag handling
...
Keep expanded period rows on InvoicingPeriodObjectTree while rendering order-scoped flags in a compact expanded flag list. Update the invoicing-period E2E fixtures and source contract for the object-tree path.
2026-07-14 22:39:33 +02:00
Jeppe B
9749837506
Format frontend test files
2026-07-14 15:55:17 +02:00
Jeppe B
4fbb0b98c3
Improve superuser invoicing and system status views
2026-07-14 15:41:05 +02:00
Jeppe Bundgaard
1123b34e10
Enhance UI components and improve date selection functionality
2026-07-07 20:52:14 +02:00
Jeppe Bundgaard
8c12fce187
Add customer pricing labels and update date selection components
2026-07-07 18:16:45 +02:00
Jeppe Bundgaard
2108dd6c94
Send Selvvask import period dates
...
Include selected invoice-period dates when importing XLVask usage from the Selvvask period view.
2026-07-06 23:49:36 +02:00
Jeppe Bundgaard
fa1e915b9c
Merge origin/master into Selvvask period fix
2026-07-06 16:07:05 +02:00
Jeppe B
5cc22f14bc
Fix date-only selection handling
...
Use local date-only parsing and formatting across date inputs and filters so clicked dates persist exactly.\n\nVerified with local format, lint, i18n, build, full unit tests, PR E2E, focused date E2E, broad smoke reruns, and GitHub PR checks.
2026-07-06 15:52:19 +02:00
Jeppe Bundgaard
1a1c3db8e5
Fix invoicing period selfwash counts
2026-07-06 10:33:48 +02:00
Jeppe Bundgaard
0e9db3ee20
Refactor i18n message handling to use runtime messages and improve linked message resolution
2026-06-29 11:20:34 +02:00
Jeppe Bundgaard
db972e2923
test: refresh invoicing flag counts from scoped flags
2026-06-09 16:03:23 +02:00
Jeppe Bundgaard
9771723992
Fix chromium mobile runner flakes
2026-05-18 12:28:23 +02:00
Jeppe Bundgaard
b73f83a4ab
Clean up debug logs in invoicing statistics, add isDateLoading state for period paging, update date change handling with refresh logic, and enhance locale translations and tests.
2026-05-12 04:03:36 +02:00
Jeppe Bundgaard
2700ff3526
Add caching, component updates, and unit tests for invoicing period and XLVask functionality
2026-05-12 03:41:40 +02:00
Jeppe Bundgaard
a261f2f3bd
Add unit tests and components for invoicing period flag handling and self-wash view rendering
2026-05-11 21:40:51 +02:00
Jeppe Bundgaard
7ab7d83fb5
Align invoicing period specs with formatted date contract
2026-05-07 10:15:49 +02:00
Jeppe Bundgaard
f245161bfa
Align stale unit specs with current self-serve and invoices views
2026-05-06 09:08:23 +02:00
Jeppe Bundgaard
b39b458f4f
Add .prettierrc.json and refactor test files for improved formatting consistency:
...
- Introduced `.prettierrc.json` to enforce consistent code formatting across the project.
- Updated unit and e2e test files to address formatting issues, improve readability, and ensure alignment with the new Prettier configuration.
2026-04-13 09:13:27 +02:00
Jeppe Bundgaard
db2040570e
Add superuser invoice distribution module:
...
- Integrate departmental distribution view with monthly breakdowns, filters, and metrics.
- Add support for comparisons, source blends, and allocation trends.
- Update i18n translations for English, Swedish, German, and Norwegian.
- Extend router with distribution-specific routes.
- Add unit tests for route mapping, tabs, and view integrations.
- Update e2e tests for API routes.
2026-03-12 17:34:26 +01:00
Jeppe Bundgaard
80fcf8e4ce
Add unit tests for invoice orders pagination, introduce safe items-per-page logic in list pagination, and refactor InvoicingBillingPeriod views for improved date handling and modularity.
2026-03-12 15:10:16 +01:00
Jeppe Bundgaard
4852a8cc6b
Add unit tests for period view navigation, runtime view switching, and view existence checks; fix incorrect view keys in special arrangements and per-order views; extend global object setup in tests.
2026-03-12 14:39:08 +01:00
Jeppe Bundgaard
e48c52a9b7
Add unit tests for superuser invoices route wiring, tabs, and API contracts; enhance calculations and logic in InvoicingBillingPeriodStatistics.vue; update OpenAPI schema with WeatherAPI and fixed pricing distribution functionality.
2026-03-12 14:24:12 +01:00