Confirm before sending; add address + contact to job offers
"Bewerbung senden" now asks for an extra confirmation (with the recipient) before dispatching. Job offers gain adresse and ansprechpartner fields — shown, editable, and carried through the REST API upsert (Swagger updated). Taking an offer over now writes the employer address (street, number, city) and the contact person into the application's AI notes (llm_notizen), so the LLM can use them for the letter's Anschriftfeld and salutation. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
+2
-1
@@ -360,7 +360,8 @@
|
||||
Versand über <code><%= mailFrom %></code>. Empfängeradresse eingeben, Betreff und Text prüfen,
|
||||
Anhänge auswählen und senden.
|
||||
</p>
|
||||
<form action="/bewerbung/<%= application.id %>/email/send" method="POST">
|
||||
<form action="/bewerbung/<%= application.id %>/email/send" method="POST"
|
||||
onsubmit="return confirm('Bewerbung jetzt verbindlich an ' + (this.to.value.trim() || 'den Empfänger') + ' senden?');">
|
||||
<label class="block text-xs font-medium text-gray-500 dark:text-gray-400 mb-1">Empfänger (E-Mail)</label>
|
||||
<input type="email" name="to" required value="<%= application.email_empfaenger || '' %>"
|
||||
placeholder="personal@unternehmen.de"
|
||||
|
||||
Reference in New Issue
Block a user