deutschNote and MatheNote replaced with noteDeutsch und noteMathe
This commit is contained in:
@@ -27,8 +27,8 @@
|
||||
|
||||
let fileInputKey = 0;
|
||||
let pdfDatein = [];
|
||||
let deutschNote = '';
|
||||
let matheNote = '';
|
||||
let noteDeutsch = '';
|
||||
let noteMathe = '';
|
||||
let sozialverhalten = '';
|
||||
let ablehnungHinweis = '';
|
||||
let showAblehnungModal = false;
|
||||
@@ -71,8 +71,8 @@
|
||||
wunsch2Id = '';
|
||||
wunsch3Id = '';
|
||||
motivation = '';
|
||||
deutschNote = '';
|
||||
matheNote = '';
|
||||
noteDeutsch = '';
|
||||
noteMathe = '';
|
||||
sozialverhalten = '';
|
||||
pdfDateien = [];
|
||||
fileInputKey += 1;
|
||||
@@ -98,16 +98,16 @@
|
||||
data.append('wunsch1Id', wunsch1Id);
|
||||
data.append('wunsch2Id', wunsch2Id);
|
||||
data.append('wunsch3Id', wunsch3Id);
|
||||
data.append('deutschNote', deutschNote);
|
||||
data.append('matheNote', matheNote);
|
||||
data.append('noteDeutsch', noteDeutsch);
|
||||
data.append('noteMathe', noteMathe);
|
||||
data.append('sozialverhalten', sozialverhalten);
|
||||
|
||||
for (const pdf of pdfDateien) {
|
||||
data.append('pdfs', pdf);
|
||||
}
|
||||
|
||||
const deutsch = parseInt(deutschNote);
|
||||
const mathe = parseInt(matheNote);
|
||||
const deutsch = parseInt(noteDeutsch);
|
||||
const mathe = parseInt(noteMathe);
|
||||
|
||||
if (['Gymnasium', 'Gymnasialzweig'].includes(schulart) ) {
|
||||
if (isNaN(deutsch) || isNaN(mathe) || deutsch > 4 && mathe > 4) {
|
||||
@@ -184,8 +184,8 @@
|
||||
</select>
|
||||
<!-- Noten -->
|
||||
<div class="grid grid-cols-2 gap-4">
|
||||
<input bind:value={deutschNote} type="number" min="1" max="6" placeholder="Note in Deutsch" required class="input" />
|
||||
<input bind:value={matheNote} type="number" min="1" max="6" placeholder="Note in Mathe" required class="input" />
|
||||
<input bind:value={noteDeutsch} type="number" min="1" max="6" placeholder="Note in Deutsch" required class="input" />
|
||||
<input bind:value={noteMathe} type="number" min="1" max="6" placeholder="Note in Mathe" required class="input" />
|
||||
</div>
|
||||
|
||||
<!-- Sozialverhalten -->
|
||||
|
||||
Reference in New Issue
Block a user