Merge branch 'development' into fix/project-flock-form

This commit is contained in:
ValdiANS
2026-04-27 10:58:44 +07:00
6 changed files with 272 additions and 21 deletions
+13
View File
@@ -115,6 +115,19 @@ export const PurchaseApi = {
},
},
updatePoDate: async (
purchaseRequestId: number,
payload: { po_date: string }
): Promise<BaseApiResponse<Purchase> | undefined> => {
return await basePurchaseApi.customRequest<BaseApiResponse<Purchase>>(
`${purchaseRequestId}/po-date`,
{
method: 'PATCH',
payload,
}
);
},
async exportToExcel(initialQueryString: string) {
const params = new URLSearchParams(initialQueryString);