Compare commits

..

No commits in common. "216356dd73b7e63073dcf93847e89b2c284f6ebe" and "49b9a58b2e17853c1adb861a0153bf4ed76b088b" have entirely different histories.

2 changed files with 1 additions and 33 deletions

View File

@ -220,12 +220,8 @@ namespace ElectronicsShopUserApp.Controllers {
[HttpGet]
public IActionResult Report()
{
//ViewBag.Reports = APIClient.GetRequset<List<ProductViewModel>>($"api/main/getproducts"); íàïèñàòü íîðìàëüíûå äàííûå îá îò÷¸òàõ
return View();
}
[HttpPost]
public void Report(int count)
{
}
[HttpGet]
public IActionResult Message()

View File

@ -1,28 +0,0 @@
@{
ViewData["Title"] = "Report";
}
<div class="text-center">
<h2 class="display-4">Отчёты</h2>
</div>
<form method="post">
<div class="align-content-center row mb-3">
<div class="col-sm-auto">
<label for="startDate">С:</label>
</div>
<div class="col-3">
<input name="startDate" id="startDate" class="form-control" type="date" />
</div>
<div class="col-sm-auto">
<label for="endDate">По:</label>
</div>
<div class="col-3">
<input name="endDate" id="endDate" class="form-control" type="date" />
</div>
<div class="col-2">
<input type="submit" name="getReport" class="btn btn-primary" value="Сформировать отчет" />
</div>
<div class="col-3">
<input type="submit" name="sendToMail" class="btn btn-primary" value="Отправить на почту" />
</div>
</div>
</form>