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