diff --git a/src/views/orders/CancelledOrders.js b/src/views/orders/CancelledOrders.js
index 3f06d4c..fd9971d 100644
--- a/src/views/orders/CancelledOrders.js
+++ b/src/views/orders/CancelledOrders.js
@@ -444,7 +444,7 @@ const CancelledOrders = () => {
, {formatAMPM(order.createdAt)}
{order.orderItem.length}
- {order.grandTotal.toFixed(2)}
+ ₹ {order.grandTotal.toFixed(2)}
{order.status}
{invoice.items.length}
- {invoice.invoiceAmount}
+ ₹ {invoice.invoiceAmount.toFixed(2)}
{invoice.courierStatus}
{invoice.items.length}
- {invoice.invoiceAmount}
+ ₹ {invoice.invoiceAmount.toFixed(2)}
{invoice.courierStatus}
{order.orderItem.length}
- {order.grandTotal.toFixed(2)}
+ ₹ {order.grandTotal.toFixed(2)}
{order.status}
{invoice.items.length}
- {invoice.invoiceAmount}
+ ₹ {invoice.invoiceAmount.toFixed(2)}
{invoice.courierStatus}
- ₹{item.price}
+ ₹{item.price.toFixed(2)}
{item.quantity}
- ₹{subtotal}
+ ₹{subtotal.toFixed(2)}
{item.GST}%
- ₹{gstAmount}
- ₹{totalWithGST}
+ ₹{gstAmount.toFixed(2)}
+ ₹{totalWithGST.toFixed(2)}
);
})}
@@ -394,10 +394,10 @@ const ViewOrders = () => {
Total Items: {order?.orderItem.length}
- Total Subtotal: ₹{order?.subtotal}
- Total GST: ₹{order?.gstTotal}
+ Total Subtotal: ₹{order?.subtotal.toFixed(2)}
+ Total GST: ₹{order?.gstTotal.toFixed(2)}
- Grand Total: ₹{order?.grandTotal}
+ Grand Total: ₹{order?.grandTotal.toFixed(2)}
diff --git a/src/views/orders/invoiceTable.js b/src/views/orders/invoiceTable.js
index 1ef0942..d38c7bd 100644
--- a/src/views/orders/invoiceTable.js
+++ b/src/views/orders/invoiceTable.js
@@ -47,9 +47,9 @@ const InvoiceTable = ({ invoices }) => {
))}
- {invoice.subtotal}
- {invoice.gstTotal}
- {invoice.invoiceAmount}
+ ₹{invoice.subtotal.toFixed(2)}
+ ₹{invoice.gstTotal.toFixed(2)}
+ ₹{invoice.invoiceAmount.toFixed(2)}
{
{item?.name}
- ₹{item.price}
+ ₹{item.price.toFixed(2)}
{item.remainingQuantity}
- ₹{subtotal}
- {item.GST}%
- ₹{gstAmount}
- ₹{totalWithGST}
+ ₹{subtotal.toFixed(2)}
+ {item.GST.toFixed(2)}%
+ ₹{gstAmount.toFixed(2)}
+ ₹{totalWithGST.toFixed(2)}
);
}
diff --git a/src/views/orders/pendingOrders.js b/src/views/orders/pendingOrders.js
index fd73c96..7758826 100644
--- a/src/views/orders/pendingOrders.js
+++ b/src/views/orders/pendingOrders.js
@@ -146,7 +146,7 @@ const PendingOrders = () => {
, {formatAMPM(order.createdAt)}
{order.orderItem.length}
- {order.grandTotal.toFixed(2)}
+ ₹ {order.grandTotal.toFixed(2)}
{order.status}
- {invoice.subtotal}
- {invoice.gstTotal}
- {invoice.invoiceAmount}
+ ₹{invoice.subtotal.toFixed(2)}
+ ₹{invoice.gstTotal.toFixed(2)}
+ ₹{invoice.invoiceAmount.toFixed(2)}