Отображение названия кредитной программы у сделок
This commit is contained in:
parent
34e30e9558
commit
7d664db8c3
@ -65,6 +65,7 @@ namespace BankDatabaseImplement.Models
|
|||||||
Id = Id,
|
Id = Id,
|
||||||
ClientId = ClientId,
|
ClientId = ClientId,
|
||||||
CreditProgramId = CreditProgramId,
|
CreditProgramId = CreditProgramId,
|
||||||
|
CreditProgramName = CreditProgram != null ? CreditProgram.Name : null,
|
||||||
DealDate = DealDate,
|
DealDate = DealDate,
|
||||||
OperatorId = OperatorId,
|
OperatorId = OperatorId,
|
||||||
OperatorName = Operator.LastName + " " + Operator.FirstName + " " + Operator.MiddleName,
|
OperatorName = Operator.LastName + " " + Operator.FirstName + " " + Operator.MiddleName,
|
||||||
|
@ -37,6 +37,9 @@
|
|||||||
<th>
|
<th>
|
||||||
Дата
|
Дата
|
||||||
</th>
|
</th>
|
||||||
|
<th>
|
||||||
|
Кредитная программа
|
||||||
|
</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
@ -55,6 +58,9 @@
|
|||||||
<td>
|
<td>
|
||||||
@Html.DisplayFor(modelItem => item.DealDate)
|
@Html.DisplayFor(modelItem => item.DealDate)
|
||||||
</td>
|
</td>
|
||||||
|
<td>
|
||||||
|
@Html.DisplayFor(modelItem => item.CreditProgramName)
|
||||||
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
}
|
}
|
||||||
</tbody>
|
</tbody>
|
||||||
|
Loading…
Reference in New Issue
Block a user