From 7ae71209cb76446f67db2f04c1ac1f4cee7fab65 Mon Sep 17 00:00:00 2001 From: Remy van der Wereld Date: Wed, 4 Sep 2024 14:54:21 +0200 Subject: [PATCH 1/2] Removed HolidayRental --- .../HolidayRental/HolidayRental.tsx | 49 --- .../VakantieverhuurReportInformation.ts | 19 - .../components/HolidayRentalReport.tsx | 43 -- .../HolidayRental/components/Report.tsx | 43 -- .../hooks/useVacationRentalReportValues.tsx | 7 - .../hooks/useVacationRentalValues.tsx | 14 - .../tests/HolidayRental.test.tsx | 63 --- src/index.ts | 4 - src/stories/HolidayRental.stories.tsx | 25 -- src/stories/mockedData/holidayRentalData.ts | 408 ------------------ 10 files changed, 675 deletions(-) delete mode 100644 src/components/HolidayRental/HolidayRental.tsx delete mode 100644 src/components/HolidayRental/VakantieverhuurReportInformation.ts delete mode 100644 src/components/HolidayRental/components/HolidayRentalReport.tsx delete mode 100644 src/components/HolidayRental/components/Report.tsx delete mode 100644 src/components/HolidayRental/components/hooks/useVacationRentalReportValues.tsx delete mode 100644 src/components/HolidayRental/components/hooks/useVacationRentalValues.tsx delete mode 100644 src/components/HolidayRental/tests/HolidayRental.test.tsx delete mode 100644 src/stories/HolidayRental.stories.tsx delete mode 100644 src/stories/mockedData/holidayRentalData.ts diff --git a/src/components/HolidayRental/HolidayRental.tsx b/src/components/HolidayRental/HolidayRental.tsx deleted file mode 100644 index bdffbfc2..00000000 --- a/src/components/HolidayRental/HolidayRental.tsx +++ /dev/null @@ -1,49 +0,0 @@ -import React from "react" -import { Spinner, Paragraph, Heading } from "@amsterdam/asc-ui" -import type VakantieverhuurReportInformation from "./VakantieverhuurReportInformation" -import HolidayRentalReport from "./components/HolidayRentalReport" - -type Props = { - data: VakantieverhuurReportInformation[] - loading?: boolean - showRecentYearOnly?: boolean - horizontalBordered?: boolean -} - -export const TITLE = "Vakantieverhuur meldingen" - -const HolidayRental: React.FC = ({ - data, loading = false, horizontalBordered = true, showRecentYearOnly = false -}) => { - const holidayRentalData = data !== undefined ? data : [] - holidayRentalData.sort((a, b) => b.year - a.year ) // Recent years on top. - const vakantieverhuurReports = showRecentYearOnly && holidayRentalData.length > 0 - ? [ { ...holidayRentalData[0] } ] : holidayRentalData - - if (loading) { - return - } - if (!(vakantieverhuurReports.length > 0)) { - return ( - <> - { TITLE } - Geen vakantieverhuur meldingen - - ) - } - return ( - <> - { vakantieverhuurReports.map((vakantieverhuurReport) => ( - - )) - } - - ) -} - -export default HolidayRental diff --git a/src/components/HolidayRental/VakantieverhuurReportInformation.ts b/src/components/HolidayRental/VakantieverhuurReportInformation.ts deleted file mode 100644 index 912f3b92..00000000 --- a/src/components/HolidayRental/VakantieverhuurReportInformation.ts +++ /dev/null @@ -1,19 +0,0 @@ -export type VakantieverhuurReport = { - is_cancellation: boolean - report_date: string // date-time - check_in_date: string // date-time - check_out_date: string // date-time - days_count_per_year: { - [key: string]: number - } -} - -export type VakantieverhuurReportInformation = { - year: number - rented_days_count: number | null - planned_days_count: number | null - is_rented_today: boolean - reports: VakantieverhuurReport[] -} - -export default VakantieverhuurReportInformation diff --git a/src/components/HolidayRental/components/HolidayRentalReport.tsx b/src/components/HolidayRental/components/HolidayRentalReport.tsx deleted file mode 100644 index 2e3a3e18..00000000 --- a/src/components/HolidayRental/components/HolidayRentalReport.tsx +++ /dev/null @@ -1,43 +0,0 @@ -import React from "react" -import styled from "styled-components" -import { themeSpacing } from "@amsterdam/asc-ui" -import DefinitionList from "../../Data/DefinitionList/DefinitionList" -import type VakantieverhuurReportInformation from "../VakantieverhuurReportInformation" -import Report from "./Report" -import useVacationRentalValues from "./hooks/useVacationRentalValues" - -type Props = { - vakantieverhuurReport: VakantieverhuurReportInformation - title: string - horizontalBordered: boolean -} - -const StyledDiv = styled.div` - margin-bottom: ${ themeSpacing(12) }; -` - -const VacationRentalReport: React.FC = ({ vakantieverhuurReport, title, horizontalBordered }) => { - const values = useVacationRentalValues(vakantieverhuurReport) - const { reports, year } = vakantieverhuurReport - - return ( - - - { reports.map((report, index: number) => - - ) } - - ) -} - -export default VacationRentalReport diff --git a/src/components/HolidayRental/components/Report.tsx b/src/components/HolidayRental/components/Report.tsx deleted file mode 100644 index 4b5300d6..00000000 --- a/src/components/HolidayRental/components/Report.tsx +++ /dev/null @@ -1,43 +0,0 @@ -import React from "react" -import styled from "styled-components" -import { themeSpacing } from "@amsterdam/asc-ui" -import useVacationRentalReportValues from "./hooks/useVacationRentalReportValues" -import DefinitionList from "../../Data/DefinitionList/DefinitionList" -import type { VakantieverhuurReportInformation, VakantieverhuurReport } from "../VakantieverhuurReportInformation" - -type Props = { - report: VakantieverhuurReport - year: VakantieverhuurReportInformation["year"] - horizontalBordered: boolean -} - -const StyledDiv = styled.div` - margin-top: ${ themeSpacing(3) }; -` - -const VactionRentalReport: React.FC = ({ report, year, horizontalBordered }) => { - const { - check_in_date: checkInDate, - check_out_date: checkOutDate, - is_cancellation: isCancellation, - report_date: reportDate, - days_count_per_year: daysCountPerYear - } = report - - const nightsRented = daysCountPerYear?.[year] - const title = `${ isCancellation ? "Afmelding (-" : "Melding (+" }${ nightsRented } nachten)` - const values = useVacationRentalReportValues(checkInDate, checkOutDate, reportDate) - - return ( - - - - ) -} - -export default VactionRentalReport \ No newline at end of file diff --git a/src/components/HolidayRental/components/hooks/useVacationRentalReportValues.tsx b/src/components/HolidayRental/components/hooks/useVacationRentalReportValues.tsx deleted file mode 100644 index b3b5cc3c..00000000 --- a/src/components/HolidayRental/components/hooks/useVacationRentalReportValues.tsx +++ /dev/null @@ -1,7 +0,0 @@ -import React from "react" -import DateDisplay from "../../../DateDisplay/DateDisplay" - -export default (checkInDate: string, checkOutDate: string, reportDate: string) => ({ - "Check in": , - "Check out": -}) diff --git a/src/components/HolidayRental/components/hooks/useVacationRentalValues.tsx b/src/components/HolidayRental/components/hooks/useVacationRentalValues.tsx deleted file mode 100644 index f96b7010..00000000 --- a/src/components/HolidayRental/components/hooks/useVacationRentalValues.tsx +++ /dev/null @@ -1,14 +0,0 @@ -import React from "react" -import type VakantieverhuurReportInformation from "../../VakantieverhuurReportInformation" - -export default (data?: VakantieverhuurReportInformation | null) => { - if (data == null) return - - const { rented_days_count, is_rented_today, planned_days_count } = data - - return ({ - "Nachten verhuurd": { rented_days_count }, - "Vandaag verhuurd": is_rented_today ? "Ja" : "Nee", - "Nachten gepland": planned_days_count - }) -} diff --git a/src/components/HolidayRental/tests/HolidayRental.test.tsx b/src/components/HolidayRental/tests/HolidayRental.test.tsx deleted file mode 100644 index cdd7cde1..00000000 --- a/src/components/HolidayRental/tests/HolidayRental.test.tsx +++ /dev/null @@ -1,63 +0,0 @@ -import React from "react" -import { render, screen } from "@testing-library/react" -import HolidayRental, { TITLE } from "../HolidayRental" -import holidayRentalData from "../../../stories/mockedData/holidayRentalData" - -describe("HolidayRental", () => { - it("should render Heading", () => { - render() - expect(screen.getByText(TITLE)).toBeInTheDocument() - }) - - it("should render component with Heading", () => { - render() - expect(screen.getByRole("heading", { name: TITLE })).toBeInTheDocument() - }) - - it("No data found", () => { - render() - expect(screen.getByText("Geen vakantieverhuur meldingen")).toBeInTheDocument() - }) - - it("should load spinner", () => { - const { getByTestId } = render() - expect(getByTestId("spinner")).toBeInTheDocument() - }) - - it("should not load spinner", () => { - const { queryByTestId } = render() - expect(queryByTestId("spinner")).not.toBeInTheDocument() - }) - - it("should render most recent year", () => { - render() - const rental = holidayRentalData[0] - const { is_cancellation, days_count_per_year } = rental.reports[0] - const nightsRented = days_count_per_year?.[rental.year] - expect(screen.getByText(`${ TITLE } ${ rental.year }`)).toBeInTheDocument() - - // Search for the text within the parent element - const textElements = screen.getAllByText( - `${ - is_cancellation ? "Afmelding (-" : "Melding (+" - }${ nightsRented } nachten)` - ) - expect(textElements[0]).toBeInTheDocument() - }) - - it("should not render other years", () => { - render( - - ) - const rental1 = holidayRentalData[1] - expect(screen.queryByText(`${ TITLE } ${ rental1.year }`)).not.toBeInTheDocument() - }) - - it("should render other years", () => { - render( - - ) - const rental1 = holidayRentalData[1] - expect(screen.getByText(`${ TITLE } ${ rental1.year }`)).toBeInTheDocument() - }) -}) diff --git a/src/index.ts b/src/index.ts index f7043ecb..afc4f3b8 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,7 +1,6 @@ import type CaseEvent from "./components/EventsTimeline/CaseEvent" import type Permit from "./components/PermitsOverview/Permit" import type PermitType from "./components/PermitsSynopsis/PermitType" -import type VakantieverhuurReportInformation from "./components/HolidayRental/VakantieverhuurReportInformation" import type { RentalReport } from "./components/HolidayRentalReports/types" import type { DefinitionListData } from "./components/Data/DefinitionList/DefinitionList" import type { ColumnType, Sorting } from "./components/Data/Table/types" @@ -12,7 +11,6 @@ import DayDisplay from "./components/DayDisplay/DayDisplay" import DefinitionList from "./components/Data/DefinitionList/DefinitionList" import EventsTimeline from "./components/EventsTimeline/EventsTimeline" import FinancialDisplay from "./components/FinancialDisplay/FinancialDisplay" -import HolidayRental from "./components/HolidayRental/HolidayRental" import HolidayRentalReports from "./components/HolidayRentalReports/HolidayRentalReports" import List from "./components/Data/List/List" import LoadingRows from "./components/Data/components/LoadingRows" @@ -33,7 +31,6 @@ export type { CaseEvent, Permit, PermitType, - VakantieverhuurReportInformation, RentalReport, DefinitionListData, ColumnType, @@ -50,7 +47,6 @@ export { EventsTimeline, FinancialDisplay, getValidPermits, - HolidayRental, HolidayRentalReports, Icons, isValidDate, diff --git a/src/stories/HolidayRental.stories.tsx b/src/stories/HolidayRental.stories.tsx deleted file mode 100644 index 18e6e3bb..00000000 --- a/src/stories/HolidayRental.stories.tsx +++ /dev/null @@ -1,25 +0,0 @@ -import React from "react" -import { Meta } from "@storybook/react" - -import { HolidayRental } from "../index" -import holidayRentalData from "./mockedData/holidayRentalData" - -export default { - title: "HolidayRental", - component: HolidayRental -} as Meta - -const StoryComponent = (args) => - -export const Default = StoryComponent.bind({}) -Default.parameters = { - docs: { - storyDescription: "Overview of permits" - } -} -Default.args = { - data: holidayRentalData, - horizontalBordered: true, - loading: false, - showRecentYearOnly: false -} diff --git a/src/stories/mockedData/holidayRentalData.ts b/src/stories/mockedData/holidayRentalData.ts deleted file mode 100644 index 56f26182..00000000 --- a/src/stories/mockedData/holidayRentalData.ts +++ /dev/null @@ -1,408 +0,0 @@ -import VakantieverhuurReportInformation from "../../components/HolidayRental/VakantieverhuurReportInformation" - -const holidayRentalData: VakantieverhuurReportInformation[] = [ - { - rented_days_count: 3, - planned_days_count: 0, - is_rented_today: false, - reports: [ - { - is_cancellation: false, - report_date: "2017-12-27T00:00:00", - check_in_date: "2017-12-29T00:00:00", - check_out_date: "2018-01-03T00:00:00", - days_count_per_year: { - "2017": 3, - "2018": 2 - } - } - ], - year: 2017 - }, - { - rented_days_count: 41, - planned_days_count: 0, - is_rented_today: false, - reports: [ - { - is_cancellation: false, - report_date: "2018-12-21T00:00:00", - check_in_date: "2018-12-27T00:00:00", - check_out_date: "2019-01-05T00:00:00", - days_count_per_year: { - "2018": 5, - "2019": 4 - } - }, - { - is_cancellation: false, - report_date: "2018-11-30T00:00:00", - check_in_date: "2018-11-30T00:00:00", - check_out_date: "2018-12-02T00:00:00", - days_count_per_year: { - "2018": 2 - } - }, - { - is_cancellation: false, - report_date: "2018-11-16T00:00:00", - check_in_date: "2018-11-16T00:00:00", - check_out_date: "2018-11-18T00:00:00", - days_count_per_year: { - "2018": 2 - } - }, - { - is_cancellation: false, - report_date: "2018-08-22T00:00:00", - check_in_date: "2018-08-23T00:00:00", - check_out_date: "2018-08-26T00:00:00", - days_count_per_year: { - "2018": 3 - } - }, - { - is_cancellation: false, - report_date: "2018-07-30T00:00:00", - check_in_date: "2018-07-31T00:00:00", - check_out_date: "2018-08-05T00:00:00", - days_count_per_year: { - "2018": 5 - } - }, - { - is_cancellation: false, - report_date: "2018-07-27T00:00:00", - check_in_date: "2018-07-27T00:00:00", - check_out_date: "2018-07-29T00:00:00", - days_count_per_year: { - "2018": 2 - } - }, - { - is_cancellation: false, - report_date: "2018-06-22T00:00:00", - check_in_date: "2018-06-23T00:00:00", - check_out_date: "2018-07-01T00:00:00", - days_count_per_year: { - "2018": 8 - } - }, - { - is_cancellation: false, - report_date: "2018-06-09T00:00:00", - check_in_date: "2018-06-09T00:00:00", - check_out_date: "2018-06-10T00:00:00", - days_count_per_year: { - "2018": 1 - } - }, - { - is_cancellation: false, - report_date: "2018-04-24T00:00:00", - check_in_date: "2018-04-26T00:00:00", - check_out_date: "2018-04-30T00:00:00", - days_count_per_year: { - "2018": 4 - } - }, - { - is_cancellation: false, - report_date: "2018-04-14T00:00:00", - check_in_date: "2018-04-14T00:00:00", - check_out_date: "2018-04-15T00:00:00", - days_count_per_year: { - "2018": 1 - } - }, - { - is_cancellation: false, - report_date: "2018-03-30T00:00:00", - check_in_date: "2018-03-30T00:00:00", - check_out_date: "2018-04-01T00:00:00", - days_count_per_year: { - "2018": 2 - } - }, - { - is_cancellation: false, - report_date: "2018-03-16T00:00:00", - check_in_date: "2018-03-16T00:00:00", - check_out_date: "2018-03-18T00:00:00", - days_count_per_year: { - "2018": 2 - } - }, - { - is_cancellation: false, - report_date: "2018-01-10T00:00:00", - check_in_date: "2018-01-12T00:00:00", - check_out_date: "2018-01-14T00:00:00", - days_count_per_year: { - "2018": 2 - } - }, - { - is_cancellation: false, - report_date: "2017-12-27T00:00:00", - check_in_date: "2017-12-29T00:00:00", - check_out_date: "2018-01-03T00:00:00", - days_count_per_year: { - "2017": 3, - "2018": 2 - } - } - ], - year: 2018 - }, - { - rented_days_count: 29, - planned_days_count: 0, - is_rented_today: false, - reports: [ - { - is_cancellation: false, - report_date: "2019-12-26T00:00:00", - check_in_date: "2019-12-27T00:00:00", - check_out_date: "2020-01-03T00:00:00", - days_count_per_year: { - "2019": 5, - "2020": 2 - } - }, - { - is_cancellation: false, - report_date: "2019-09-15T00:00:00", - check_in_date: "2019-09-15T00:00:00", - check_out_date: "2019-09-19T00:00:00", - days_count_per_year: { - "2019": 4 - } - }, - { - is_cancellation: false, - report_date: "2019-09-15T00:00:00", - check_in_date: "2019-09-27T00:00:00", - check_out_date: "2019-09-29T00:00:00", - days_count_per_year: { - "2019": 2 - } - }, - { - is_cancellation: false, - report_date: "2019-06-21T00:00:00", - check_in_date: "2019-06-21T00:00:00", - check_out_date: "2019-06-23T00:00:00", - days_count_per_year: { - "2019": 2 - } - }, - { - is_cancellation: false, - report_date: "2019-06-15T00:00:00", - check_in_date: "2019-06-15T00:00:00", - check_out_date: "2019-06-20T00:00:00", - days_count_per_year: { - "2019": 5 - } - }, - { - is_cancellation: false, - report_date: "2019-05-30T00:00:00", - check_in_date: "2019-05-31T00:00:00", - check_out_date: "2019-06-02T00:00:00", - days_count_per_year: { - "2019": 2 - } - }, - { - is_cancellation: false, - report_date: "2019-04-20T00:00:00", - check_in_date: "2019-04-20T00:00:00", - check_out_date: "2019-04-22T00:00:00", - days_count_per_year: { - "2019": 2 - } - }, - { - is_cancellation: false, - report_date: "2019-03-14T00:00:00", - check_in_date: "2019-03-14T00:00:00", - check_out_date: "2019-03-17T00:00:00", - days_count_per_year: { - "2019": 3 - } - }, - { - is_cancellation: false, - report_date: "2018-12-21T00:00:00", - check_in_date: "2018-12-27T00:00:00", - check_out_date: "2019-01-05T00:00:00", - days_count_per_year: { - "2018": 5, - "2019": 4 - } - } - ], - year: 2019 - }, - { - rented_days_count: 12, - planned_days_count: 0, - is_rented_today: false, - reports: [ - { - is_cancellation: false, - report_date: "2020-09-14T00:00:00", - check_in_date: "2020-09-18T00:00:00", - check_out_date: "2020-09-20T00:00:00", - days_count_per_year: { - "2020": 2 - } - }, - { - is_cancellation: false, - report_date: "2020-07-27T00:00:00", - check_in_date: "2020-07-29T00:00:00", - check_out_date: "2020-07-31T00:00:00", - days_count_per_year: { - "2020": 2 - } - }, - { - is_cancellation: false, - report_date: "2020-07-27T00:00:00", - check_in_date: "2020-08-04T00:00:00", - check_out_date: "2020-08-06T00:00:00", - days_count_per_year: { - "2020": 2 - } - }, - { - is_cancellation: false, - report_date: "2020-07-24T00:00:00", - check_in_date: "2020-07-24T00:00:00", - check_out_date: "2020-07-26T00:00:00", - days_count_per_year: { - "2020": 2 - } - }, - { - is_cancellation: false, - report_date: "2020-01-24T00:00:00", - check_in_date: "2020-01-24T00:00:00", - check_out_date: "2020-01-26T00:00:00", - days_count_per_year: { - "2020": 2 - } - }, - { - is_cancellation: false, - report_date: "2019-12-26T00:00:00", - check_in_date: "2019-12-27T00:00:00", - check_out_date: "2020-01-03T00:00:00", - days_count_per_year: { - "2019": 5, - "2020": 2 - } - } - ], - year: 2020 - }, - { - rented_days_count: 15, - planned_days_count: 0, - is_rented_today: false, - reports: [ - { - is_cancellation: false, - report_date: "2022-06-16T00:00:00", - check_in_date: "2022-06-17T00:00:00", - check_out_date: "2022-06-19T00:00:00", - days_count_per_year: { - "2022": 2 - } - }, - { - is_cancellation: false, - report_date: "2022-06-02T00:00:00", - check_in_date: "2022-06-04T00:00:00", - check_out_date: "2022-06-07T00:00:00", - days_count_per_year: { - "2022": 3 - } - }, - { - is_cancellation: false, - report_date: "2022-06-01T00:00:00", - check_in_date: "2022-06-09T00:00:00", - check_out_date: "2022-06-12T00:00:00", - days_count_per_year: { - "2022": 3 - } - }, - - - { - is_cancellation: true, - report_date: "2022-05-21T00:00:00", - check_in_date: "2022-05-22T00:00:00", - check_out_date: "2022-05-26T00:00:00", - days_count_per_year: { - "2022": 2 - } - }, - { - is_cancellation: false, - report_date: "2022-05-25T00:00:00", - check_in_date: "2022-05-24T00:00:00", - check_out_date: "2022-05-28T00:00:00", - days_count_per_year: { - "2022": 2 - } - }, - - - { - is_cancellation: false, - report_date: "2022-05-25T00:00:00", - check_in_date: "2022-05-20T00:00:00", - check_out_date: "2022-05-24T00:00:00", - days_count_per_year: { - "2022": 4 - } - }, - - { - is_cancellation: false, - report_date: "2022-04-14T00:00:00", - check_in_date: "2022-04-17T00:00:00", - check_out_date: "2022-04-20T00:00:00", - days_count_per_year: { - "2022": 3 - } - }, - { - is_cancellation: false, - report_date: "2022-04-14T00:00:00", - check_in_date: "2022-04-22T00:00:00", - check_out_date: "2022-04-24T00:00:00", - days_count_per_year: { - "2022": 2 - } - }, - { - is_cancellation: false, - report_date: "2022-04-14T00:00:00", - check_in_date: "2022-04-26T00:00:00", - check_out_date: "2022-04-28T00:00:00", - days_count_per_year: { - "2022": 2 - } - } - ], - year: 2022 - } -] - -export default holidayRentalData From d4ac884a24a5da71eaaac1ffe61e55eb2aff60b0 Mon Sep 17 00:00:00 2001 From: Remy van der Wereld Date: Wed, 4 Sep 2024 15:03:59 +0200 Subject: [PATCH 2/2] 93474 added Aangemaakt op field to meldingen --- .../components/hooks/useReportValues.tsx | 3 ++- src/components/HolidayRentalReports/types.ts | 1 + .../mockedData/holidayRentalReportsData.ts | 18 ++++++++++++------ 3 files changed, 15 insertions(+), 7 deletions(-) diff --git a/src/components/HolidayRentalReports/components/hooks/useReportValues.tsx b/src/components/HolidayRentalReports/components/hooks/useReportValues.tsx index d1cd6b8c..8d51350f 100644 --- a/src/components/HolidayRentalReports/components/hooks/useReportValues.tsx +++ b/src/components/HolidayRentalReports/components/hooks/useReportValues.tsx @@ -7,5 +7,6 @@ export default (report: RentalReport) => ({ "Check out": , "Gasten": report?.gasten, "Gewijzigd": report?.isAangepast ? "Ja" : "Nee", - "Verwijderd": report?.isVerwijderd ? "Ja" : "Nee" + "Verwijderd": report?.isVerwijderd ? "Ja" : "Nee", + "Aangemaakt op": }) diff --git a/src/components/HolidayRentalReports/types.ts b/src/components/HolidayRentalReports/types.ts index 3bca7c0c..668bb645 100644 --- a/src/components/HolidayRentalReports/types.ts +++ b/src/components/HolidayRentalReports/types.ts @@ -5,4 +5,5 @@ export type RentalReport = { gasten: number isAangepast: Boolean isVerwijderd: Boolean + gemaaktOp: string // date-time } diff --git a/src/stories/mockedData/holidayRentalReportsData.ts b/src/stories/mockedData/holidayRentalReportsData.ts index b92fa443..adfb7968 100644 --- a/src/stories/mockedData/holidayRentalReportsData.ts +++ b/src/stories/mockedData/holidayRentalReportsData.ts @@ -7,7 +7,8 @@ const holidayRentalData: RentalReport[] = [ "nachten": 3, "gasten": 4, "isAangepast": true, - "isVerwijderd": true + "isVerwijderd": true, + "gemaaktOp": "2024-06-26T18:08:46.5666577Z" }, { "startDatum": "2023-01-20T00:00:00Z", @@ -15,7 +16,8 @@ const holidayRentalData: RentalReport[] = [ "nachten": 2, "gasten": 1, "isAangepast": false, - "isVerwijderd": false + "isVerwijderd": false, + "gemaaktOp": "2024-06-26T18:07:11.3316885Z" }, { "startDatum": "2023-01-12T00:00:00Z", @@ -23,7 +25,8 @@ const holidayRentalData: RentalReport[] = [ "nachten": 2, "gasten": 4, "isAangepast": true, - "isVerwijderd": false + "isVerwijderd": false, + "gemaaktOp": "2024-06-26T18:08:46.5666577Z" }, { "startDatum": "2023-01-09T00:00:00Z", @@ -31,7 +34,8 @@ const holidayRentalData: RentalReport[] = [ "nachten": 2, "gasten": 3, "isAangepast": false, - "isVerwijderd": false + "isVerwijderd": false, + "gemaaktOp": "2024-06-26T18:08:46.5666577Z" }, { "startDatum": "2023-01-02T00:00:00Z", @@ -39,7 +43,8 @@ const holidayRentalData: RentalReport[] = [ "nachten": 3, "gasten": 4, "isAangepast": false, - "isVerwijderd": false + "isVerwijderd": false, + "gemaaktOp": "2024-05-20T09:29:37.4990796Z" }, { "startDatum": "2022-12-30T00:00:00Z", @@ -47,7 +52,8 @@ const holidayRentalData: RentalReport[] = [ "nachten": 5, "gasten": 4, "isAangepast": true, - "isVerwijderd": false + "isVerwijderd": false, + "gemaaktOp": "2024-06-26T18:07:11.3316885Z" } ]