customer report
This commit is contained in:
@@ -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()),
|
||||
|
||||
Reference in New Issue
Block a user