diff --git a/MoneyMap/Pages/ViewReceipt.cshtml b/MoneyMap/Pages/ViewReceipt.cshtml index e5ef00b..b15ae3a 100644 --- a/MoneyMap/Pages/ViewReceipt.cshtml +++ b/MoneyMap/Pages/ViewReceipt.cshtml @@ -51,9 +51,52 @@ } + + + @if (Model.LineItems.Any()) + { +
+
+ Line Items (@Model.LineItems.Count) +
+
+
+ + + + + + + + + + + + @foreach (var item in Model.LineItems) + { + + + + + + + + } + +
#DescriptionQtyUnit PriceTotal
@item.LineNumber@item.Description + @(item.Quantity?.ToString("0.##") ?? "-") + + @(item.UnitPrice?.ToString("C") ?? "-") + + @(item.LineTotal?.ToString("C") ?? "-") +
+
+
+
+ } - +
@@ -131,53 +174,6 @@
- - @if (Model.LineItems.Any()) - { -
-
- Line Items (@Model.LineItems.Count) -
-
-
- - - - - - - - - - - - @foreach (var item in Model.LineItems) - { - - - - - - - - } - -
#DescriptionQtyPriceTotal
@item.LineNumber -
- @item.Description -
-
- @(item.Quantity?.ToString("0.##") ?? "-") - - @(item.UnitPrice?.ToString("C") ?? "-") - - @(item.LineTotal?.ToString("C") ?? "-") -
-
-
-
- } - @if (Model.ParseLogs.Any()) {