added get api for purchases
This commit is contained in:
parent
80f5dbd639
commit
271787812b
13
src/components/purchase/PurchaseList.jsx
Normal file
13
src/components/purchase/PurchaseList.jsx
Normal file
@ -0,0 +1,13 @@
|
||||
import React from 'react'
|
||||
|
||||
const PurchaseList = ({purchaseId}) => {
|
||||
|
||||
return (
|
||||
<div className='row'>
|
||||
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
export default PurchaseList;
|
||||
``
|
||||
@ -2,4 +2,6 @@ import { api } from "../utils/axiosClient";
|
||||
|
||||
export const PurchaseRepository = {
|
||||
CreatePurchase: (data) => api.post("/api/PurchaseInvoice/create", data),
|
||||
GetPurchaseList: (pageSize, pageNumber, isActive, filter, searchString) =>
|
||||
api.get(`/api/PurchaseInvoice/list`),
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user