123
This commit is contained in:
@@ -8,9 +8,29 @@ INSERT INTO `buchungen`
|
||||
)
|
||||
VALUES
|
||||
(
|
||||
{{ appsmith.store.bookingFormData.seatId }},
|
||||
{{ appsmith.store.bookingFormData.title }},
|
||||
{{ appsmith.store.bookingFormData.startDateTime }},
|
||||
{{ appsmith.store.bookingFormData.endDateTime }},
|
||||
{{ appsmith.store.bookingFormData.bookedBy }}
|
||||
{{
|
||||
appsmith.store.bookingFormData?.seatId ||
|
||||
appsmith.store.selectedSeatId
|
||||
}},
|
||||
|
||||
{{
|
||||
appsmith.store.bookingFormData?.title ||
|
||||
"Platzbuchung"
|
||||
}},
|
||||
|
||||
{{
|
||||
appsmith.store.bookingFormData?.allDay === true
|
||||
? appsmith.store.bookingFormData.startDate + " 00:00:00"
|
||||
: appsmith.store.bookingFormData.startDateTime
|
||||
}},
|
||||
|
||||
{{
|
||||
appsmith.store.bookingFormData?.allDay === true
|
||||
? appsmith.store.bookingFormData.endDate + " 23:59:59"
|
||||
: appsmith.store.bookingFormData.endDateTime
|
||||
}},
|
||||
|
||||
{{
|
||||
appsmith.store.bookingFormData?.bookedBy
|
||||
}}
|
||||
);
|
||||
@@ -5,7 +5,7 @@
|
||||
"pluginType": "DB",
|
||||
"unpublishedAction": {
|
||||
"actionConfiguration": {
|
||||
"body": "INSERT INTO `buchungen`\n(\n `platz_id`,\n `titel`,\n `startzeit`,\n `endzeit`,\n `gebucht_von`\n)\nVALUES\n(\n {{ appsmith.store.bookingFormData.seatId }},\n {{ appsmith.store.bookingFormData.title }},\n {{ appsmith.store.bookingFormData.startDateTime }},\n {{ appsmith.store.bookingFormData.endDateTime }},\n {{ appsmith.store.bookingFormData.bookedBy }}\n);",
|
||||
"body": "INSERT INTO `buchungen`\n(\n `platz_id`,\n `titel`,\n `startzeit`,\n `endzeit`,\n `gebucht_von`\n)\nVALUES\n(\n {{\n appsmith.store.bookingFormData?.seatId ||\n appsmith.store.selectedSeatId\n }},\n\n {{\n appsmith.store.bookingFormData?.title ||\n \"Platzbuchung\"\n }},\n\n {{\n appsmith.store.bookingFormData?.allDay === true\n ? appsmith.store.bookingFormData.startDate + \" 00:00:00\"\n : appsmith.store.bookingFormData.startDateTime\n }},\n\n {{\n appsmith.store.bookingFormData?.allDay === true\n ? appsmith.store.bookingFormData.endDate + \" 23:59:59\"\n : appsmith.store.bookingFormData.endDateTime\n }},\n\n {{\n appsmith.store.bookingFormData?.bookedBy\n }}\n);",
|
||||
"encodeParamsToggle": true,
|
||||
"paginationType": "NONE",
|
||||
"pluginSpecifiedTemplates": [
|
||||
|
||||
Reference in New Issue
Block a user