edit print form
This commit is contained in:
@@ -3,6 +3,7 @@ import type {
|
||||
AddTicketType,
|
||||
CreateFinalOrderType,
|
||||
OrderDetailResponseType,
|
||||
OrderItemResponseType,
|
||||
OrderResponseType,
|
||||
TicketsResponseType,
|
||||
} from "../types/Types";
|
||||
@@ -62,3 +63,10 @@ export const getAttributes = async (productId?: number) => {
|
||||
);
|
||||
return data;
|
||||
};
|
||||
|
||||
export const getOrderItem = async (itemId?: number) => {
|
||||
const { data } = await axios.get<OrderItemResponseType>(
|
||||
`/admin/orders/item/${itemId}`
|
||||
);
|
||||
return data;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user