Compare commits
2 Commits
49b9a58b2e
...
216356dd73
Author | SHA1 | Date | |
---|---|---|---|
216356dd73 | |||
72506589a9 |
@ -220,8 +220,12 @@ 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()
|
||||
|
@ -0,0 +1,28 @@
|
||||
@{
|
||||
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>
|
Loading…
Reference in New Issue
Block a user