Arbeitsnachweis: Abo-Stundenkonto nur bei Kunden mit Wartungs-Abo
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
b05f49621c
commit
3b6a821687
5 files changed
+89
-16
No files matched your search
@@ -34,3 +34,8 @@ export async function updateCustomerWithPortalAccess(customerId, payload) {
|
||||
export async function deleteCustomerWithPortalAccess(customerId) {
|
||||
return adminFetch(`/api/admin/customers/${customerId}`, { method: 'DELETE' })
|
||||
}
|
||||
|
||||
// Wartungs-/Hosting-Abo des Kunden: { productKey: 'wartung' | 'hosting' | null, active }
|
||||
export async function getCustomerAbo(customerId) {
|
||||
return adminFetch(`/api/admin/customers/${encodeURIComponent(customerId)}/abo`, { method: 'GET' })
|
||||
}
|
||||
Reference in new issue
Block a user