diff --git a/MidrandBookshop/Components/Layout/MainLayout.razor b/MidrandBookshop/Components/Layout/MainLayout.razor index 8eb7703..4b58446 100644 --- a/MidrandBookshop/Components/Layout/MainLayout.razor +++ b/MidrandBookshop/Components/Layout/MainLayout.razor @@ -165,12 +165,21 @@ } - + - Log In + LogIn + + + + diff --git a/MidrandBookshop/Components/Pages/Profile.razor b/MidrandBookshop/Components/Pages/Profile.razor index 0bf0e7a..62ca532 100644 --- a/MidrandBookshop/Components/Pages/Profile.razor +++ b/MidrandBookshop/Components/Pages/Profile.razor @@ -21,64 +21,66 @@
| Order ID | -Title | -Date | -Address | -Status | -Total | -Invoice | -
|---|---|---|---|---|---|---|
| @order.OrderId | -
-
- @order.DisplayTitle
+
+ @if (orderHistory != null)
+ {
+ @foreach (var order in orderHistory)
+ {
+
+
+
+
+
+
+ + + @order.ProductTitle - |
- @order.OrderDate.ToString("MMM dd, yyyy") | -- - - @order.ShippingAddressName - - | -- - @order.Status - - | -R @order.Total.ToString("N2") | -- - | -
| Loading order history... | -||||||