diff --git a/src/Components/OneOrder.jsx b/src/Components/OneOrder.jsx index 3a946ee..3f1a976 100644 --- a/src/Components/OneOrder.jsx +++ b/src/Components/OneOrder.jsx @@ -116,36 +116,36 @@ const OneOrder = () => {

User details

-
Name :      {currentOrder.data.data.name}
-
Email address :      {currentOrder.data.data.email}
-
Phone number :      {currentOrder.data.data.number1}
-
Alternative phone number :      {currentOrder.data.data.number2}
-
Location :      {currentOrder.data.data.location}
+
Name :      {currentOrder.data.name}
+
Email address :      {currentOrder.data.email}
+
Phone number :      {currentOrder.data.number1}
+
Alternative phone number :      {currentOrder.data.number2}
+
Location :      {currentOrder.data.location}

Products

{/* { currentOrder.data.products.map((el, i)=>( */}
- +
-
Name : {currentOrder.data.data.product.data.name || currentOrder.data.data.product.data.title}
- {currentOrder.data.data.product.data.author &&
Author : {currentOrder.data.data.product.data.author}
} -
Price per copy : ₦{currentOrder.data.data.product.data.price.toLocaleString()}
-
Copies : {currentOrder.data.data.product.copies}
-
Total price : ₦{currentOrder.data.data.price.toLocaleString()}
- {currentOrder.data.data.product.data.category &&
Category : {currentOrder.data.data.product.data.category}
} +
Name : {currentOrder.data.product.data.name || currentOrder.data.product.data.title}
+ {currentOrder.data.product.data.author &&
Author : {currentOrder.data.product.data.author}
} +
Price per copy : ₦{currentOrder.data.product.data.price.toLocaleString()}
+
Copies : {currentOrder.data.product.copies}
+
Total price : ₦{currentOrder.data.price.toLocaleString()}
+ {currentOrder.data.product.data.category &&
Category : {currentOrder.data.product.data.category}
}
- {/*
Location : {currentOrder.data.data.product.data.location}
*/} + {/*
Location : {currentOrder.data.product.data.location}
*/}
{/* )) } */} -
Total : ₦ {currentOrder.data.data.price.toLocaleString()}
+
Total : ₦ {currentOrder.data.price.toLocaleString()}

Status

{ - currentOrder.data.data.delivered ? + currentOrder.data.delivered ?
Delivered
: