feat(FE-208,212,213): enhance PurchaseOrderStaffApprovalForm with product and warehouse selection for new items

This commit is contained in:
rstubryan
2025-11-21 22:46:50 +07:00
parent ffea96edf9
commit 5b28067203
3 changed files with 593 additions and 78 deletions
+5 -3
View File
@@ -92,12 +92,14 @@ export type CreateStaffApprovalRequestPayload = {
export type UpdateStaffApprovalRequestPayload = {
action: 'APPROVED' | 'REJECTED';
notes?: string | null;
items: {
purchase_item_id: number;
items: Array<{
purchase_item_id?: number;
product_id?: number;
warehouse_id?: number;
qty: number;
price: number;
total_price: number;
}[];
}>;
};
export type CreateManagerApprovalRequestPayload = {