Lege Anlagen und Versandbelege direkt am Schriftstueck ab, damit die Zuordnung aus dem Vorgang gezogen werden kann und mehrere Belege an einem Versand bleiben.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
c138df5e68
commit
c774fb7206
9 files changed
+663
-200
No files matched your search
@@ -470,6 +470,17 @@ def test_dispatch_keeps_the_secured_stand_and_distinct_mail_parts(client, db, mo
|
||||
assert {item["channel"] for item in sends} == {"email", "post"}
|
||||
post_send = next(item for item in sends if item["sent_on"] == "2026-03-18")
|
||||
assert {item["role"] for item in post_send["evidence"]} == {"submission", "delivery"}
|
||||
ada.request(
|
||||
"POST",
|
||||
f"/api/v1/dispatches/{post_send['id']}/evidence/{delivery['id']}/detach",
|
||||
json={"expected_version": post_send["version"], "context": _ctx(matter["id"])},
|
||||
status=204,
|
||||
)
|
||||
final = _detail(ada, matter["id"])
|
||||
sends = _binding(final, "Anschreiben")["correspondence"]["dispatches"]
|
||||
post_send = next(item for item in sends if item["sent_on"] == "2026-03-18")
|
||||
assert {item["role"] for item in post_send["evidence"]} == {"submission"}
|
||||
assert _binding(final, "Zustellbestätigung")["correspondence"]["fold"] is None
|
||||
assert _binding(final, "Zustellbestätigung")["element"]["dates"]["document_on"] == "2026-03-28"
|
||||
ada.request(
|
||||
"PATCH",
|
||||
|
||||
Reference in new issue
Block a user