feat(webapp): invoice tax rate

This commit is contained in:
Ahmed Bouhuolia
2023-09-11 23:17:27 +02:00
parent 6abae43c6f
commit b98b73ad98
21 changed files with 615 additions and 126 deletions

View File

@@ -0,0 +1,20 @@
// @ts-nocheck
import React, { createContext } from 'react';
const ItemEntriesTableContext = createContext();
function ItemEntriesTableProvider({ children, value }) {
const provider = {
...value,
};
return (
<ItemEntriesTableContext.Provider value={provider}>
{children}
</ItemEntriesTableContext.Provider>
);
}
const useItemEntriesTableContext = () =>
React.useContext(ItemEntriesTableContext);
export { ItemEntriesTableProvider, useItemEntriesTableContext };