@licklist/design 0.58.6-dev.9 → 0.58.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bitbucket-pipelines.yml +8 -0
- package/dist/assets/iframe/calendar.svg +2 -2
- package/dist/assets/iframe/calendar.svg.js +1 -1
- package/dist/assets/iframe/ticket.svg +2 -2
- package/dist/assets/iframe/ticket.svg.js +1 -1
- package/dist/calendar/Calendar.d.ts +1 -1
- package/dist/calendar/Calendar.d.ts.map +1 -1
- package/dist/calendar/Calendar.js +1 -1
- package/dist/calendar/components/CalendarButtons/CalendarButtons.js +1 -1
- package/dist/calendar/components/CalendarDates/CalendarDates.d.ts +2 -2
- package/dist/calendar/components/CalendarDates/CalendarDates.d.ts.map +1 -1
- package/dist/calendar/components/CalendarDates/CalendarDates.js +1 -1
- package/dist/events/edit-event-modal/component/EditEventForm/EditEventForm.js +1 -1
- package/dist/events/event-statistic-modal/EventStatisticModal.js +1 -1
- package/dist/iframe/event/event-card/IframeEventCard.d.ts +1 -2
- package/dist/iframe/event/event-card/IframeEventCard.d.ts.map +1 -1
- package/dist/iframe/event/event-card/IframeEventCard.js +1 -1
- package/dist/iframe/event/event-venue-map/IframeEventVenueMap.js +1 -1
- package/dist/iframe/order-process/components/BookingSummary/BookingSummary.d.ts +2 -2
- package/dist/iframe/order-process/components/BookingSummary/BookingSummary.d.ts.map +1 -1
- package/dist/iframe/order-process/components/BookingSummary/BookingSummary.js +1 -1
- package/dist/iframe/order-process/components/BookingSummary/components/BookingSummaryAccordion/BookingSummaryAccordion.d.ts +2 -4
- package/dist/iframe/order-process/components/BookingSummary/components/BookingSummaryAccordion/BookingSummaryAccordion.d.ts.map +1 -1
- package/dist/iframe/order-process/components/BookingSummary/components/BookingSummaryAccordion/BookingSummaryAccordion.js +1 -1
- package/dist/iframe/order-process/components/BookingSummary/components/SummaryTotal/components/SummaryTotalBlock.d.ts +1 -1
- package/dist/iframe/order-process/components/BookingSummary/components/SummaryTotal/components/SummaryTotalBlock.d.ts.map +1 -1
- package/dist/iframe/order-process/components/BookingSummary/components/SummaryTotal/components/SummaryTotalBlock.js +1 -1
- package/dist/iframe/order-process/components/BookingSummary/components/ToggleHeader/ToggleHeader.d.ts +2 -4
- package/dist/iframe/order-process/components/BookingSummary/components/ToggleHeader/ToggleHeader.d.ts.map +1 -1
- package/dist/iframe/order-process/components/BookingSummary/components/ToggleHeader/ToggleHeader.js +1 -1
- package/dist/iframe/order-process/components/BookingSummary/types/index.d.ts +0 -4
- package/dist/iframe/order-process/components/BookingSummary/types/index.d.ts.map +1 -1
- package/dist/iframe/order-process/components/CalendarStepsForm/CalendarStepsForm.js +1 -1
- package/dist/iframe/order-process/components/CategoryProduct/components/NumberInput/NumberInput.js +1 -1
- package/dist/iframe/page/components/PageBody/components/LeftBlock/LeftBlock.d.ts.map +1 -1
- package/dist/iframe/page/components/PageBody/components/LeftBlock/LeftBlock.js +1 -1
- package/dist/iframe/page/components/PageBody/constants.d.ts +0 -1
- package/dist/iframe/page/components/PageBody/constants.d.ts.map +1 -1
- package/dist/iframe/page/components/PageBody/constants.js +1 -1
- package/dist/iframe/page/components/PageBody/hooks/useResizePageBody.d.ts.map +1 -1
- package/dist/iframe/page/components/PageBody/hooks/useResizePageBody.js +1 -1
- package/dist/iframe/payment/order-items-table/OrderItemsTable.js +1 -1
- package/dist/iframe/payment/order-items-table/utils/paymentSummary.js +1 -1
- package/dist/iframe/payment/payment-form/PaymentForm.js +1 -1
- package/dist/iframe/payment/payment-page/PaymentPage.d.ts.map +1 -1
- package/dist/iframe/payment/payment-page/PaymentPage.js +1 -1
- package/dist/iframe/payment/payment-page/PaymentTimer.js +1 -1
- package/dist/iframe/payment/payment-status-page/PaymentStatusPage.js +1 -1
- package/dist/iframe/ryft/RyftPaymentForm.d.ts.map +1 -1
- package/dist/iframe/ryft/RyftPaymentForm.js +1 -1
- package/dist/index.js +1 -1
- package/dist/product-set/card/ProductSetCard.d.ts +1 -2
- package/dist/product-set/card/ProductSetCard.d.ts.map +1 -1
- package/dist/product-set/card/ProductSetCard.js +1 -1
- package/dist/product-set/control/ProductSetControl.d.ts +1 -2
- package/dist/product-set/control/ProductSetControl.d.ts.map +1 -1
- package/dist/product-set/control/ProductSetControl.js +1 -1
- package/dist/product-set/control/TutorialGifCard.d.ts +1 -2
- package/dist/product-set/control/TutorialGifCard.d.ts.map +1 -1
- package/dist/product-set/control/TutorialGifCard.js +1 -1
- package/dist/product-set/form/ProductCategoriesControl.d.ts +1 -2
- package/dist/product-set/form/ProductCategoriesControl.d.ts.map +1 -1
- package/dist/product-set/form/ProductCategoriesControl.js +1 -1
- package/dist/product-set/form/ProductSetForm.d.ts +2 -7
- package/dist/product-set/form/ProductSetForm.d.ts.map +1 -1
- package/dist/product-set/form/ProductSetForm.js +1 -1
- package/dist/product-set/form/ProductsControl.d.ts +1 -2
- package/dist/product-set/form/ProductsControl.d.ts.map +1 -1
- package/dist/product-set/form/ProductsControl.js +1 -1
- package/dist/product-set/form/StepsControl.d.ts +1 -2
- package/dist/product-set/form/StepsControl.d.ts.map +1 -1
- package/dist/product-set/form/StepsControl.js +1 -1
- package/dist/product-set/form/SubProductsControl.d.ts +1 -2
- package/dist/product-set/form/SubProductsControl.d.ts.map +1 -1
- package/dist/product-set/form/SubProductsControl.js +1 -1
- package/dist/product-set/form/VenueMapsControl.js +1 -1
- package/dist/product-set/hooks/useSortableTreeFunctions.d.ts +1 -2
- package/dist/product-set/hooks/useSortableTreeFunctions.d.ts.map +1 -1
- package/dist/product-set/hooks/useSortableTreeFunctions.js +1 -1
- package/dist/product-set/item/CreateProductSetItem.d.ts +1 -2
- package/dist/product-set/item/CreateProductSetItem.d.ts.map +1 -1
- package/dist/product-set/item/CreateProductSetItem.js +1 -1
- package/dist/product-set/product/ProductControl.d.ts +1 -3
- package/dist/product-set/product/ProductControl.d.ts.map +1 -1
- package/dist/product-set/product/ProductControl.js +1 -1
- package/dist/product-set/product/fixed-duration-fields/FixedDurationOptions.d.ts +2 -4
- package/dist/product-set/product/fixed-duration-fields/FixedDurationOptions.d.ts.map +1 -1
- package/dist/product-set/product/fixed-duration-fields/FixedDurationOptions.js +1 -1
- package/dist/product-set/product/quantity/ProductQuantityControl.d.ts +0 -1
- package/dist/product-set/product/quantity/ProductQuantityControl.d.ts.map +1 -1
- package/dist/product-set/product/quantity/ProductQuantityControl.js +1 -1
- package/dist/product-set/product-category/ProductCategoryControl.d.ts +1 -3
- package/dist/product-set/product-category/ProductCategoryControl.d.ts.map +1 -1
- package/dist/product-set/product-category/ProductCategoryControl.js +1 -1
- package/dist/provider/working-hours-input/WorkingHoursInputDescription.d.ts.map +1 -1
- package/dist/provider/working-hours-input/WorkingHoursInputDescription.js +1 -1
- package/dist/recurring-date-picker-input/RecurringDatePickerInput.d.ts +0 -2
- package/dist/recurring-date-picker-input/RecurringDatePickerInput.d.ts.map +1 -1
- package/dist/recurring-date-picker-input/RecurringDatePickerInput.js +1 -1
- package/dist/sales/booking/results/components/ResultCard.d.ts.map +1 -1
- package/dist/sales/booking/results/components/ResultCard.js +1 -1
- package/dist/sales/notes/NotesTableRow.js +1 -1
- package/dist/setting/dashboard/snippets/card/SnippetCard.js +1 -1
- package/dist/snippet/snippet-template/control/PropertyControl.d.ts +1 -3
- package/dist/snippet/snippet-template/control/PropertyControl.d.ts.map +1 -1
- package/dist/snippet/snippet-template/control/PropertyControl.js +1 -1
- package/dist/snippet/snippet-template/preview/Preview.js +1 -1
- package/dist/sortable-list/SortableList.d.ts +1 -2
- package/dist/sortable-list/SortableList.d.ts.map +1 -1
- package/dist/sortable-list/SortableList.js +1 -1
- package/dist/sortable-tree/SortableTreeItem.d.ts +1 -3
- package/dist/sortable-tree/SortableTreeItem.d.ts.map +1 -1
- package/dist/sortable-tree/SortableTreeItem.js +1 -1
- package/dist/static/manual-date-picker/ManualDatePicker.js +1 -1
- package/dist/static/manual-date-picker/constants/index.d.ts +1 -4
- package/dist/static/manual-date-picker/constants/index.d.ts.map +1 -1
- package/dist/static/manual-date-picker/constants/index.js +1 -1
- package/dist/static/manual-date-picker/utils/index.d.ts +0 -4
- package/dist/static/manual-date-picker/utils/index.d.ts.map +1 -1
- package/dist/static/manual-date-picker/utils/index.js +1 -1
- package/dist/striped-static-table/StripedStaticTable.js +1 -1
- package/dist/styles/iframe-events/Card.scss +8 -24
- package/dist/styles/iframe-events/PoweredBy.scss +2 -2
- package/dist/styles/iframe-order-process/IframeOrderProcess.scss +20 -57
- package/dist/styles/iframe-page/Page.scss +0 -1
- package/dist/styles/iframe-page/PageBody.scss +12 -34
- package/dist/styles/iframe-page/PageHeader.scss +39 -41
- package/dist/styles/product-set/EditVenueMapSetModal.scss +1 -1
- package/dist/styles/ryft-payment-form/RyftPaymentForm.scss +2 -125
- package/dist/styles/sales/BookingResults.scss +1 -1
- package/dist/venue-map-sets/form/components/VenueMapImageControl.js +1 -1
- package/jest.config.js +29 -0
- package/package.json +35 -10
- package/src/assets/iframe/calendar.svg +2 -2
- package/src/assets/iframe/ticket.svg +2 -2
- package/src/calendar/Calendar.stories.tsx +0 -23
- package/src/calendar/Calendar.tsx +5 -5
- package/src/calendar/components/CalendarDates/CalendarDates.tsx +5 -0
- package/src/iframe/event/event-card/IframeEventCard.stories.tsx +0 -1
- package/src/iframe/event/event-card/IframeEventCard.tsx +8 -7
- package/src/iframe/order-process/components/BookingSummary/BookingSummary.stories.tsx +0 -9
- package/src/iframe/order-process/components/BookingSummary/BookingSummary.tsx +7 -58
- package/src/iframe/order-process/components/BookingSummary/components/BookingSummaryAccordion/BookingSummaryAccordion.tsx +0 -8
- package/src/iframe/order-process/components/BookingSummary/components/SummaryTotal/components/SummaryTotalBlock.tsx +4 -4
- package/src/iframe/order-process/components/BookingSummary/components/ToggleHeader/ToggleHeader.tsx +10 -63
- package/src/iframe/order-process/components/BookingSummary/types/index.ts +0 -4
- package/src/iframe/order-process/components/CategoryProduct/components/NumberInput/NumberInput.tsx +1 -1
- package/src/iframe/page/components/PageBody/components/LeftBlock/LeftBlock.tsx +1 -3
- package/src/iframe/page/components/PageBody/constants.ts +0 -2
- package/src/iframe/page/components/PageBody/hooks/useResizePageBody.ts +0 -10
- package/src/iframe/payment/order-items-table/utils/paymentSummary.tsx +6 -6
- package/src/iframe/payment/payment-page/PaymentPage.stories.tsx +6 -546
- package/src/iframe/payment/payment-page/PaymentPage.tsx +29 -38
- package/src/iframe/ryft/RyftPaymentForm.tsx +5 -11
- package/src/product-set/card/ProductSetCard.tsx +1 -12
- package/src/product-set/control/ProductSetControl.tsx +24 -46
- package/src/product-set/control/TutorialGifCard.tsx +3 -11
- package/src/product-set/form/ProductCategoriesControl.tsx +1 -12
- package/src/product-set/form/ProductSetForm.tsx +1 -10
- package/src/product-set/form/ProductsControl.tsx +0 -10
- package/src/product-set/form/StepsControl.tsx +2 -8
- package/src/product-set/form/SubProductsControl.tsx +0 -3
- package/src/product-set/hooks/useSortableTreeFunctions.ts +0 -6
- package/src/product-set/item/CreateProductSetItem.tsx +0 -3
- package/src/product-set/product/ProductControl.tsx +15 -48
- package/src/product-set/product/fixed-duration-fields/FixedDurationOptions.tsx +2 -8
- package/src/product-set/product/quantity/ProductQuantityControl.tsx +3 -4
- package/src/product-set/product-category/ProductCategoryControl.tsx +50 -116
- package/src/provider/working-hours-input/WorkingHoursInputDescription.tsx +18 -4
- package/src/recurring-date-picker-input/RecurringDatePickerInput.tsx +1 -4
- package/src/sales/booking/results/BookingResults.stories.tsx +2 -3
- package/src/sales/booking/results/components/ResultCard.tsx +5 -2
- package/src/snippet/snippet-template/control/PropertyControl.tsx +2 -6
- package/src/sortable-list/SortableList.tsx +0 -3
- package/src/sortable-tree/SortableTreeItem.tsx +0 -6
- package/src/static/manual-date-picker/ManualDatePicker.tsx +3 -3
- package/src/static/manual-date-picker/constants/index.ts +2 -6
- package/src/static/manual-date-picker/utils/index.ts +0 -11
- package/src/static/switch/BooleanSwitch.tsx +1 -1
- package/src/styles/iframe-events/Card.scss +8 -24
- package/src/styles/iframe-events/PoweredBy.scss +2 -2
- package/src/styles/iframe-order-process/IframeOrderProcess.scss +20 -57
- package/src/styles/iframe-page/Page.scss +0 -1
- package/src/styles/iframe-page/PageBody.scss +12 -34
- package/src/styles/iframe-page/PageHeader.scss +39 -41
- package/src/styles/product-set/EditVenueMapSetModal.scss +1 -1
- package/src/styles/ryft-payment-form/RyftPaymentForm.scss +2 -125
- package/src/styles/sales/BookingResults.scss +1 -1
- package/tests/Auth/Authorizer.test.tsx +194 -0
- package/tests/Auth/Layout/UserNavDropDown.test.tsx +43 -0
- package/tests/Auth/Layout/UserNavDropDownToggle.test.tsx +33 -0
- package/tests/Auth/Login/LoginComponent.test.tsx +246 -0
- package/tests/Auth/Login/LoginFormComponent.test.tsx +182 -0
- package/tests/Auth/Register/RegisterComponent.test.tsx +285 -0
- package/tests/Auth/Register/RegisterFormComponent.test.tsx +170 -0
- package/tests/Auth/Settings/Dashboard/IpInput.test.tsx +130 -0
- package/tests/Auth/Social/SocialCallbackComponent.test.tsx +133 -0
- package/tests/Auth/Social/SocialFormComponent.test.tsx +118 -0
- package/tests/FileUpload/FileUpload.test.tsx +42 -0
- package/tests/Notification/EmailTemplate.test.tsx +82 -0
- package/tests/ProductSet/ProductSetPopover.test.tsx +40 -0
- package/tests/Report/Report.test.tsx +48 -0
- package/tests/Sales/Coupon.test.tsx +51 -0
- package/tests/Sales/SalesAndVIews.test.tsx +63 -0
- package/tests/SnippetTemplates/SnippetTemplates.test.tsx +56 -0
- package/tests/Table/FilterHelperComponent.test.tsx +88 -0
- package/tests/Table/PaginationHelperComponent.test.tsx +109 -0
- package/tests/Table/PerPageHelperComponent.test.tsx +34 -0
- package/tests/Table/TableHelperComponent.test.tsx +295 -0
- package/tests/TipTapEditor/TipTapEditor.test.tsx +28 -0
- package/tests/__mock__/hooks/useAuthApi.ts +13 -0
- package/tests/__mock__/hooks/useAuthMock.ts +13 -0
- package/tests/__mock__/hooks/useFormMock.ts +27 -0
- package/tests/__mock__/hooks/useNotificationMock.ts +13 -0
- package/tests/__mock__/hooks/useQueryMock.ts +16 -0
- package/tests/__mock__/hooks/useSocialApiMock.ts +20 -0
- package/tests/__mock__/hooks/useTranslationMock.ts +17 -0
- package/tests/__mock__/hooks/useUserApiMock.ts +18 -0
- package/tests/__mock__/hooks/useUserMock.ts +13 -0
- package/tests/__mock__/styleMock.js +1 -0
- package/tests/__mock__/windowMock.ts +5 -0
- package/tests/packages/react-query.tsx +28 -0
- package/tests/setupTests.ts +10 -0
- package/dist/iframe/ryft/utils/ryft-form.d.ts +0 -5
- package/dist/iframe/ryft/utils/ryft-form.d.ts.map +0 -1
- package/dist/iframe/ryft/utils/ryft-form.js +0 -1
- package/dist/product-set/control/DateInput.d.ts +0 -17
- package/dist/product-set/control/DateInput.d.ts.map +0 -1
- package/dist/product-set/control/DateInput.js +0 -1
- package/dist/product-set/control/ProductSetRecurrenceOverridesControl.d.ts +0 -11
- package/dist/product-set/control/ProductSetRecurrenceOverridesControl.d.ts.map +0 -1
- package/dist/product-set/control/ProductSetRecurrenceOverridesControl.js +0 -1
- package/dist/recurring-date-picker-input/DatePickerInput.d.ts +0 -19
- package/dist/recurring-date-picker-input/DatePickerInput.d.ts.map +0 -1
- package/dist/recurring-date-picker-input/DatePickerInput.js +0 -1
- package/dist/recurring-date-picker-input/RecurrenceAndFrequencyInput.d.ts +0 -15
- package/dist/recurring-date-picker-input/RecurrenceAndFrequencyInput.d.ts.map +0 -1
- package/dist/recurring-date-picker-input/RecurrenceAndFrequencyInput.js +0 -1
- package/src/iframe/ryft/utils/ryft-form.ts +0 -47
- package/src/product-set/control/DateInput.tsx +0 -313
- package/src/product-set/control/ProductSetRecurrenceOverridesControl.tsx +0 -63
- package/src/recurring-date-picker-input/DatePickerInput.tsx +0 -93
- package/src/recurring-date-picker-input/RecurrenceAndFrequencyInput.tsx +0 -136
|
@@ -2,11 +2,6 @@ import { Meta } from "@storybook/react";
|
|
|
2
2
|
import React from "react";
|
|
3
3
|
import { PaymentPage } from "./PaymentPage";
|
|
4
4
|
|
|
5
|
-
const paymentMetadata = {
|
|
6
|
-
paid: 2,
|
|
7
|
-
total: 4,
|
|
8
|
-
};
|
|
9
|
-
|
|
10
5
|
export default {
|
|
11
6
|
title: "Iframe/PaymentPage",
|
|
12
7
|
component: Default,
|
|
@@ -17,7 +12,6 @@ export function Default(props) {
|
|
|
17
12
|
}
|
|
18
13
|
|
|
19
14
|
Default.args = {
|
|
20
|
-
paymentMetadata: paymentMetadata,
|
|
21
15
|
isLoading: false,
|
|
22
16
|
data: {
|
|
23
17
|
amount: 3,
|
|
@@ -35,550 +29,16 @@ Default.args = {
|
|
|
35
29
|
date: "2023-09-30_08-24-00",
|
|
36
30
|
eventName: "alex test",
|
|
37
31
|
formValues: {
|
|
38
|
-
|
|
39
|
-
id:
|
|
40
|
-
quantity: 1,
|
|
41
|
-
price: 5,
|
|
42
|
-
productCategoryId: 821,
|
|
43
|
-
hasDeposit: true,
|
|
44
|
-
name: "deposit 1",
|
|
45
|
-
deposit: 3,
|
|
46
|
-
},
|
|
47
|
-
1275: {
|
|
48
|
-
id: 1275,
|
|
49
|
-
quantity: 1,
|
|
50
|
-
price: 10,
|
|
51
|
-
productCategoryId: 821,
|
|
52
|
-
hasDeposit: true,
|
|
53
|
-
name: "deposit 2",
|
|
54
|
-
deposit: 4,
|
|
55
|
-
},
|
|
56
|
-
1711: {
|
|
57
|
-
id: 1711,
|
|
58
|
-
quantity: 1,
|
|
59
|
-
price: 2,
|
|
60
|
-
productCategoryId: 1113,
|
|
61
|
-
hasDeposit: false,
|
|
62
|
-
name: "Product 4",
|
|
63
|
-
deposit: 0,
|
|
64
|
-
},
|
|
65
|
-
1712: {
|
|
66
|
-
id: 1712,
|
|
67
|
-
quantity: 1,
|
|
68
|
-
price: 4,
|
|
69
|
-
productCategoryId: 1113,
|
|
70
|
-
hasDeposit: false,
|
|
71
|
-
name: "Product 5",
|
|
72
|
-
deposit: 0,
|
|
73
|
-
},
|
|
74
|
-
1713: {
|
|
75
|
-
id: 1713,
|
|
32
|
+
348: {
|
|
33
|
+
id: 348,
|
|
76
34
|
quantity: 1,
|
|
77
|
-
price:
|
|
78
|
-
productCategoryId:
|
|
79
|
-
|
|
80
|
-
name: "Product 6",
|
|
81
|
-
deposit: 0,
|
|
82
|
-
},
|
|
83
|
-
1714: {
|
|
84
|
-
id: 1714,
|
|
85
|
-
quantity: 1,
|
|
86
|
-
price: 2,
|
|
87
|
-
productCategoryId: 1113,
|
|
88
|
-
hasDeposit: false,
|
|
89
|
-
name: "Product 7",
|
|
90
|
-
deposit: 0,
|
|
91
|
-
1715: {
|
|
92
|
-
id: 1715,
|
|
93
|
-
quantity: 1,
|
|
94
|
-
price: 3,
|
|
95
|
-
productCategoryId: 1113,
|
|
96
|
-
hasDeposit: false,
|
|
97
|
-
name: "Product 8",
|
|
98
|
-
deposit: 0,
|
|
99
|
-
},
|
|
100
|
-
1716: {
|
|
101
|
-
id: 1716,
|
|
102
|
-
quantity: 1,
|
|
103
|
-
price: 6,
|
|
104
|
-
productCategoryId: 1113,
|
|
105
|
-
hasDeposit: false,
|
|
106
|
-
name: "Product 9",
|
|
107
|
-
deposit: 0,
|
|
108
|
-
},
|
|
109
|
-
1717: {
|
|
110
|
-
id: 1717,
|
|
111
|
-
quantity: 1,
|
|
112
|
-
price: 2,
|
|
113
|
-
productCategoryId: 1113,
|
|
114
|
-
hasDeposit: false,
|
|
115
|
-
nam: "Product 10",
|
|
116
|
-
deposit: 0,
|
|
117
|
-
},
|
|
35
|
+
price: 3,
|
|
36
|
+
productCategoryId: 216,
|
|
37
|
+
name: "test",
|
|
118
38
|
},
|
|
119
39
|
numberOfPeople: 1,
|
|
120
40
|
},
|
|
121
41
|
shouldHidePeopleAmount: true,
|
|
122
|
-
menuSteps: [
|
|
123
|
-
{
|
|
124
|
-
id: 955,
|
|
125
|
-
name: "Step 1",
|
|
126
|
-
productCategories: [
|
|
127
|
-
{
|
|
128
|
-
id: 821,
|
|
129
|
-
name: "deposits",
|
|
130
|
-
minSubItems: null,
|
|
131
|
-
maxSubItems: null,
|
|
132
|
-
type: "menuItems",
|
|
133
|
-
collectUserInfo: false,
|
|
134
|
-
isTimeRelated: false,
|
|
135
|
-
hasTicket: false,
|
|
136
|
-
hasSubEvents: false,
|
|
137
|
-
weight: 0,
|
|
138
|
-
isReusable: false,
|
|
139
|
-
menuStepId: 955,
|
|
140
|
-
remainderExpireAfter: 4,
|
|
141
|
-
zoneId: null,
|
|
142
|
-
sort: 0,
|
|
143
|
-
zone: {},
|
|
144
|
-
allowDeposits: true,
|
|
145
|
-
products: [
|
|
146
|
-
{
|
|
147
|
-
id: 1274,
|
|
148
|
-
productCategoryId: 821,
|
|
149
|
-
productGroupId: null,
|
|
150
|
-
name: "deposit 1",
|
|
151
|
-
description: "",
|
|
152
|
-
minSpend: null,
|
|
153
|
-
type: "sale",
|
|
154
|
-
capacity: null,
|
|
155
|
-
duration: null,
|
|
156
|
-
weight: 0,
|
|
157
|
-
isAvailable: true,
|
|
158
|
-
isRequired: false,
|
|
159
|
-
quantitySelector: 1,
|
|
160
|
-
hasSpecialNotes: false,
|
|
161
|
-
termsAndConditions: null,
|
|
162
|
-
subProducts: [],
|
|
163
|
-
images: [
|
|
164
|
-
{
|
|
165
|
-
id: 824,
|
|
166
|
-
imageableId: 1274,
|
|
167
|
-
imageableType: "product",
|
|
168
|
-
path: "images/original/000/000/000/000/824-3b3039714d7bb1fa.jpeg",
|
|
169
|
-
imageType: "image",
|
|
170
|
-
hash: "3b3039714d7bb1fa",
|
|
171
|
-
url: "https://cdn.lickli.st/YQKp7HjHgvfGSLKj3WXOmFYseUUeCcaC/images/original/000/000/000/000/824-3b3039714d7bb1fa.jpeg",
|
|
172
|
-
},
|
|
173
|
-
],
|
|
174
|
-
productCategory: null,
|
|
175
|
-
uuid: "46abf3fa-a7d8-4043-a09d-f7b4ea464cec",
|
|
176
|
-
subSlots: 0,
|
|
177
|
-
pause: 0,
|
|
178
|
-
offset: 0,
|
|
179
|
-
serviceTime: 0,
|
|
180
|
-
sort: 0,
|
|
181
|
-
isUnlimited: true,
|
|
182
|
-
minQuantity: 0,
|
|
183
|
-
maxQuantity: 0,
|
|
184
|
-
availableQuantity: null,
|
|
185
|
-
totalQuantity: 0,
|
|
186
|
-
price: 5,
|
|
187
|
-
minAmount: 0,
|
|
188
|
-
maxAmount: 0,
|
|
189
|
-
isSoldOut: false,
|
|
190
|
-
deposit: 3,
|
|
191
|
-
},
|
|
192
|
-
{
|
|
193
|
-
id: 1275,
|
|
194
|
-
productCategoryId: 821,
|
|
195
|
-
productGroupId: null,
|
|
196
|
-
name: "deposit 2",
|
|
197
|
-
description: "",
|
|
198
|
-
minSpend: null,
|
|
199
|
-
type: "sale",
|
|
200
|
-
capacity: null,
|
|
201
|
-
duration: null,
|
|
202
|
-
weight: 0,
|
|
203
|
-
isAvailable: true,
|
|
204
|
-
isRequired: false,
|
|
205
|
-
quantitySelector: 1,
|
|
206
|
-
hasSpecialNotes: false,
|
|
207
|
-
termsAndConditions: null,
|
|
208
|
-
subProducts: [],
|
|
209
|
-
images: [],
|
|
210
|
-
productCategory: null,
|
|
211
|
-
uuid: "f0182699-adf8-497c-b6c4-3d43bdee93e9",
|
|
212
|
-
subSlots: 0,
|
|
213
|
-
pause: 0,
|
|
214
|
-
offset: 0,
|
|
215
|
-
serviceTime: 0,
|
|
216
|
-
sort: 0,
|
|
217
|
-
isUnlimited: false,
|
|
218
|
-
minQuantity: 0,
|
|
219
|
-
maxQuantity: 0,
|
|
220
|
-
availableQuantity: 22222,
|
|
221
|
-
totalQuantity: 22222,
|
|
222
|
-
price: 10,
|
|
223
|
-
minAmount: 0,
|
|
224
|
-
maxAmount: 22222,
|
|
225
|
-
isSoldOut: false,
|
|
226
|
-
deposit: 4,
|
|
227
|
-
},
|
|
228
|
-
{
|
|
229
|
-
id: 1736,
|
|
230
|
-
productCategoryId: 821,
|
|
231
|
-
productGroupId: null,
|
|
232
|
-
name: "0 deposit",
|
|
233
|
-
description: "",
|
|
234
|
-
minSpend: null,
|
|
235
|
-
type: "sale",
|
|
236
|
-
capacity: 0,
|
|
237
|
-
duration: null,
|
|
238
|
-
weight: 0,
|
|
239
|
-
isAvailable: true,
|
|
240
|
-
isRequired: false,
|
|
241
|
-
quantitySelector: 1,
|
|
242
|
-
hasSpecialNotes: false,
|
|
243
|
-
termsAndConditions: null,
|
|
244
|
-
subProducts: [],
|
|
245
|
-
images: [],
|
|
246
|
-
productCategory: null,
|
|
247
|
-
uuid: "8d65e23e-65f0-4028-941a-755a68ecfdee",
|
|
248
|
-
subSlots: 0,
|
|
249
|
-
pause: 0,
|
|
250
|
-
offset: 0,
|
|
251
|
-
serviceTime: 0,
|
|
252
|
-
sort: 0,
|
|
253
|
-
isUnlimited: true,
|
|
254
|
-
minQuantity: 0,
|
|
255
|
-
maxQuantity: 0,
|
|
256
|
-
availableQuantity: null,
|
|
257
|
-
totalQuantity: 0,
|
|
258
|
-
price: 4,
|
|
259
|
-
minAmount: 0,
|
|
260
|
-
maxAmount: 0,
|
|
261
|
-
isSoldOut: false,
|
|
262
|
-
deposit: 0,
|
|
263
|
-
},
|
|
264
|
-
],
|
|
265
|
-
},
|
|
266
|
-
],
|
|
267
|
-
},
|
|
268
|
-
{
|
|
269
|
-
id: 1182,
|
|
270
|
-
name: "Step 2",
|
|
271
|
-
productCategories: [
|
|
272
|
-
{
|
|
273
|
-
id: 1113,
|
|
274
|
-
name: "Test",
|
|
275
|
-
minSubItems: 0,
|
|
276
|
-
maxSubItems: 12,
|
|
277
|
-
type: "tickets",
|
|
278
|
-
collectUserInfo: false,
|
|
279
|
-
isTimeRelated: false,
|
|
280
|
-
hasTicket: true,
|
|
281
|
-
hasSubEvents: false,
|
|
282
|
-
weight: 0,
|
|
283
|
-
isReusable: false,
|
|
284
|
-
menuStepId: 1182,
|
|
285
|
-
zoneId: null,
|
|
286
|
-
sort: 0,
|
|
287
|
-
zone: {},
|
|
288
|
-
allowDeposits: false,
|
|
289
|
-
products: [
|
|
290
|
-
{
|
|
291
|
-
id: 1703,
|
|
292
|
-
productCategoryId: 1113,
|
|
293
|
-
productGroupId: null,
|
|
294
|
-
name: "Test prod",
|
|
295
|
-
description: "",
|
|
296
|
-
minSpend: null,
|
|
297
|
-
type: "sale",
|
|
298
|
-
capacity: 0,
|
|
299
|
-
duration: null,
|
|
300
|
-
weight: 0,
|
|
301
|
-
isAvailable: true,
|
|
302
|
-
isRequired: false,
|
|
303
|
-
quantitySelector: 1,
|
|
304
|
-
hasSpecialNotes: false,
|
|
305
|
-
termsAndConditions: null,
|
|
306
|
-
subProducts: [],
|
|
307
|
-
images: [],
|
|
308
|
-
productCategory: null,
|
|
309
|
-
uuid: "1bc542ee-d998-4699-9889-5e8e16e52bb2",
|
|
310
|
-
subSlots: 0,
|
|
311
|
-
pause: 0,
|
|
312
|
-
offset: 0,
|
|
313
|
-
serviceTime: 0,
|
|
314
|
-
sort: 0,
|
|
315
|
-
isUnlimited: false,
|
|
316
|
-
minQuantity: 1,
|
|
317
|
-
maxQuantity: 12,
|
|
318
|
-
availableQuantity: 21,
|
|
319
|
-
totalQuantity: 21,
|
|
320
|
-
price: 2,
|
|
321
|
-
minAmount: 1,
|
|
322
|
-
maxAmount: 12,
|
|
323
|
-
isSoldOut: false,
|
|
324
|
-
deposit: 0,
|
|
325
|
-
},
|
|
326
|
-
{
|
|
327
|
-
id: 1711,
|
|
328
|
-
productCategoryId: 1113,
|
|
329
|
-
productGroupId: null,
|
|
330
|
-
name: "Product 4",
|
|
331
|
-
description: "",
|
|
332
|
-
minSpend: null,
|
|
333
|
-
type: "sale",
|
|
334
|
-
capacity: 0,
|
|
335
|
-
duration: null,
|
|
336
|
-
weight: 0,
|
|
337
|
-
isAvailable: true,
|
|
338
|
-
isRequired: false,
|
|
339
|
-
quantitySelector: 1,
|
|
340
|
-
hasSpecialNotes: false,
|
|
341
|
-
termsAndConditions: null,
|
|
342
|
-
subProducts: [],
|
|
343
|
-
images: [],
|
|
344
|
-
productCategory: null,
|
|
345
|
-
uuid: "52b40cf2-b0aa-4dac-b8c7-900d722f0010",
|
|
346
|
-
subSlots: 0,
|
|
347
|
-
pause: 0,
|
|
348
|
-
offset: 0,
|
|
349
|
-
serviceTime: 0,
|
|
350
|
-
sort: 0,
|
|
351
|
-
isUnlimited: true,
|
|
352
|
-
minQuantity: 0,
|
|
353
|
-
maxQuantity: 0,
|
|
354
|
-
availableQuantity: null,
|
|
355
|
-
totalQuantity: 0,
|
|
356
|
-
price: 2,
|
|
357
|
-
minAmount: 0,
|
|
358
|
-
maxAmount: 0,
|
|
359
|
-
isSoldOut: false,
|
|
360
|
-
deposit: 0,
|
|
361
|
-
},
|
|
362
|
-
{
|
|
363
|
-
id: 1712,
|
|
364
|
-
productCategoryId: 1113,
|
|
365
|
-
productGroupId: null,
|
|
366
|
-
name: "Product 5",
|
|
367
|
-
description: "",
|
|
368
|
-
minSpend: null,
|
|
369
|
-
type: "sale",
|
|
370
|
-
capacity: 0,
|
|
371
|
-
duration: null,
|
|
372
|
-
weight: 0,
|
|
373
|
-
isAvailable: true,
|
|
374
|
-
isRequired: false,
|
|
375
|
-
quantitySelector: 1,
|
|
376
|
-
hasSpecialNotes: false,
|
|
377
|
-
termsAndConditions: null,
|
|
378
|
-
subProducts: [],
|
|
379
|
-
images: [],
|
|
380
|
-
productCategory: null,
|
|
381
|
-
uuid: "f5410c89-afa0-4010-9386-cf3f630f74f0",
|
|
382
|
-
subSlots: 0,
|
|
383
|
-
pause: 0,
|
|
384
|
-
offset: 0,
|
|
385
|
-
serviceTime: 0,
|
|
386
|
-
sort: 0,
|
|
387
|
-
isUnlimited: true,
|
|
388
|
-
minQuantity: 0,
|
|
389
|
-
maxQuantity: 0,
|
|
390
|
-
availableQuantity: null,
|
|
391
|
-
totalQuantity: 0,
|
|
392
|
-
price: 4,
|
|
393
|
-
minAmount: 0,
|
|
394
|
-
maxAmount: 0,
|
|
395
|
-
isSoldOut: false,
|
|
396
|
-
deposit: 0,
|
|
397
|
-
},
|
|
398
|
-
{
|
|
399
|
-
id: 1713,
|
|
400
|
-
productCategoryId: 1113,
|
|
401
|
-
productGroupId: null,
|
|
402
|
-
name: "Product 6",
|
|
403
|
-
description: "",
|
|
404
|
-
minSpend: null,
|
|
405
|
-
type: "sale",
|
|
406
|
-
capacity: 0,
|
|
407
|
-
duration: null,
|
|
408
|
-
weight: 0,
|
|
409
|
-
isAvailable: true,
|
|
410
|
-
isRequired: false,
|
|
411
|
-
quantitySelector: 1,
|
|
412
|
-
hasSpecialNotes: false,
|
|
413
|
-
termsAndConditions: null,
|
|
414
|
-
subProducts: [],
|
|
415
|
-
images: [],
|
|
416
|
-
productCategory: null,
|
|
417
|
-
uuid: "4539eb35-17a4-4270-8569-5b9ad87354b7",
|
|
418
|
-
subSlots: 0,
|
|
419
|
-
pause: 0,
|
|
420
|
-
offset: 0,
|
|
421
|
-
serviceTime: 0,
|
|
422
|
-
sort: 0,
|
|
423
|
-
isUnlimited: true,
|
|
424
|
-
minQuantity: 0,
|
|
425
|
-
maxQuantity: 0,
|
|
426
|
-
availableQuantity: null,
|
|
427
|
-
totalQuantity: 0,
|
|
428
|
-
price: 1,
|
|
429
|
-
minAmount: 0,
|
|
430
|
-
maxAmount: 0,
|
|
431
|
-
isSoldOut: false,
|
|
432
|
-
deposit: 0,
|
|
433
|
-
},
|
|
434
|
-
{
|
|
435
|
-
id: 1714,
|
|
436
|
-
productCategoryId: 1113,
|
|
437
|
-
productGroupId: null,
|
|
438
|
-
name: "Product 7",
|
|
439
|
-
description: "",
|
|
440
|
-
minSpend: null,
|
|
441
|
-
type: "sale",
|
|
442
|
-
capacity: 0,
|
|
443
|
-
duration: null,
|
|
444
|
-
weight: 0,
|
|
445
|
-
isAvailable: true,
|
|
446
|
-
isRequired: false,
|
|
447
|
-
quantitySelector: 1,
|
|
448
|
-
hasSpecialNotes: false,
|
|
449
|
-
termsAndConditions: null,
|
|
450
|
-
subProducts: [],
|
|
451
|
-
images: [],
|
|
452
|
-
productCategory: null,
|
|
453
|
-
uuid: "aa40d36f-dd17-4604-86d5-5eb331944fc0",
|
|
454
|
-
subSlots: 0,
|
|
455
|
-
pause: 0,
|
|
456
|
-
offset: 0,
|
|
457
|
-
serviceTime: 0,
|
|
458
|
-
sort: 0,
|
|
459
|
-
isUnlimited: true,
|
|
460
|
-
minQuantity: 0,
|
|
461
|
-
maxQuantity: 0,
|
|
462
|
-
availableQuantity: null,
|
|
463
|
-
totalQuantity: 0,
|
|
464
|
-
price: 2,
|
|
465
|
-
minAmount: 0,
|
|
466
|
-
maxAmount: 0,
|
|
467
|
-
isSoldOut: false,
|
|
468
|
-
deposit: 0,
|
|
469
|
-
},
|
|
470
|
-
{
|
|
471
|
-
id: 1715,
|
|
472
|
-
productCategoryId: 1113,
|
|
473
|
-
productGroupId: null,
|
|
474
|
-
name: "Product 8",
|
|
475
|
-
description: "",
|
|
476
|
-
minSpend: null,
|
|
477
|
-
type: "sale",
|
|
478
|
-
capacity: 0,
|
|
479
|
-
duration: null,
|
|
480
|
-
weight: 0,
|
|
481
|
-
isAvailable: true,
|
|
482
|
-
isRequired: false,
|
|
483
|
-
quantitySelector: 1,
|
|
484
|
-
hasSpecialNotes: false,
|
|
485
|
-
termsAndConditions: null,
|
|
486
|
-
subProducts: [],
|
|
487
|
-
images: [],
|
|
488
|
-
productCategory: null,
|
|
489
|
-
uuid: "160849ed-f058-4102-845c-00fdae702d7d",
|
|
490
|
-
subSlots: 0,
|
|
491
|
-
pause: 0,
|
|
492
|
-
offset: 0,
|
|
493
|
-
serviceTime: 0,
|
|
494
|
-
sort: 0,
|
|
495
|
-
isUnlimited: true,
|
|
496
|
-
minQuantity: 0,
|
|
497
|
-
maxQuantity: 0,
|
|
498
|
-
availableQuantity: null,
|
|
499
|
-
totalQuantity: 0,
|
|
500
|
-
price: 3,
|
|
501
|
-
minAmount: 0,
|
|
502
|
-
maxAmount: 0,
|
|
503
|
-
isSoldOut: false,
|
|
504
|
-
deposit: 0,
|
|
505
|
-
},
|
|
506
|
-
{
|
|
507
|
-
id: 1716,
|
|
508
|
-
productCategoryId: 1113,
|
|
509
|
-
productGroupId: null,
|
|
510
|
-
name: "Product 9",
|
|
511
|
-
description: "",
|
|
512
|
-
minSpend: null,
|
|
513
|
-
type: "sale",
|
|
514
|
-
capacity: 0,
|
|
515
|
-
duration: null,
|
|
516
|
-
weight: 0,
|
|
517
|
-
isAvailable: true,
|
|
518
|
-
isRequired: false,
|
|
519
|
-
quantitySelector: 1,
|
|
520
|
-
hasSpecialNotes: false,
|
|
521
|
-
termsAndConditions: null,
|
|
522
|
-
subProducts: [],
|
|
523
|
-
images: [],
|
|
524
|
-
productCategory: null,
|
|
525
|
-
uuid: "934ad342-9f08-4f40-b814-9f74a56e9a58",
|
|
526
|
-
subSlots: 0,
|
|
527
|
-
pause: 0,
|
|
528
|
-
offset: 0,
|
|
529
|
-
serviceTime: 0,
|
|
530
|
-
sort: 0,
|
|
531
|
-
isUnlimited: true,
|
|
532
|
-
minQuantity: 0,
|
|
533
|
-
maxQuantity: 0,
|
|
534
|
-
availableQuantity: null,
|
|
535
|
-
totalQuantity: 0,
|
|
536
|
-
price: 6,
|
|
537
|
-
minAmount: 0,
|
|
538
|
-
maxAmount: 0,
|
|
539
|
-
isSoldOut: false,
|
|
540
|
-
deposit: 0,
|
|
541
|
-
},
|
|
542
|
-
{
|
|
543
|
-
id: 1717,
|
|
544
|
-
productCategoryId: 1113,
|
|
545
|
-
productGroupId: null,
|
|
546
|
-
name: "Product 10",
|
|
547
|
-
description: "",
|
|
548
|
-
minSpend: null,
|
|
549
|
-
type: "sale",
|
|
550
|
-
capacity: 0,
|
|
551
|
-
duration: null,
|
|
552
|
-
weight: 0,
|
|
553
|
-
isAvailable: true,
|
|
554
|
-
isRequired: false,
|
|
555
|
-
quantitySelector: 1,
|
|
556
|
-
hasSpecialNotes: false,
|
|
557
|
-
termsAndConditions: null,
|
|
558
|
-
subProducts: [],
|
|
559
|
-
images: [],
|
|
560
|
-
productCategory: null,
|
|
561
|
-
uuid: "9c00e536-4e57-43ef-8b50-8552b0f5181c",
|
|
562
|
-
subSlots: 0,
|
|
563
|
-
pause: 0,
|
|
564
|
-
offset: 0,
|
|
565
|
-
serviceTime: 0,
|
|
566
|
-
sort: 0,
|
|
567
|
-
isUnlimited: true,
|
|
568
|
-
minQuantity: 0,
|
|
569
|
-
maxQuantity: 0,
|
|
570
|
-
availableQuantity: null,
|
|
571
|
-
totalQuantity: 0,
|
|
572
|
-
price: 2,
|
|
573
|
-
minAmount: 0,
|
|
574
|
-
maxAmount: 0,
|
|
575
|
-
isSoldOut: false,
|
|
576
|
-
deposit: 0,
|
|
577
|
-
},
|
|
578
|
-
],
|
|
579
|
-
},
|
|
580
|
-
],
|
|
581
|
-
},
|
|
582
|
-
],
|
|
42
|
+
menuSteps: [],
|
|
583
43
|
},
|
|
584
44
|
};
|
|
@@ -13,10 +13,9 @@ import {
|
|
|
13
13
|
RyftPaymentFormProps,
|
|
14
14
|
} from "../../ryft/RyftPaymentForm";
|
|
15
15
|
import { PaymentTimer } from "./PaymentTimer";
|
|
16
|
-
import { Page, PageBody } from "../../page";
|
|
17
|
-
import { BookingSummary } from "../../order-process";
|
|
16
|
+
import { Page, PageBody, PageHeader } from "../../page";
|
|
17
|
+
import { BookingSummary, BookingSummaryFooter } from "../../order-process";
|
|
18
18
|
import { cartSumByOrderProducts } from "../../order-process/components/BookingSummary/utils";
|
|
19
|
-
import { PAYMENT_LINK_PAGE_BODY } from "../../page/components/PageBody/constants";
|
|
20
19
|
|
|
21
20
|
export interface PaymentMetadata {
|
|
22
21
|
total: number;
|
|
@@ -45,7 +44,6 @@ export const PaymentPage = ({
|
|
|
45
44
|
const { search } = useLocation();
|
|
46
45
|
|
|
47
46
|
const { isPaymentSessionExpired } = useContext(PaymentSessionContext);
|
|
48
|
-
|
|
49
47
|
const isIframePayment = Boolean(
|
|
50
48
|
new URLSearchParams(search).get("isIframePayment")
|
|
51
49
|
);
|
|
@@ -55,10 +53,9 @@ export const PaymentPage = ({
|
|
|
55
53
|
window.location.href = "https://booked.it/";
|
|
56
54
|
};
|
|
57
55
|
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
// };
|
|
56
|
+
const onGoBack = () => {
|
|
57
|
+
window.close();
|
|
58
|
+
};
|
|
62
59
|
|
|
63
60
|
useEffect(() => {
|
|
64
61
|
if (!isIframePayment || !onCloseIframePayment) {
|
|
@@ -116,41 +113,32 @@ export const PaymentPage = ({
|
|
|
116
113
|
orderTotalAmountByFormValues > data?.amount;
|
|
117
114
|
|
|
118
115
|
return (
|
|
119
|
-
<Page
|
|
120
|
-
|
|
121
|
-
{
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
116
|
+
<Page
|
|
117
|
+
className="payment_link"
|
|
118
|
+
headerBlock={
|
|
119
|
+
<PageHeader
|
|
120
|
+
showBackButton={isIframePayment}
|
|
121
|
+
onBackButtonClick={isIframePayment ? onGoBack : undefined}
|
|
122
|
+
showCloseButton={isIframePayment}
|
|
123
|
+
onCloseButtonClick={isIframePayment ? onGoBack : undefined}
|
|
124
|
+
>
|
|
125
|
+
<PaymentTimer />
|
|
126
|
+
<div className="d-flex align-items-center justify-content-center w-100">
|
|
127
|
+
{t("paymentDetails")}
|
|
128
|
+
</div>
|
|
129
|
+
</PageHeader>
|
|
130
|
+
}
|
|
131
|
+
>
|
|
128
132
|
<PageBody
|
|
129
|
-
id={PAYMENT_LINK_PAGE_BODY}
|
|
130
133
|
leftBlock={
|
|
131
134
|
<PageBody.LeftBlock>
|
|
132
|
-
<div className="d-flex align-items-center mb-5">
|
|
133
|
-
<PaymentTimer />
|
|
134
|
-
</div>
|
|
135
135
|
<RyftPaymentForm {...ryftPaymentFormProps} />
|
|
136
136
|
</PageBody.LeftBlock>
|
|
137
137
|
}
|
|
138
138
|
rightBlock={
|
|
139
|
-
<PageBody.RightBlock
|
|
140
|
-
|
|
141
|
-
{
|
|
142
|
-
isPaymentPage
|
|
143
|
-
headerComponent={
|
|
144
|
-
<SummaryTotalBlock
|
|
145
|
-
amount={
|
|
146
|
-
paymentMetadata
|
|
147
|
-
? paymentMetadata.total
|
|
148
|
-
: orderTotalAmountByFormValues +
|
|
149
|
-
(bookingSummaryProps?.transactionFee || 0)
|
|
150
|
-
}
|
|
151
|
-
/>
|
|
152
|
-
}
|
|
153
|
-
footer={
|
|
139
|
+
<PageBody.RightBlock
|
|
140
|
+
bottomBlock={
|
|
141
|
+
<BookingSummaryFooter showButton={false}>
|
|
154
142
|
<div className="d-flex flex-column justify-content-between">
|
|
155
143
|
{paymentMetadata ? (
|
|
156
144
|
<>
|
|
@@ -195,8 +183,11 @@ export const PaymentPage = ({
|
|
|
195
183
|
</>
|
|
196
184
|
)}
|
|
197
185
|
</div>
|
|
198
|
-
|
|
199
|
-
|
|
186
|
+
</BookingSummaryFooter>
|
|
187
|
+
}
|
|
188
|
+
>
|
|
189
|
+
<h6>{t("paymentDetails")}</h6>
|
|
190
|
+
<BookingSummary {...bookingSummaryProps} />
|
|
200
191
|
</PageBody.RightBlock>
|
|
201
192
|
}
|
|
202
193
|
/>
|