с богом 2

This commit is contained in:
Леонид Малафеев 2024-04-30 19:46:09 +04:00
parent 8ff08c2f7b
commit 035fccc42c
2 changed files with 6 additions and 6 deletions

View File

@ -13,7 +13,7 @@ namespace CarCenterContracts.ViewModels
public class StorekeeperReportViewModel
{
public int? Id;
public int? Summ; // сумма по всем предпродажным у авто
public Dictionary<int, IPresaleModel> PresaleCars; // список предпродажных у авто
}
public int? Count;
}
}

View File

@ -20,10 +20,10 @@
Машина
</th>
<th>
Сумма
Предпродажные работы
</th>
<th>
Предпродажные работы
Количество
</th>
</tr>
</thead>
@ -35,10 +35,10 @@
@Html.DisplayFor(modelItem => reportRow.Id)
</td>
<td>
@Html.DisplayFor(modelItem => reportRow.Summ)
@Html.DisplayFor(modelItem => reportRow.PresaleCars)
</td>
<td>
@Html.DisplayFor(modelItem => reportRow.Presales)
@Html.DisplayFor(modelItem => reportRow.Count)
</td>
</tr>