From 4df6eaa913737427ddec2561c0ee8c9235f0c95f Mon Sep 17 00:00:00 2001 From: MikunoNaka Date: Mon, 3 May 2021 22:08:22 +0530 Subject: fixed warnings occouring due to abscence of --- src/components/Display/SummaryDisplay.js | 48 +++++++++++++++++--------------- 1 file changed, 25 insertions(+), 23 deletions(-) (limited to 'src/components/Display/SummaryDisplay.js') diff --git a/src/components/Display/SummaryDisplay.js b/src/components/Display/SummaryDisplay.js index a44e036..2f65e79 100644 --- a/src/components/Display/SummaryDisplay.js +++ b/src/components/Display/SummaryDisplay.js @@ -79,36 +79,38 @@ const SummaryDisplay = (props) => {

Summary

- - - - - - {summary.TotalDiscountPrice !== 0.00 && + - - - + + - } - - - - - + {summary.TotalDiscountPrice !== 0.00 && + + + + + + } - {summary.RoundedOff !== 0.00 && - - + + + - } - - - - + {summary.RoundedOff !== 0.00 && + + + + + } + + + + + +
Base Total{summary.TotalRawPrice}
After Discount{summary.TotalPriceAfterDiscount}(-{summary.TotalDiscountPrice})Base Total{summary.TotalRawPrice}
After Tax{summary.TotalPriceAfterTax}(+{summary.TotalTaxAmount})
After Discount{summary.TotalPriceAfterDiscount}(-{summary.TotalDiscountPrice})
Rounded Off{summary.RoundedOff}After Tax{summary.TotalPriceAfterTax}(+{summary.TotalTaxAmount})
Grand Total{summary.TotalPrice}
Rounded Off{summary.RoundedOff}
Grand Total{summary.TotalPrice}
); -- cgit v1.2.3