From c54f69bc5d3b1f013469f8840f1c4f22097a1535 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=C5=BBu=C5=82awski?= Date: Mon, 18 Oct 2021 15:40:40 +0200 Subject: [PATCH] customer - cards changed into table --- .../CustomerMerchandiseReturns.cshtml | 75 +++++++++++-------- .../Views/Order/CustomerOrders.cshtml | 53 ++++++++++++- 2 files changed, 96 insertions(+), 32 deletions(-) diff --git a/src/Web/Grand.Web/Views/MerchandiseReturn/CustomerMerchandiseReturns.cshtml b/src/Web/Grand.Web/Views/MerchandiseReturn/CustomerMerchandiseReturns.cshtml index 98e4003f8..83bb56f5f 100644 --- a/src/Web/Grand.Web/Views/MerchandiseReturn/CustomerMerchandiseReturns.cshtml +++ b/src/Web/Grand.Web/Views/MerchandiseReturn/CustomerMerchandiseReturns.cshtml @@ -16,36 +16,51 @@

@Loc["Account.CustomerMerchandiseReturns"]

@if (Model.Items.Any()) { -
- @foreach (var item in Model.Items) - { -
-
-
-
- @string.Format(Loc["Account.CustomerMerchandiseReturns.Title"], item.ReturnNumber, item.MerchandiseReturnStatus) -
-
-
-
- - - - @item.CreatedOn.ToString() - -
-
- @string.Format(Loc["Account.CustomerMerchandiseReturns.Totals"], item.ProductsCount, item.ReturnTotal) -
-
- -
-
- } +
+ + + + + + + + + + + + + @foreach (var item in Model.Items) + { + + + + + + + + + } + +
@Loc["Account.CustomerMerchandiseReturns.Number"]@Loc["Account.CustomerMerchandiseReturns.Status"]@Loc["Account.CustomerMerchandiseReturns.Date"]@Loc["Account.CustomerMerchandiseReturns.Count"]@Loc["Account.CustomerMerchandiseReturns.Totals"]
+ @item.ReturnNumber + + @item.MerchandiseReturnStatus + +
+ + + @item.CreatedOn.ToString() + +
+
+ @item.ProductsCount + + @item.ReturnTotal + + +
} else diff --git a/src/Web/Grand.Web/Views/Order/CustomerOrders.cshtml b/src/Web/Grand.Web/Views/Order/CustomerOrders.cshtml index 1618bebab..8014051e6 100644 --- a/src/Web/Grand.Web/Views/Order/CustomerOrders.cshtml +++ b/src/Web/Grand.Web/Views/Order/CustomerOrders.cshtml @@ -17,7 +17,56 @@

@Loc["Account.CustomerOrders"]

@if (Model.Orders.Any()) { - +
*@ } else