feat: close status in receipt.

This commit is contained in:
elforjani3
2020-12-16 12:50:36 +02:00
parent 57d05102a9
commit 153b71184f
7 changed files with 122 additions and 31 deletions

View File

@@ -116,3 +116,7 @@ export const fetchReceiptsTable = ({ query = {} }) => {
});
});
};
export const closeReceipt = ({ id }) => {
return (dispatch) => ApiService.post(`sales/receipts/${id}/close`);
};