2023-05-19 17:52:18 +04:00

49 lines
3.2 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

@model List<HotelContracts.ViewModels.RoomViewModel>
@{
ViewData["Title"] = "Отчеты";
Layout = "_Layout";
}
<link rel="stylesheet" href="~/css/index.css">
<div class="">
<div class="demo-charts mdl-color--white mdl-shadow--2dp mdl-cell mdl-cell--12-col mdl-grid" style="padding: 1rem;
display: flex;
justify-content: space-between;
align-items: center;">
<h6>Создать отчет в формате (.docx) и отправить его на почту @ViewBag.Maitre.Login</h6>
<a asp-controller="Home"
asp-action="CreateWordReport"
class="mdl-button mdl-js-button mdl-button--raised mdl-button--colored">
Отправить
</a>
</div>
<div class="demo-charts mdl-color--white mdl-shadow--2dp mdl-cell mdl-cell--12-col mdl-grid" style="padding: 1rem;
display: flex;
justify-content: space-between;
align-items: center;">
<h6>Создать отчет в формате (.xlsx) и отправить его на почту @ViewBag.Maitre.Login</h6>
<a asp-controller="Home"
asp-action="CreateExcelReport"
class="mdl-button mdl-js-button mdl-button--raised mdl-button--colored">
Отправить
</a>
</div>
<div class="demo-charts mdl-color--white mdl-shadow--2dp mdl-cell mdl-cell--12-col mdl-grid" style="padding: 1rem;
display: flex;
justify-content: center;
align-items: center;">
<h6 class="line_label">Создать отчет в формате (.pdf) и отправить его на почту @ViewBag.Maitre.Login</h6>
<form asp-controller="Home" asp-action="CreatePdfReport" method="post">
<span>Начальная дата</span>
<div class="mdl-textfield mdl-js-textfield">
<input class="mdl-textfield__input" type="date" name="from">
</div>
<span>Конечная дата</span>
<div class="mdl-textfield mdl-js-textfield">
<input class="mdl-textfield__input" type="date" name="to">
</div>
<button type="submit" class="mdl-button mdl-js-button mdl-button--raised mdl-button--colored">
Отправить
</button>
</form>
</div>
</div>