mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-21 22:05:45 +00:00
refactor(FE-208,212,213): add action field to staff approval request payloads and implement rejection handling in PurchaseOrderDetail
This commit is contained in:
Vendored
+2
@@ -79,6 +79,7 @@ export type CreatePurchaseRequestPayload = {
|
||||
};
|
||||
|
||||
export type CreateStaffApprovalRequestPayload = {
|
||||
action: 'APPROVED' | 'REJECTED';
|
||||
notes?: string | null;
|
||||
items: {
|
||||
product_id: number;
|
||||
@@ -90,6 +91,7 @@ export type CreateStaffApprovalRequestPayload = {
|
||||
};
|
||||
|
||||
export type UpdateStaffApprovalRequestPayload = {
|
||||
action: 'APPROVED' | 'REJECTED';
|
||||
notes?: string | null;
|
||||
items: {
|
||||
purchase_item_id: number;
|
||||
|
||||
Reference in New Issue
Block a user