Reduction of amount for siblings implemented
This commit is contained in:
@@ -38,9 +38,12 @@
|
||||
"pft_4_description": props.event.participationFee_4.description,
|
||||
|
||||
'maxAmount': props.event.maxAmount,
|
||||
'sibling_reduction': props.event.siblingReduction,
|
||||
|
||||
})
|
||||
|
||||
console.log(formData)
|
||||
|
||||
function validateInput() {
|
||||
var noErrors = true;
|
||||
|
||||
@@ -103,6 +106,7 @@
|
||||
pft_4_description: formData.pft_4_description,
|
||||
|
||||
maxAmount: formData.maxAmount,
|
||||
sibling_reduction: formData.sibling_reduction,
|
||||
}
|
||||
})
|
||||
|
||||
@@ -277,7 +281,14 @@
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td colspan="4">
|
||||
<td colspan="2">
|
||||
<input type="checkbox" v-model="formData.sibling_reduction" id="sibling_reduction" :checked="formData.sibling_reduction" />
|
||||
<label for="sibling_reduction">50% Preisnachlass für Geschwisterkinder gewähren</label>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td colspan="4" style="padding-top: 20px;">
|
||||
<input type="button" value="Speichern" @click="saveParticipationFees" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
Reference in New Issue
Block a user