This commit is contained in:
seb
2026-10-16 02:25:27 +02:00
parent a52366c477
commit ff165799d4
6 changed files with 0 additions and 54 deletions

View File

@@ -29,17 +29,6 @@ export const ledger = {
},
// #endregion
/**
* GET /api/ledger/sku/:sku
* Query: ?transaction_type=...
* → 200 { ledger: LedgerEntry[] }
*/
// #region GET /api/ledger/sku/:sku — listBySku
listBySku(sku, transactionType) {
const query = transactionType ? `?transaction_type=${encodeURIComponent(transactionType)}` : '';
return http(`/api/ledger/sku/${encodeURIComponent(sku)}${query}`);
},
// #endregion
/**
* GET /api/ledger