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 | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/components/BillingPage.js b/src/components/BillingPage.js index a47616f..fbd9732 100644 --- a/src/components/BillingPage.js +++ b/src/components/BillingPage.js @@ -1,33 +1,39 @@ import React, { useState } from "react"; import AddNewItemForm from "./Form/AddNewItemForm"; import ItemsDisplay from "./Display/ItemsDisplay"; -// import SummaryDisplay from "./Display/SummaryDisplay"; +import SummaryDisplay from "./Display/SummaryDisplay"; const sampleData = [ { "Model": "Kisan Chair", "Description": "Very good chair", "Price": 10000, + "HSN": 9403 }, { "Model": "Supreme Chair", "Description": "Even better chair", "Price": "2134983", + "HSN": 9403 }, { "Model": "Action Houseware", "Description": "Not a chair", "Price": 69, + "HSN": 69 }, { "Model": "Coirfit Mattress", "Description": "Not a chair (neither houseware)", "Price": 19, + "HSN": 420 }, { "Model": "AVRO Chair", "Description": "Formerly AVON lol", "Price": 291, + "HSN": 9403 }, { "Model": "Mystery Item", "Description": "hehe heheheheheh", "Price": 1212312, + "HSN": 42069 } ]; @@ -46,6 +52,7 @@ const BillingPage = () => { <div> <AddNewItemForm savedItems={sampleData} addItem={getItems} defGSTValue={defGSTValue}/> <ItemsDisplay items={items} defGSTValue={defGSTValue}/> + <SummaryDisplay items={items}/> </div> ); } |