Support oft parent groups
This commit is contained in:
@@ -15,6 +15,7 @@
|
||||
'eventIban': String,
|
||||
"eventPayPerDay": Boolean,
|
||||
"participationFeeType": String,
|
||||
"participantGroupTypes": {type: Array, default: () => []},
|
||||
})
|
||||
|
||||
const errors = reactive({})
|
||||
@@ -35,6 +36,7 @@
|
||||
eventIban: props.eventIban ? props.eventIban : '',
|
||||
eventPayPerDay: props.eventPayPerDay ? props.eventPayPerDay : false,
|
||||
eventParticipationFeeType: props.participationFeeType ? props.participationFeeType : 'fixed',
|
||||
eventParticipantGroupType: 'local_group',
|
||||
});
|
||||
|
||||
watch(
|
||||
@@ -159,6 +161,7 @@
|
||||
eventIban: formData.eventIban,
|
||||
eventPayPerDay: formData.eventPayPerDay,
|
||||
eventParticipationFeeType: formData.eventParticipationFeeType,
|
||||
eventParticipantGroupType: formData.eventParticipantGroupType,
|
||||
}
|
||||
});
|
||||
|
||||
@@ -256,6 +259,15 @@
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr style="vertical-align: top;">
|
||||
<th class="width-medium pr-20 height-50">Bei der Anmeldung abfragen</th>
|
||||
<td class="height-50">
|
||||
<select v-model="formData.eventParticipantGroupType" class="width-half-full">
|
||||
<option v-for="type in props.participantGroupTypes" :key="type.value" :value="type.value">{{ type.label }}</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
||||
<tr style="vertical-align: top;">
|
||||
<th class="width-medium pr-20 height-50">Preiserhöhung nach Early-Bird-Phase</th>
|
||||
|
||||
Reference in New Issue
Block a user