customer report

This commit is contained in:
2026-06-10 15:51:43 -05:00
parent e4ffe085ff
commit fb12d66759
4 changed files with 264 additions and 1 deletions

View File

@@ -156,6 +156,12 @@ const API = {
method: 'POST'
}).then(r => r.json()),
// Customer Revenue Report
getCustomerRevenue: (startDate, endDate) => {
const params = new URLSearchParams({ startDate, endDate });
return fetch('/api/accounting/reports/customer-revenue?' + params.toString()).then(r => r.json());
},
// Phase 2 Lieferung 1 — Sync + Cache-Reads
syncAccounts: () => fetch('/api/accounting/sync-accounts', { method: 'POST' }).then(r => r.json()),
syncVendors: () => fetch('/api/accounting/sync-vendors', { method: 'POST' }).then(r => r.json()),