feat(POS-FIX-12): completed feature
This commit is contained in:
@@ -96,9 +96,6 @@ export const posApi = {
|
||||
/** Delete a pending parked sale and restore inventory. */
|
||||
deleteSale: <T>(orderId: string) =>
|
||||
apiFetch<T>(`/pos/sales/${encodeURIComponent(orderId)}`, { method: 'DELETE' }),
|
||||
/** List order items (used for recovering a parked sale). */
|
||||
listOrderItems: <T>(orderId: string) =>
|
||||
apiFetch<T>(`/pos/sales/${encodeURIComponent(orderId)}/items`),
|
||||
/** Email the immutable generated receipt. */
|
||||
emailReceipt: <T>(orderId: string, email: string) =>
|
||||
apiFetch<T>(`/pos/sales/${encodeURIComponent(orderId)}/receipt/email`, {
|
||||
|
||||
Reference in New Issue
Block a user