НУЖНА ФОРМА ВСЕХ ПОКУПОК (ПРИВЕТ МАМЕ АНДРЕЯ МЕДВЕДКОВА) И КНОПКИ ДЛЯ СМЕНЫ СТАТУСА

This commit is contained in:
frog24 2024-04-30 15:50:42 +04:00
parent 3c71bfdc40
commit e0c05580ae
7 changed files with 40 additions and 16 deletions

View File

@ -53,18 +53,18 @@ namespace ClientApp.Controllers
services.Add(new ServiceViewModel
{
Id = 1,
ServiceName = "ukol",
ServiceName = "ServiceName example",
Price = 228,
DcotorFIO = "aboba",
DcotorFIO = "name example",
DoctorId = 1,
ServiceMedicines = new Dictionary<int, (IMedicineModel, int)>()
});
services.Add(new ServiceViewModel
{
Id = 2,
ServiceName = "ukol2",
ServiceName = "ServiceName example 2",
Price = 2282,
DcotorFIO = "aboba2",
DcotorFIO = "name example 2",
DoctorId = 2,
ServiceMedicines = new Dictionary<int, (IMedicineModel, int)>()
});
@ -80,9 +80,9 @@ namespace ClientApp.Controllers
drugs.Add(new DrugViewModel
{
Id = 1,
DrugName = "ukol",
DrugName = "DrugName example",
Price = 228,
DoctorFIO = "aboba",
DoctorFIO = "Name example",
DoctorId = 1,
DrugMedicines = new Dictionary<int, (IMedicineModel, int)>()
});
@ -98,5 +98,17 @@ namespace ClientApp.Controllers
{
return View(new ErrorViewModel { RequestId = Activity.Current?.Id ?? HttpContext.TraceIdentifier });
}
public IActionResult Reports()
{
return View();
}
public IActionResult AnimalServices()
{
return View();
}
public IActionResult AnimalVisitsAndDrugs()
{
return View();
}
}
}

View File

@ -0,0 +1,5 @@
@*
For more information on enabling MVC for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860
*@
@{
}

View File

@ -0,0 +1,5 @@
@*
For more information on enabling MVC for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860
*@
@{
}

View File

@ -9,6 +9,7 @@
<a class="nav-link text-dark" asp-area="" asp-controller="Home" asp-action="IndexDoctorVisit">Посещения врача</a>
<a class="nav-link text-dark" asp-area="" asp-controller="Home" asp-action="IndexDrugPurchase">Покупки лекарств</a>
<a class="nav-link text-dark" asp-area="" asp-controller="Home" asp-action="Privacy">Личные данные</a>
<a class="nav-link text-dark" asp-area="" asp-controller="Home" asp-action="Reports">Отчеты</a>
<a class="nav-link text-dark" asp-area="" asp-controller="Home" asp-action="Enter">Вход</a>
<a class="nav-link text-dark" asp-area="" asp-controller="Home" asp-action="Register">Регистрация</a>
</div>

View File

@ -33,11 +33,6 @@
<th>
Дата
</th>
<th>
Удалить деталь
</th>
</tr>
</thead>
<tbody>

View File

@ -42,11 +42,6 @@
<th>
Статус
</th>
<th>
Удалить деталь
</th>
</tr>
</thead>
<tbody>

View File

@ -0,0 +1,11 @@
@{
ViewData["Title"] = "";
}
<div class="text-center">
<h1 class="display-4">Отчеты</h1>
<div class="list-group">
<a class="nav-link text-dark" asp-area="" asp-controller="Home" asp-action="AnimalServices">Услуги по животным</a>
<a class="nav-link text-dark" asp-area="" asp-controller="Home" asp-action="AnimalVisitsAndDrugs">Посещения и лекарства животных</a>
</div>
</div>