fix the loading sheet view
This commit is contained in:
@@ -128,9 +128,9 @@ export const regions = {
|
||||
export interface RouteBody {
|
||||
regionId: string
|
||||
routeName: string
|
||||
startPoint: string
|
||||
endPoint: string
|
||||
length: number
|
||||
startPoint?: string | null
|
||||
endPoint?: string | null
|
||||
length?: number | null
|
||||
isActive?: boolean
|
||||
}
|
||||
|
||||
|
||||
@@ -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