aboutsummaryrefslogtreecommitdiff
path: root/src/components/Display/ItemsDisplay.js
diff options
context:
space:
mode:
authorMikunoNaka <bokuwakanojogahoshii@yahoo.com>2021-04-17 21:06:17 +0530
committerMikunoNaka <bokuwakanojogahoshii@yahoo.com>2021-04-17 21:06:17 +0530
commit4e880f6efe86c0b7e86e587e08eeee0f594417d5 (patch)
tree96eae2c903095550e3aa790dafd57117beb0d4cb /src/components/Display/ItemsDisplay.js
parentee77e57189a6b0375e840b386754973a376dc089 (diff)
color coded ItemsDisplay
Diffstat (limited to 'src/components/Display/ItemsDisplay.js')
-rw-r--r--src/components/Display/ItemsDisplay.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/components/Display/ItemsDisplay.js b/src/components/Display/ItemsDisplay.js
index 0545ef0..599dd8e 100644
--- a/src/components/Display/ItemsDisplay.js
+++ b/src/components/Display/ItemsDisplay.js
@@ -7,6 +7,7 @@ const ItemsDisplay = (props) => {
const items = props.items;
let itemNumber = 0;
+ // TODO: Add HSN Support
return (
<table className={"ItemsDisplay"}>
@@ -15,16 +16,16 @@ const ItemsDisplay = (props) => {
<th className={"leftAlign"}>Item</th>
<th className={"leftAlign"}>Description</th>
<th>Quantity(NOS)</th>
- <th>Price</th>
<th>Discount(%)</th>
<th>GST(%)</th>
+ <th>Price</th>
</tr>
{items.map(
(item) => {
itemNumber++
return (
- <DisplayItem itemNumber={itemNumber} item={item}/>
+ <DisplayItem itemNumber={itemNumber} item={item} defGSTValue={props.defGSTValue}/>
);
}
)}