This commit is contained in:
salam committed 2026-05-14 12:01:20 +02:00
1 parent 48deb69379
commit e34fa82499
16 files changed
+235 -228

No files matched your search

@@ -38,24 +38,20 @@ class ImportAllgemeinDirect
}
}
$recipient = auth()->user();
if ($error) {
Notification::make()
->title('Fehlerbeim Import')
->body('Daten konnten nicht in vier Spalten aufgeteilt werden. Falscher Separator?')
->danger()
->send();
->send()
->sendToDatabase($recipient);
} else {
Notification::make()
->title('Allgemeinflächen wurden erfolgreich importiert')
->body($new.' wurden Flächen hinzugefügt')
->success()
->send();
$recipient = auth()->user();
Notification::make()
->title('Allgemeinflächen wurden erfolgreich importiert')
->body($new.' wurden Flächen hinzugefügt')
->body('Es wurden '.$new.' Flächen hinzugefügt')
->success()
->send()
->sendToDatabase($recipient);
}
}