Vertragsereignisse: Speicher-Aufgaben mit gelesenen Details
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
e5cc57cefd
commit
05363d06ad
2 files changed
+29
-3
No files matched your search
@@ -105,14 +105,15 @@ export function openWithdrawals(events, now = new Date()) {
|
||||
.filter((entry) => now <= entry.until)
|
||||
}
|
||||
|
||||
/** Offene Zusatzspeicher-Aufgaben fuers Team, faelligste zuerst. */
|
||||
/** Offene Zusatzspeicher-Aufgaben fuers Team, faelligste zuerst, mit geparstem details. */
|
||||
export async function listOpenStorageTasks() {
|
||||
return listDocuments(COLLECTION(), [
|
||||
const docs = await listDocuments(COLLECTION(), [
|
||||
Query.equal('type', 'speicher'),
|
||||
Query.equal('status', 'offen'),
|
||||
Query.orderAsc('dueAt'),
|
||||
Query.limit(1000),
|
||||
])
|
||||
return docs.map((doc) => ({ ...doc, details: parseJson(doc.details, {}) }))
|
||||
}
|
||||
|
||||
/** Zusatzspeicher-Aufgabe erledigt (Team hat die Postfachgroesse angepasst). */
|
||||
|
||||
Reference in new issue
Block a user