Wechsel Hosting → Wartung: neuer Abbuchungstag, Gutschrift, 12 neue Monate
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
379cc26dcd
commit
188db4b3c1
15 files changed
+2035
-12
No files matched your search
@@ -110,6 +110,12 @@ export async function recordContractEvent({
|
||||
}
|
||||
}
|
||||
|
||||
/** Ein Ereignis mit geparstem details; fehlt es, 404 wie bei Appwrite. */
|
||||
export async function getContractEvent(id) {
|
||||
const doc = await getDocument(COLLECTION(), id)
|
||||
return { ...doc, details: parseJson(doc.details, {}) }
|
||||
}
|
||||
|
||||
/** Ereignisse eines Kunden, neueste zuerst, mit geparstem details. */
|
||||
export async function listContractEvents(customerId) {
|
||||
const docs = await listDocuments(COLLECTION(), [
|
||||
|
||||
Reference in new issue
Block a user