Kundenansicht P5: Einrichtungs-Ticket mit Abrechnung, unlockedBy für alle Funktionen

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
ClaudeandClaude Sonnet 5.5 committed 2026-10-16 16:00:00 +00:00
1 parent b000dba698
commit 1d149f50b1
4 files changed
+126 -12

No files matched your search

+3 -2
View File
@@ -613,9 +613,10 @@ test('Ansicht features.zeiten: unlockedBy, aboEndeAt, einbau; loeschungAm nur be
const team = await ansicht({ state: 'disabled', unlockedBy: 'team', disabledReason: 'team', disabledAt: '2026-10-04T23:30:00.000Z' })
assert.equal(team.loeschungAm, null)
// andere Funktionen behalten ihre Ansicht
// andere Funktionen behalten ihre Ansicht; einzige Erweiterung (V7, Kundenansicht neu): unlockedBy gilt fuer jede Funktion (null solange sie aus ist)
const news = (await liste()).body.projects[0].features.news
assert.equal('einbau' in news || 'unlockedBy' in news || 'aboEndeAt' in news, false)
assert.equal('einbau' in news || 'aboEndeAt' in news, false)
assert.equal(news.unlockedBy, null)
})
// ----------------------------------------------------------------------------------------------------- Projektliste