mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-21 22:05:45 +00:00
refactor(FE-208): rename PurchaseRequisitions to PurchaseRequest and update related API references
This commit is contained in:
Vendored
+5
-6
@@ -45,7 +45,7 @@ export type BasePurchase = {
|
||||
|
||||
export type Purchase = BaseMetadata & BasePurchase;
|
||||
|
||||
export type CreatePurchaseRequisitionsPayload = {
|
||||
export type CreatePurchaseRequestPayload = {
|
||||
supplier_id: number;
|
||||
area_id: number;
|
||||
location_id: number;
|
||||
@@ -58,7 +58,7 @@ export type CreatePurchaseRequisitionsPayload = {
|
||||
}[];
|
||||
};
|
||||
|
||||
export type CreateStaffApprovalRequisitionsPayload = {
|
||||
export type CreateStaffApprovalRequestPayload = {
|
||||
notes?: string | null;
|
||||
items: {
|
||||
purchase_item_id: number;
|
||||
@@ -67,11 +67,11 @@ export type CreateStaffApprovalRequisitionsPayload = {
|
||||
}[];
|
||||
};
|
||||
|
||||
export type CreateManagerApprovalRequisitionsPayload = {
|
||||
export type CreateManagerApprovalRequestPayload = {
|
||||
notes?: string | null;
|
||||
};
|
||||
|
||||
export type CreateAcceptApprovalRequisitionsPayload = {
|
||||
export type CreateAcceptApprovalRequestPayload = {
|
||||
notes?: string;
|
||||
items: {
|
||||
purchase_item_id: number;
|
||||
@@ -87,5 +87,4 @@ export type CreateAcceptApprovalRequisitionsPayload = {
|
||||
}[];
|
||||
};
|
||||
|
||||
export type UpdatePurchaseRequisitionsPayload =
|
||||
CreatePurchaseRequisitionsPayload;
|
||||
export type UpdatePurchaseRequestPayload = CreatePurchaseRequestPayload;
|
||||
|
||||
Reference in New Issue
Block a user