fix the loading sheet view
This commit is contained in:
@@ -58,8 +58,8 @@ export const shopPos = {
|
||||
confirmAndCreateInvoice: (id: string, confirmedByUserId?: string | null) =>
|
||||
api.post<ShopPOResponse>(`/shop-pos/${id}/confirm-and-create-invoice`, { confirmedByUserId }).then(r => r.data),
|
||||
|
||||
cancel: (id: string) =>
|
||||
api.post<ShopPOResponse>(`/shop-pos/${id}/cancel`).then(r => r.data),
|
||||
cancel: (id: string, reason: string, cancelledByUserId?: string | null) =>
|
||||
api.post<ShopPOResponse>(`/shop-pos/${id}/cancel`, { reason, cancelledByUserId }).then(r => r.data),
|
||||
}
|
||||
|
||||
// ─── Invoices ─────────────────────────────────────────────────────────────────
|
||||
|
||||
Reference in New Issue
Block a user