Отображение названия кредитной программы у сделок

This commit is contained in:
abazov73 2023-05-20 06:37:39 +04:00
parent 34e30e9558
commit 7d664db8c3
2 changed files with 7 additions and 0 deletions

View File

@ -65,6 +65,7 @@ namespace BankDatabaseImplement.Models
Id = Id,
ClientId = ClientId,
CreditProgramId = CreditProgramId,
CreditProgramName = CreditProgram != null ? CreditProgram.Name : null,
DealDate = DealDate,
OperatorId = OperatorId,
OperatorName = Operator.LastName + " " + Operator.FirstName + " " + Operator.MiddleName,

View File

@ -37,6 +37,9 @@
<th>
Дата
</th>
<th>
Кредитная программа
</th>
</tr>
</thead>
<tbody>
@ -55,6 +58,9 @@
<td>
@Html.DisplayFor(modelItem => item.DealDate)
</td>
<td>
@Html.DisplayFor(modelItem => item.CreditProgramName)
</td>
</tr>
}
</tbody>