Готовая лаб5

This commit is contained in:
DyCTaTOR 2024-04-21 13:02:39 +04:00
parent 529c82b892
commit 427350b7cf
4 changed files with 5 additions and 4 deletions

View File

@ -6,7 +6,7 @@
</div> </div>
<form method="post"> <form method="post">
<div class="row"> <div class="row">
<div class="col-4">Изделие:</div> <div class="col-4">Работа:</div>
<div class="col-8"> <div class="col-8">
<select id="work" name="work" class="form-control" asp-items="@(new SelectList(@ViewBag.Works,"Id", "WorkName"))"></select> <select id="work" name="work" class="form-control" asp-items="@(new SelectList(@ViewBag.Works,"Id", "WorkName"))"></select>
</div> </div>

View File

@ -73,8 +73,9 @@ namespace PlumbingRepairDataBaseImplement.Models
{ {
Id = Id, Id = Id,
WorkId = WorkId, WorkId = WorkId,
WorkName = WorkName, WorkName = Work.WorkName,
ClientId = ClientId, ClientId = ClientId,
ClientFIO = Client.ClientFIO,
Count = Count, Count = Count,
Sum = Sum, Sum = Sum,
Status = Status, Status = Status,