edit print form

This commit is contained in:
hamid zarghami
2026-02-02 16:11:02 +03:30
parent 48136a9f15
commit 199fbe4987
5 changed files with 46 additions and 8 deletions
+8
View File
@@ -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;
};