diff --git a/bookstore-api/.idea/workspace.xml b/bookstore-api/.idea/workspace.xml index a005c12..0dee028 100644 --- a/bookstore-api/.idea/workspace.xml +++ b/bookstore-api/.idea/workspace.xml @@ -19,7 +19,7 @@ - + @@ -984,12 +984,12 @@ - + - @@ -1013,7 +1013,7 @@ - + @@ -1510,7 +1510,7 @@ - + diff --git a/store-front/src/app/components/my-profile/my-profile.component.html b/store-front/src/app/components/my-profile/my-profile.component.html index 753ec5c..050faaf 100644 --- a/store-front/src/app/components/my-profile/my-profile.component.html +++ b/store-front/src/app/components/my-profile/my-profile.component.html @@ -68,6 +68,156 @@ +
+
+ +
+ + + + + + + + + + + + + + + + + +
Order DateOrder NumberTotalStatus
+ + {{order.id}}{{order.orderTotal}}{{order.orderStatus}}
+ +
+
+
+
+

Order Detail for purchase #{{order.id}}

+
+
+
+
+
+
Billing Details +
+
+ {{order.billingAddress.billingAddressName}}
+ {{order.billingAddress.billingAddressStreet1}} {{order.billingAddress.billingAddressStreet2}}
+ {{order.billingAddress.billingAddressCity}}
+ {{order.billingAddress.billingAddressState}}
+ {{order.billingAddress.billingAddressZipcode}}
+
+
+
+
+
+
Payment Information +
+
+ {{order.payment.holderName}}
+ Visa
+ {{order.payment.cardNumber}}
+ Exp Date: {{order.payment.expiryMonth}}/{{order.payment.expiryYear}}
+
+
+
+ +
+
+
Shipping Address +
+
+ {{order.shippingAddress.shippingAddressName}}
+ {{order.shippingAddress.shippingAddressStreet1}}' '{{order.shippingAddress.shippingAddressStreet2}}
+ {{order.shippingAddress.shippingAddressCity}}
+ {{order.shippingAddress.shippingAddressState}}
+ {{order.shippingAddress.shippingAddressZipcode}}
+
+
+
+
+
+
+
+
+
+
+

Order summary

+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Item NameItem PriceItem Quantity + Total
{{cartItem.book.title}} + {{cartItem.book.ourPrice}} + + {{cartItem.qty}} + {{cartItem.subtotal}} +
+ Subtotal{{order.orderTotal}} +
Tax + {{order.orderTotal*0.06}} +
Total + {{order.orderTotal*1.06}} +
+
+
+
+
+
+
+
+
+ +