aboutsummaryrefslogtreecommitdiff
path: root/src/components/Display/DisplayItem.js
diff options
context:
space:
mode:
authorMikunoNaka <bokuwakanojogahoshii@yahoo.com>2021-04-17 19:04:55 +0530
committerMikunoNaka <bokuwakanojogahoshii@yahoo.com>2021-04-17 19:04:55 +0530
commitee77e57189a6b0375e840b386754973a376dc089 (patch)
treeeb5868219a01c68acb6ae996d99629020ef00e89 /src/components/Display/DisplayItem.js
parent444a8147f59df78ebf14222edcebf944226b533e (diff)
added a way to see the total cost and number of items in ItemsDisplay
Diffstat (limited to 'src/components/Display/DisplayItem.js')
-rw-r--r--src/components/Display/DisplayItem.js19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/components/Display/DisplayItem.js b/src/components/Display/DisplayItem.js
index dae87a3..768be2f 100644
--- a/src/components/Display/DisplayItem.js
+++ b/src/components/Display/DisplayItem.js
@@ -4,13 +4,6 @@ import "./Display.css";
const DisplayItem = (props) => {
const itemNumber = props.itemNumber;
const item = props.item;
- // const ID = props.ID;
- // const name = props.Model;
- // const desc = props.Description;
- // const QTY = props.Quantity;
- // const price = props.Price;
- // const discount = props.Discount;
- // const GST = props.GST;
return (
<tr>
@@ -23,18 +16,6 @@ const DisplayItem = (props) => {
<td>{item.GST}</td>
</tr>
);
- /*return (
- <ul className={"DisplayItem"}>
- <li className={"num"}>{itemNumber}</li>
-
- <li className={"text"}>{item.Model}</li>
- <li className={"text"}>{item.Description}</li>
- <li className={"num"}>{item.Quantity}</li>
- <li className={"num"}>{item.Price}</li>
- <li className={"num"}>{item.Discount}</li>
- <li className={"num"}>{item.GST}</li>
- </ul>
- );*/
}
export default DisplayItem;