Send Selvvask import period dates

Include selected invoice-period dates when importing XLVask usage from the Selvvask period view.
This commit is contained in:
Jeppe Bundgaard
2026-07-06 23:49:36 +02:00
parent ca2003f2d6
commit 2108dd6c94
3 changed files with 32 additions and 1 deletions
@@ -491,6 +491,10 @@ describe("Periode tab contract", () => {
expect(xlvaskUsagePaginationSource).toContain('v-if="shouldShowLocalFilters"');
expect(xlvaskUsagePaginationSource).toContain('v-if="!hideSearchField && shouldShowLocalFilters"');
expect(xlvaskUsagePaginationSource).toContain('v-if="!props.loadAllAtOnce"');
expect(xlvaskUsagePaginationSource).toContain("const buildImportUsageParams = () => {");
expect(xlvaskUsagePaginationSource).toContain("dateFrom: props.initialDateFrom");
expect(xlvaskUsagePaginationSource).toContain("dateTo: props.initialDateTo");
expect(xlvaskUsagePaginationSource).toContain("buildImportUsageParams()");
});
it("loads Selvvask selector counts and progress from the selected period", () => {