diff --git a/pages/Sitzplätze/widgets/Platzbuchung/AllDayCheckbox.json b/pages/Sitzplätze/widgets/Platzbuchung/AllDayCheckbox.json index a638804..0f12715 100644 --- a/pages/Sitzplätze/widgets/Platzbuchung/AllDayCheckbox.json +++ b/pages/Sitzplätze/widgets/Platzbuchung/AllDayCheckbox.json @@ -3,7 +3,7 @@ "alignWidget": "LEFT", "animateLoading": true, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "bottomRow": 38, + "bottomRow": 18, "defaultCheckedState": true, "dynamicBindingPathList": [ { @@ -27,7 +27,7 @@ "key": "qvkdps07r4", "label": "Ganztägig", "labelPosition": "Right", - "leftColumn": 1, + "leftColumn": 24, "maxDynamicHeight": 9000, "minDynamicHeight": 4, "minWidth": 450, @@ -44,8 +44,8 @@ "parentRowSpace": 10, "renderMode": "CANVAS", "responsiveBehavior": "fill", - "rightColumn": 43, - "topRow": 34, + "rightColumn": 63, + "topRow": 14, "type": "CHECKBOX_WIDGET", "version": 1, "widgetId": "ahhin3wdnq", diff --git a/pages/Sitzplätze/widgets/Platzbuchung/BookingEndDate.json b/pages/Sitzplätze/widgets/Platzbuchung/BookingEndDate.json index b0c7646..0b62464 100644 --- a/pages/Sitzplätze/widgets/Platzbuchung/BookingEndDate.json +++ b/pages/Sitzplätze/widgets/Platzbuchung/BookingEndDate.json @@ -2,7 +2,7 @@ "accentColor": "{{appsmith.theme.colors.primaryColor}}", "animateLoading": true, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "bottomRow": 26, + "bottomRow": 27, "boxShadow": "none", "closeOnSelection": true, "dateFormat": "D MMMM, YYYY", @@ -48,7 +48,7 @@ "rightColumn": 22, "shortcuts": false, "timePrecision": "None", - "topRow": 19, + "topRow": 20, "type": "DATE_PICKER_WIDGET2", "version": 2, "widgetId": "k0y272smyy", diff --git a/pages/Sitzplätze/widgets/Platzbuchung/BookingEndTime.json b/pages/Sitzplätze/widgets/Platzbuchung/BookingEndTime.json index 846ca55..059a509 100644 --- a/pages/Sitzplätze/widgets/Platzbuchung/BookingEndTime.json +++ b/pages/Sitzplätze/widgets/Platzbuchung/BookingEndTime.json @@ -2,7 +2,7 @@ "accentColor": "{{appsmith.theme.colors.primaryColor}}", "animateLoading": true, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "bottomRow": 18, + "bottomRow": 27, "boxShadow": "none", "defaultOptionValue": "GREEN", "dynamicBindingPathList": [ @@ -14,16 +14,22 @@ }, { "key": "sourceData" + }, + { + "key": "isDisabled" } ], "dynamicHeight": "FIXED", "dynamicPropertyPathList": [ { "key": "sourceData" + }, + { + "key": "isDisabled" } ], "dynamicTriggerPathList": [], - "isDisabled": false, + "isDisabled": "{{ AllDayCheckbox.isChecked }}", "isFilterable": false, "isLoading": false, "isRequired": false, @@ -54,7 +60,7 @@ "rightColumn": 53, "serverSideFiltering": false, "sourceData": "{{\n [\n { label: \"07:30\", value: \"07:30\" },\n { label: \"08:00\", value: \"08:00\" },\n { label: \"08:30\", value: \"08:30\" },\n { label: \"09:00\", value: \"09:00\" },\n { label: \"09:30\", value: \"09:30\" },\n { label: \"10:00\", value: \"10:00\" },\n { label: \"10:30\", value: \"10:30\" },\n { label: \"11:00\", value: \"11:00\" },\n { label: \"11:30\", value: \"11:30\" },\n { label: \"12:00\", value: \"12:00\" },\n { label: \"12:30\", value: \"12:30\" },\n { label: \"13:00\", value: \"13:00\" },\n { label: \"13:30\", value: \"13:30\" },\n { label: \"14:00\", value: \"14:00\" },\n { label: \"14:30\", value: \"14:30\" },\n { label: \"15:00\", value: \"15:00\" },\n { label: \"15:30\", value: \"15:30\" },\n { label: \"16:00\", value: \"16:00\" },\n { label: \"16:30\", value: \"16:30\" },\n { label: \"17:00\", value: \"17:00\" },\n { label: \"17:30\", value: \"17:30\" },\n { label: \"18:00\", value: \"18:00\" }\n ].filter(option => {\n const start =\n BookingStartTime.selectedOptionValue ||\n \"07:00\";\n\n return option.value > start;\n })\n}}", - "topRow": 11, + "topRow": 20, "type": "SELECT_WIDGET", "version": 1, "widgetId": "ffcw6h9yvt", diff --git a/pages/Sitzplätze/widgets/Platzbuchung/BookingStartDate.json b/pages/Sitzplätze/widgets/Platzbuchung/BookingStartDate.json index fdda037..4c46d1f 100644 --- a/pages/Sitzplätze/widgets/Platzbuchung/BookingStartDate.json +++ b/pages/Sitzplätze/widgets/Platzbuchung/BookingStartDate.json @@ -2,7 +2,7 @@ "accentColor": "{{appsmith.theme.colors.primaryColor}}", "animateLoading": true, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "bottomRow": 18, + "bottomRow": 20, "boxShadow": "none", "closeOnSelection": true, "dateFormat": "D MMMM, YYYY", @@ -48,7 +48,7 @@ "rightColumn": 22, "shortcuts": false, "timePrecision": "None", - "topRow": 11, + "topRow": 12, "type": "DATE_PICKER_WIDGET2", "version": 2, "widgetId": "7g7p1jdnt1", diff --git a/pages/Sitzplätze/widgets/Platzbuchung/BookingStartTime.json b/pages/Sitzplätze/widgets/Platzbuchung/BookingStartTime.json index 6cd3cab..5cefde6 100644 --- a/pages/Sitzplätze/widgets/Platzbuchung/BookingStartTime.json +++ b/pages/Sitzplätze/widgets/Platzbuchung/BookingStartTime.json @@ -2,7 +2,7 @@ "accentColor": "{{appsmith.theme.colors.primaryColor}}", "animateLoading": true, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "bottomRow": 18, + "bottomRow": 27, "boxShadow": "none", "defaultOptionValue": "GREEN", "dynamicBindingPathList": [ @@ -14,16 +14,22 @@ }, { "key": "sourceData" + }, + { + "key": "isDisabled" } ], "dynamicHeight": "FIXED", "dynamicPropertyPathList": [ { "key": "sourceData" + }, + { + "key": "isDisabled" } ], "dynamicTriggerPathList": [], - "isDisabled": false, + "isDisabled": "{{ AllDayCheckbox.isChecked }}", "isFilterable": false, "isLoading": false, "isRequired": false, @@ -34,7 +40,7 @@ "labelText": "Startzeit", "labelTextSize": "0.875rem", "labelWidth": 5, - "leftColumn": 25, + "leftColumn": 24, "maxDynamicHeight": 9000, "minDynamicHeight": 4, "minWidth": 450, @@ -51,10 +57,10 @@ "placeholderText": "Select option", "renderMode": "CANVAS", "responsiveBehavior": "fill", - "rightColumn": 39, + "rightColumn": 38, "serverSideFiltering": false, "sourceData": "{{\n [\n { label: \"07:00\", value: \"07:00\" },\n { label: \"07:30\", value: \"07:30\" },\n { label: \"08:00\", value: \"08:00\" },\n { label: \"08:30\", value: \"08:30\" },\n { label: \"09:00\", value: \"09:00\" },\n { label: \"09:30\", value: \"09:30\" },\n { label: \"10:00\", value: \"10:00\" },\n { label: \"10:30\", value: \"10:30\" },\n { label: \"11:00\", value: \"11:00\" },\n { label: \"11:30\", value: \"11:30\" },\n { label: \"12:00\", value: \"12:00\" },\n { label: \"12:30\", value: \"12:30\" },\n { label: \"13:00\", value: \"13:00\" },\n { label: \"13:30\", value: \"13:30\" },\n { label: \"14:00\", value: \"14:00\" },\n { label: \"14:30\", value: \"14:30\" },\n { label: \"15:00\", value: \"15:00\" },\n { label: \"15:30\", value: \"15:30\" },\n { label: \"16:00\", value: \"16:00\" },\n { label: \"16:30\", value: \"16:30\" },\n { label: \"17:00\", value: \"17:00\" },\n { label: \"17:30\", value: \"17:30\" }\n ]\n}}", - "topRow": 11, + "topRow": 20, "type": "SELECT_WIDGET", "version": 1, "widgetId": "u53n2l4s54", diff --git a/pages/Sitzplätze/widgets/Platzbuchung/ConfirmBookingButton.json b/pages/Sitzplätze/widgets/Platzbuchung/ConfirmBookingButton.json index 8dd0ab3..e145db0 100644 --- a/pages/Sitzplätze/widgets/Platzbuchung/ConfirmBookingButton.json +++ b/pages/Sitzplätze/widgets/Platzbuchung/ConfirmBookingButton.json @@ -37,7 +37,7 @@ "mobileRightColumn": 63, "mobileTopRow": 18, "needsErrorInfo": false, - "onClick": "{{\n CreateBooking\n .run()\n .then(() => {\n return closeModal(\n \"Platzbuchung\"\n );\n })\n .then(() => {\n return GetSeatBookings.run();\n })\n .catch((error) => {\n showAlert(\n \"Die Buchung konnte nicht gespeichert werden.\",\n \"error\"\n );\n\n console.error(\n \"CreateBooking fehlgeschlagen:\",\n error\n );\n });\n}}", + "onClick": "{{\n CreateBooking\n .run()\n .then(() => {\n return closeModal(\n \"Platzbuchung\"\n );\n })\n .then(() => {\n return GetSeatBookings.run();\n })\n .catch((error) => {\n console.error(\n \"Buchung fehlgeschlagen:\",\n error\n );\n\n showAlert(\n \"Die Buchung konnte nicht gespeichert werden.\",\n \"error\"\n );\n });\n}}", "originalBottomRow": 40, "originalTopRow": 36, "parentId": "q44lz1f0e4", diff --git a/pages/Sitzplätze/widgets/Platzbuchung/Text2.json b/pages/Sitzplätze/widgets/Platzbuchung/Text2.json index a6c20e8..2c405f5 100644 --- a/pages/Sitzplätze/widgets/Platzbuchung/Text2.json +++ b/pages/Sitzplätze/widgets/Platzbuchung/Text2.json @@ -11,6 +11,9 @@ }, { "key": "borderRadius" + }, + { + "key": "text" } ], "dynamicHeight": "AUTO_HEIGHT", @@ -40,7 +43,7 @@ "responsiveBehavior": "fill", "rightColumn": 17, "shouldTruncate": false, - "text": "*Platz*", + "text": "{{\n appsmith.store.bookingFormData?.seatName ||\n \"Kein Platz ausgewählt\"\n}}", "textAlign": "LEFT", "textColor": "#231F20", "topRow": 6,