fix for the issue implementet
This commit is contained in:
+1
-1
@@ -2301,7 +2301,7 @@ def _upload_student_cards_excel():
|
|||||||
row_errors.append('Vorname und Nachname fehlen')
|
row_errors.append('Vorname und Nachname fehlen')
|
||||||
|
|
||||||
if not ausweis_id and student_name:
|
if not ausweis_id and student_name:
|
||||||
ausweis_id = generate_ausweis_id(existing_ids)
|
ausweis_id = generate_ausweis_id()
|
||||||
validation_warnings.append((row_number, f'Ausweis-ID wurde automatisch erzeugt: {ausweis_id}'))
|
validation_warnings.append((row_number, f'Ausweis-ID wurde automatisch erzeugt: {ausweis_id}'))
|
||||||
existing_ids.add(ausweis_id.upper())
|
existing_ids.add(ausweis_id.upper())
|
||||||
elif ausweis_id and not rollover_mode:
|
elif ausweis_id and not rollover_mode:
|
||||||
|
|||||||
Reference in New Issue
Block a user