diff options
author | MikunoNaka <bokuwakanojogahoshii@yahoo.com> | 2021-04-18 10:04:28 +0530 |
---|---|---|
committer | MikunoNaka <bokuwakanojogahoshii@yahoo.com> | 2021-04-18 10:04:28 +0530 |
commit | bb331d9c61a0e38cbbfc891204819557327e1ca0 (patch) | |
tree | c6c221d041f8ef1a8c878eb079e93bd60c1d656a /src/components/BillingPage.js~ | |
parent | 4e880f6efe86c0b7e86e587e08eeee0f594417d5 (diff) |
Added HSN support
Diffstat (limited to 'src/components/BillingPage.js~')
-rw-r--r-- | src/components/BillingPage.js~ | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/src/components/BillingPage.js~ b/src/components/BillingPage.js~ deleted file mode 100644 index 6f5b18b..0000000 --- a/src/components/BillingPage.js~ +++ /dev/null @@ -1,39 +0,0 @@ -import React from "react"; -import AddNewItemForm from "./Form/AddNewItemForm.js"; - - -const sampleData = [ - { - "Model": "Kisan Chair", - "Description": "Very good chair", - "Price": 10000, - "Discount": 0 - }, { - "Model": "Supreme Chair", - "Description": "Even better chair", - "Price": "2134983", - "Discount": 0 - }, { - "Model": "Action Houseware", - "Description": "Not a chair", - "Price": 69, - "Discount": 0 - } -]; - -let addedItems = []; -const getAddedItems = (item) => { - console.log(item); - addedItems.push(item); - console.log(addedItems); -} - -const BillingPage = () => { - return ( - <> - <AddNewItemForm savedItems={sampleData} addItem={getAddedItems} defGSTValue={18}/> - </> - ); -} - -export default BillingPage; |