aboutsummaryrefslogtreecommitdiff
path: root/src/components/BillingPage.js
diff options
context:
space:
mode:
authorMikunoNaka <bokuwakanojogahoshii@yahoo.com>2021-05-03 22:01:52 +0530
committerMikunoNaka <bokuwakanojogahoshii@yahoo.com>2021-05-03 22:01:52 +0530
commit13faea9acadc8d640bbe1e0d1ede4dbdcd69e7fa (patch)
treeb2beb2785d5b90b8ae64bdbe75ccaef86ad3b781 /src/components/BillingPage.js
parent6fb69cc9c26c70ce54a1bf8ccf8ce8a7d2b957b8 (diff)
added a form to manipulate some data about the document and the client info
Diffstat (limited to 'src/components/BillingPage.js')
-rw-r--r--src/components/BillingPage.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/components/BillingPage.js b/src/components/BillingPage.js
index 40917e5..73778a1 100644
--- a/src/components/BillingPage.js
+++ b/src/components/BillingPage.js
@@ -50,8 +50,11 @@ const BillingPage = () => {
// get data from server on startup
useEffect(() => {
+ async function fetchdata() {
getRegisteredItems();
getRegisteredPeople();
+ }
+ fetchdata()
}, []);
// TODO: to be handled by backend
const defGSTValue = 18;