mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-21 13:55:45 +00:00
refactor(FE-212): rename PurchaseApi to PurchaseRequisitionsApi and update related references in forms and tables
This commit is contained in:
@@ -5,8 +5,12 @@ import {
|
||||
} from '@/types/api/purchase/purchase';
|
||||
import { BaseApiService } from '@/services/api/base';
|
||||
|
||||
export const PurchaseApi = new BaseApiService<
|
||||
export const PurchaseRequisitionsApi = new BaseApiService<
|
||||
Purchase,
|
||||
CreatePurchaseRequisitionsPayload,
|
||||
UpdatePurchaseRequisitionsPayload
|
||||
>('/purchases/requisitions');
|
||||
|
||||
export const PurchaseOrderApi = new BaseApiService<Purchase, unknown, unknown>(
|
||||
'/purchases/orders'
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user