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:
2026-07-04 17:10:13 +02:00
co-authored by Claude Opus 4.8
parent 6a5bdfa6f8
commit 360e04d677
6 changed files with 65 additions and 7 deletions
+12
View File
@@ -64,6 +64,18 @@
<% if (j.gehalt) { %><%= j.gehalt %><% } %>
</p>
<% } %>
<% if (j.adresse) { %>
<p class="text-sm mt-1 flex items-start gap-1.5 min-w-0">
<span class="text-gray-500 dark:text-gray-400 shrink-0">Anschrift:</span>
<span class="text-gray-700 dark:text-gray-200 break-words whitespace-pre-line"><%= j.adresse %></span>
</p>
<% } %>
<% if (j.ansprechpartner) { %>
<p class="text-sm mt-1 flex items-start gap-1.5 min-w-0">
<span class="text-gray-500 dark:text-gray-400 shrink-0">Ansprechpartner:</span>
<span class="text-gray-700 dark:text-gray-200 break-words"><%= j.ansprechpartner %></span>
</p>
<% } %>
<% if (j.quelle_url) { %>
<a href="<%= j.quelle_url %>" target="_blank" rel="noopener noreferrer"
class="inline-flex items-center gap-1 text-xs text-blue-600 dark:text-blue-400 hover:underline mt-2 break-all">