u
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user